Questions tagged [frontier]
Questions about the most popular Substrate EVM framework.
103
questions
0
votes
0
answers
9
views
Runtime Upgrade from standard Node Template to Frontier Template Node
I’m curious, is it possible to do a runtime upgrade that also adds EVM functionality?
Currently my project has a solochain that is already public and we’d like to integrate EVM functionality/...
0
votes
0
answers
33
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 create a new smart contract (developer/...
0
votes
0
answers
58
views
Clarifications on Gas and Weight Measurement in Frontier Precompiles
I have included frontier in my runtime and I am trying to correctly measure the gas and weights of my precompiles. I have some questions about using the functions that frontier provides.
What is the ...
2
votes
1
answer
40
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
27
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
21
views
What is a minimal requirements for a Frontier Template based blockchain's network?
I'm trying to figure out what a minimal blockchain would look like using substrate's frontier node.
What I'm trying to build:
A public minimal blockchain network
Aura consensus model
EVM and Ethereum ...
0
votes
0
answers
17
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
44
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 ...
0
votes
0
answers
20
views
Gas Limit is over estimated for dex contract
i've been working with the dex smart contracts. Whenever i try to use the add liquidity function of the contract ,it has been calculating the gas limit of 1.3 billion in frontier1.1.0. In frontier v1....
1
vote
0
answers
13
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
25
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
34
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
39
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
84
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
40
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?