Skip to content

Commit

Permalink
Problem: gas is not refunded when transaction reverted
Browse files Browse the repository at this point in the history
Solution:
- a temporary fix to limit gas at rpc level, the real fix is breaking one, will be released later.
  • Loading branch information
yihuang committed Nov 17, 2021
1 parent 4725cf0 commit 933786c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ replace github.com/ethereum/go-ethereum => github.com/crypto-org-chain/go-ethere
// TODO: remove when ibc-go and ethermint upgrades cosmos-sdk
replace github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.44.2

replace github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.7.2-cronos
replace github.com/tharsis/ethermint => github.com/crypto-org-chain/ethermint v0.7.2-cronos2
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:ma
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/crypto-org-chain/ethermint v0.7.2-cronos h1:MPlXggDtDI6m5HA2h7EdUl0sOYGjyzpsZM212mffZuE=
github.com/crypto-org-chain/ethermint v0.7.2-cronos/go.mod h1:Dwqhtm/ktN/t/hfqVOtz7EWkLGelR1F0OxDs8cGmibY=
github.com/crypto-org-chain/ethermint v0.7.2-cronos2 h1:RMwv1M6bHfhiUiqCJqYwOjDUS4cJaTqwBGUxQaM3/qk=
github.com/crypto-org-chain/ethermint v0.7.2-cronos2/go.mod h1:Dwqhtm/ktN/t/hfqVOtz7EWkLGelR1F0OxDs8cGmibY=
github.com/crypto-org-chain/go-ethereum v1.10.3-patched h1:kr6oQIYOi2VC8SZwkhlUDZE1Omit/YHVysKMgCB2nes=
github.com/crypto-org-chain/go-ethereum v1.10.3-patched/go.mod h1:99onQmSd1GRGOziyGldI41YQb7EESX3Q4H41IfJgIQQ=
github.com/crypto-org-chain/ibc-go v1.2.1-hooks h1:wuWaQqm/TFKJQwuFgjCPiPumQio+Yik5Z1DObDExrrU=
Expand Down

0 comments on commit 933786c

Please sign in to comment.