Code Monkey home page Code Monkey logo

Comments (4)

MSalopek avatar MSalopek commented on August 11, 2024

Thanks for opening the issue!

How are you bootstrapping your chain?

These config options are deprecated on v18.1.0:

minimum-gas-prices = "0.025uatom"

globalfee = "0.025uatom"

bypass-min-fee-msg-types = [
    "/ibc.core.channel.v1.MsgRecvPacket",
    "/ibc.core.channel.v1.MsgAcknowledgement",
    "/ibc.applications.transfer.v1.MsgTransfer",
    "/ibc.core.client.v1.MsgUpdateClient",
    "/ibc.core.channel.v1.MsgTimeout",
    "/ibc.core.channel.v1.MsgTimeoutOnClose"
]

max-total-bypass-min-fee-msg-gas-usage = 1000000

The feemarket module was added to gaia and made available in v18.1.0: https://github.com/skip-mev/feemarket/tree/main/x/feemarket

Depending on how you are bootstrapping your chain, you may need to adjust your genesis.json to initialize the feemarket params.

Try setting this in your genesis.json:

{
  "app_state": {
    ...
    "feemarket": {
    "params": {
      "alpha": "0.000000000000000000",
      "beta": "1.000000000000000000",
      "gamma": "0.000000000000000000",
      "delta": "0.000000000000000000",
      "min_base_gas_price": "0.005",  // can be 0
      "min_learning_rate": "0.125000000000000000",
      "max_learning_rate": "0.125000000000000000",
      "max_block_utilization": "30000000",
      "window": "1",
      "fee_denom": "uatom",   // set this to uatom
      "enabled": true,
      "distribute_fees": false
    },
    "state": {
      "base_gas_price": "0.005", // can be 0
      "learning_rate": "0.125000000000000000",
      "window": [
        "0"
      ],
      "index": "0"
    }
  },
  }
}

Please let us know if this resolves your issue and let us know if you think we should create specific docs for this issue.

Thank you!

from gaia.

Unded avatar Unded commented on August 11, 2024

Thank you for help!

I have updated the genesis.json and now everything works correctly.

How are you bootstrapping your chain?

I am using predefined app.toml and config.toml and then running the following commands:
1.

$ gaiad genesis collect-gentxs
$ gaiad start

Is it possible to prepare a configuration file for feemarket or add its configuration properties such as min_base_gas_price, fee_denom (and others) to the app.toml or config.toml file?

from gaia.

MSalopek avatar MSalopek commented on August 11, 2024

Unfortunately, It is not possible to add it to app.toml and config.toml because those are "on chain" parameters so they which cannot be configured through node specific configs.

I've checked the gaiad init command - it will create the feemarket section correctly. It might be enough to run gaiad init <moniker> and save the resulting genesis.json for future use.

You can also run gaiad init <moniker> and copy your custom app.toml and config.toml to the node config directory.

from gaia.

Unded avatar Unded commented on August 11, 2024

I see.
Thank you for the explanation!

from gaia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.