Questions tagged [frontier]
Questions about the most popular Substrate EVM framework.
99 questions
0 votes
0 answers
45 views
Accessing pallet's runtime storage at genesis
I want to access one pallet's runtime storage from another pallet's Config at genesis. Is that possible to do? More context: I am using pallet_base_fee inside my runtime. It's configured like this: ...
2 votes
1 answer
43 views
How to implement custom fee distribution for EVM transactions in a Substrate-based chain with Frontier?
I'm developing a substrate chain using the frontier-node-template and trying to implement a custom fee distribution mechanism for transactions coming from MetaMask. I want to distribute the ...
1 vote
1 answer
43 views
Substrate EVM tranctions that include an ETH value fail with no reason
EVM transactions fail, only when there is a value! It doesn't even matter what is the contract code. We have launched a Substrate EVM chain using frontier. No special config. https://github.com/...
0 votes
1 answer
72 views
`Slot must increase` error when requesting EVM pending state
When requesting a state through the EVM using the "pending" parameter with the following command: curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":&...
1 vote
1 answer
75 views
error: System.ExtrinsicFailed: NoProvider when deploying smart contract
I just installed pallet-contracts on my Frontier node. From the Polkadot js app interface, I can send transactions with tokens without problems, but if I try to deploy a new smart contract (inside ...
2 votes
1 answer
52 views
how to decode extrinsic data inside a pallet | Frontier
i have a pallet that prints extrinsic data (bytes and hex) of every extrinsic inside every block, how can i print it like an human readable object ("from", "to" ecc..)? that's my ...
0 votes
1 answer
50 views
How to make POS consensus using Frontier?
I have used https://github.com/polkadot-evm/frontier, compiled and started a node. Everything is working fine like transaction etc. But I want a POS consensus where user can stake amount to become a ...
0 votes
0 answers
29 views
Frontier: Transaction would exhaust the block limits
I am testing a parachain with Frontier included: Frontier Parachain Template. But when I am trying to deploy a smart contract following the steps in the Substrate Documentation: Access EVM accounts, I ...
0 votes
1 answer
64 views
How to Synchronize EVM and Substrate Balances in a Substrate Frontier Blockchain?
I am working on a Substrate-based blockchain using the Frontier template to achieve Ethereum compatibility. I am looking to synchronize the balance states between the EVM pallet and Substrate's native ...
1 vote
0 answers
19 views
How can I manage the issue of excessive gas estimation in MetaMask when deploying a dapp contract on my WASM+EVM chain and calling its functions?
i am trying to deploy a dapp contract on my WASM + EVM based substrate chain but while calling the contract functions it gives me high gas estimation, how can i handle this issue?
1 vote
1 answer
43 views
How to integrate Subxt with frontier?
I want the transaction to be happen through subxt on frontier node template. I'm getting this error in this process: Metadata error: The generated code is not compatible with the node How to solve ...
1 vote
0 answers
45 views
How to replace substrate address(H256) to Ethereum Address(H160)
I need to replace the substrate address(H256) in fresh substrate-node-template to Ethereum Address(H160). Is it possible? If yes, Is it mandatory to integrate frontier in the node-template? Do we have ...
0 votes
2 answers
52 views
Is it it possible to change native token decimals of chain that is already running?
A blockchain I am working on enabled Frontier recently but since EVM chains' native tokens got 18 decimals by default and the chain's native token decimals are set to 12 we need to do decimals ...
2 votes
0 answers
95 views
How should I add offchain worker(OCW) in frontier when using AccountId20?
In order to add an offchain worker with using AccountId20 as the runtime account type I did following things. add associated type type AuthorityId: AppCrypto<Self::Public, Self::Signature>; in ...
1 vote
1 answer
50 views
How to query the number of EVM contracts in a chain
Is there an easy way to query how many EVM smart contracts has been deployed in a Substrate chain?