From 933786ca734e94c2a2fcce711e111748f1ae57ea Mon Sep 17 00:00:00 2001 From: HuangYi Date: Wed, 17 Nov 2021 14:42:56 +0800 Subject: [PATCH] Problem: gas is not refunded when transaction reverted Solution: - a temporary fix to limit gas at rpc level, the real fix is breaking one, will be released later. --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index ff512579bd..63a462ca82 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 747c3a2dfc..7991a43945 100644 --- a/go.sum +++ b/go.sum @@ -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=