Skip to main content

Questions tagged [frontier]

Questions about the most popular Substrate EVM framework.

1 vote
0 answers
76 views

Change chainID in frontier after chain is live

We have tested in local chain with a runtime upgrade to change the chainID of the EVM (with frontier). All seems ok, chain continue to run correctly with the new chainID. Except the fact that we will ...
Dubs's user avatar
  • 294
1 vote
1 answer
92 views

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

I'm trying to write something similar to Moonbeam's assets-erc20 precompile. I'm using Moonbeam's #[precompile] procedural macros. pub type AssetIdOf<R> = <<R as pallet_evm::Config&...
Bernardo Rodrigues's user avatar
0 votes
0 answers
28 views

What is the account code in genesis account?

What does account code use for? No idea why are 0xff (INVALID) and 0x00 (STOP)... https://github.com/paritytech/frontier/blob/08dfe8986e3f92ce213244c438eb9178653fce59/primitives/evm/src/lib.rs#L87 ...
wcl's user avatar
  • 41
4 votes
1 answer
157 views

Is there any way to access the accountid inside the offchain worker?

I am coding a pallet in which I need to know who I am inside a offchain worker to check if I should send a transaction or not. Right now I have access to the account in the send_signed_transaction ...
Gabriel Martinez's user avatar
1 vote
1 answer
77 views

Update ERC-20 Storage slot from Substrate

I'm trying to make a PoC (using frontier template) where I should update the balance of an EVM ERC-20. I guess that the steps should be as follows: Calculate the storage slot like this tool does: ...
dbp's user avatar
  • 11
1 vote
0 answers
94 views

EVM precompile actions always returns error code -32603 when called

We have started implementing a precompile for our NFT pallet but when I try testing it locally using Remix IDE when calling all of its actions I always get the following message: Internal JSON-RPC ...
chexware's user avatar
  • 325
0 votes
2 answers
176 views

How to change evm token decimals?

native token of my chain has 12 decimals,now i have integrated EVM functionality into my chain, is there any way by which i can change evm decimals from 18 to 12 as i don't want to change my native ...
Amit Kumar Yadav's user avatar
3 votes
4 answers
699 views

Private key for EVM Frontier

I am running the Frontier-Node-Template and using the library Web3JS to generate EVM transactions following the Moonbeam guide. const Web3 = require('web3'); const web3 = new Web3('ws://127.0.0.1:9944'...
Alex Bean's user avatar
  • 5,757
0 votes
1 answer
61 views

Error building frontier-node-template

I am trying to build the Frontier Node Template from this code or from the Frontier repository. But when running the cargo build --release I am getting the following error: error: non-defining opaque ...
Alex Bean's user avatar
  • 5,757
3 votes
1 answer
324 views

Getting `insufficient funds for gas * price + value` error when performing transaction with another account than Alice

I'd like to use Substrate Frontier as a private blockchain for my current project. I have set up a project using a frontier-template-node build and I am now trying to adjust its settings. I am ...
Olivier Hory's user avatar
3 votes
1 answer
107 views

Frontier EVM integration: UnknownTransaction::NoUnsignedValidator error occurs while transferring funds via Metamask

I'm integrating Frontier EVM into my Substrate chain and facing the following issue while trying to send some funds between accounts via metamask: [ethjs-query] while formatting outputs from RPC '{&...
Oleg Kalenik's user avatar
2 votes
1 answer
208 views

Explorer for Substrate-based EVM chains

I've built an EVM-compatible blockchain using Substrate and connected it with Metamask and PolkadotJs explorer. But I want a more user-friendly explorer that users with a non-technical background can ...
Discardo's user avatar
  • 436
0 votes
0 answers
83 views

build NPOS EVM commpatible chain

What's the best project setup to build an NPoS and EVM Compatible chain at this moment? Which version/branch of polkadot release to use? such as polkadot-v0.9.22 or polkadot-v0.9.18? Use ORML or ...
Muhammad Talha Dar's user avatar
0 votes
1 answer
77 views

What is the maximum contract size limit for frontier EVM smart contract?

Does the contract limit size information shown in the link below holds true for Frontier EVM also? https://ethereum.org/en/developers/docs/smart-contracts/#limitations
Henry Newling's user avatar
2 votes
1 answer
98 views

Can an off-chain worker read/write the state of an EVM contract?

Let's assume we have a frontier-based node with smart contract X. From an off-chain worker, we want to call X.some_method() which will return data, and then the worker would use this data to make some ...
Adam Wierzbicki's user avatar

15 30 50 per page
1 2 3
4
5
7