Skip to main content
3 votes
Accepted

Moonbeam #[precompile] procedural macro and Rust generics compilation error

This is the case described here in the docs: https://github.com/PureStake/moonbeam/blob/master/precompiles/utils/macro/docs/precompile_macro.md#solidity-signatures-test It is because the macro ...
nanocryk's user avatar
3 votes
Accepted

How to print color log in terminal with no_std requirement?

You could use the color code directly. Those crates just made a wrapper for the color code. Check: https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences https://chrisyeh96....
AurevoirXavier's user avatar
  • 10.8k
1 vote
Accepted

Frontier: How to change EVM gas fee charged in calling precompile functions

I got it to work using this pallet config: dynamicFee.targetMinGasPrice: Option<U256> <none> dynamicFee.minGasPrice: U256 1 baseFee.elasticity: Permill 0.00% baseFee.baseFeePerGas: U256 ...
lucgerrits's user avatar
1 vote

Frontier: How to change EVM gas fee charged in calling precompile functions

yes, you need to set Pays::No as return value for a feeless transaction. And for eip1559 at least base_fee is required for gas fee calculation. not sure fully understand what you mean and better add ...
Ron's user avatar
  • 608

Only top scored, non community-wiki answers of a minimum length are eligible