Commit 6a5158f
committed
fix: tx context gas meter is shared at the beginning
ref: #19613
Before the ante handler set the gas meter using tx gas-wanted, the gas meter in
ctx remains a globally shared one, although it don't have bad effect right now,
but it's a race condition when executing in parallel.1 parent 3d59013 commit 6a5158f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
| 672 | + | |
672 | 673 | | |
673 | 674 | | |
674 | 675 | | |
| |||
0 commit comments