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

Gas Pricing Strategy #473

Open
AdityaSripal opened this issue Aug 22, 2018 · 5 comments
Open

Gas Pricing Strategy #473

AdityaSripal opened this issue Aug 22, 2018 · 5 comments

Comments

@AdityaSripal
Copy link
Member

AdityaSripal commented Aug 22, 2018

Decide on a gas pricing strategy for Ethermint (i.e. how much gas does each operation cost). There are two obvious choices:

  1. Use SDK's pricing strategy
  2. Use Ethereum's pricing strategy

I think it makes sense to use Ethereum's pricing. We will probably use that anyway for the gas cost of each opcode during a smart contract call, so it makes sense to use it everywhere else as well.

@AdityaSripal
Copy link
Member Author

cc @alexanderbez

@mslipper
Copy link
Contributor

Mind looping me in on the discussion as well? I'd like whatever we implement to be exposed via the usual Web3 RPC methods.

@alexanderbez
Copy link
Contributor

For sure @mslipper

@ValarDragon
Copy link

ValarDragon commented Aug 30, 2018

This is our chance to fix Etheruem's gas pricing! This is a known problem with ethereum. I think we should look at all the problems with Ethereum's existing gas pricing and incorporate fixes for them.

Upon further thought, I think we should use Ethereums existing gas pricing, so all existing tooling and contracts "just work", and its not an annoying edge case thats a barrier to adoption. We can make a better pricing scheme after adoption (or make an easy way to alter the pricings)

@alexanderbez
Copy link
Contributor

@ValarDragon yes, would love as much as your input as possible. But you hit the nail on the head:

Upon further thought, I think we should use Ethereums existing gas pricing, so all existing tooling and contracts "just work".

This is our ultimate aim at release.

i-norden pushed a commit to vulcanize/old_ethermint that referenced this issue Aug 31, 2020
…20 (cosmos#473)

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.9.19 to 1.9.20.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.9.19...v1.9.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants