Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Document where the gas goes #323

Open
mikesmo opened this issue Oct 18, 2017 · 1 comment
Open

Document where the gas goes #323

mikesmo opened this issue Oct 18, 2017 · 1 comment
Labels

Comments

@mikesmo
Copy link

mikesmo commented Oct 18, 2017

We are using Ethermint 0.4.0.

Where does the gas that is spent on a transaction go? After doing some simple tests of transferring ether from on account to another, the gas is correctly deducted from the sending account, but I can't figure out which account that goes to.

I would have thought that it would be a validator?

So, I created a miner reward strategy, specifying an account to receive the reward, but that only seems to reward the specified account with 5 ETH for every new block created.

Is this something that still needs to be developed or is there something I need to configure?

@zramsay zramsay changed the title Where does the gas go? document where the gas goes Feb 8, 2018
@zramsay zramsay added the docs label Feb 8, 2018
@zramsay zramsay added this to the 0.6.0 milestone Feb 8, 2018
@zramsay zramsay changed the title document where the gas goes Document where the gas goes Feb 8, 2018
@alexanderbez
Copy link
Contributor

@zramsay let's keep this one around for the next release.

@zramsay zramsay removed this from the 0.6.0 milestone Jul 11, 2018
faddat pushed a commit to faddat/ethermint that referenced this issue Aug 24, 2022
* add some unit tests for estimateGas

Also add some test environment setup, Closes cosmos#323

test estimateGas of erc20 token transfer

fix failed test case

the trick is to keep a clean transient store, by doing a commit

put artifacts to external file

* fix test failure

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants