package
3.0.3
Repository: https://github.com/coreumfoundation/coreum.git
Documentation: pkg.go.dev

# README

Gas estimation procedure

After every upgrade of Cosmos SDK (or whenever we decide) we should verify that our deterministic gas estimations for messages are correct.

To do it:

  1. Modify crust to deploy explorer and monitoring profiles when integration tests are started
  2. Run integration tests
  3. Go to our Grafana dashboard in znet
  4. Take values for deterministic gas factors reported there
  5. Recalculate the deterministic gas by multiplying it by the minimum value taken from the metric.

If there is huge divergence between min and max values reported, reason should be identified.

For Bank Send message we have integration test TestBankSendEstimation used to estimate the gas required by each additional coin present in the message.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DefaultConfig returns default config for deterministic gas.
MsgToMsgURL returns TypeURL of a msg in cosmos SDK style.

# Constants

These constants define gas for messages which have custom calculation logic.
These constants define gas for messages which have custom calculation logic.
These constants define gas for messages which have custom calculation logic.
These constants define gas for messages which have custom calculation logic.
These constants define gas for messages which have custom calculation logic.

# Structs

Config specifies gas required by all transaction types Crisis module is intentionally skipped here because it is already deterministic by design and fee is specified using `consume_fee` param in genesis.

# Type aliases

No description provided by the author