Skip to main content

Questions tagged [frontier]

Questions about the most popular Substrate EVM framework.

2 votes
2 answers
143 views

Ethereum chain as a Substrate chain

Is it technically possible to upgrade Ethereum to be Substrate compatible blockchain? I understand there is likely to be strong resistance toward such idea in ETH community but I am interested only ...
jangorecki's user avatar
1 vote
1 answer
350 views

Enabling the std feature on environmental crate

I'm trying to use the environmental crate (link: https://docs.rs/environmental/1.1.3/src/environmental/lib.rs.html#64) to work with EVM and ethereum transactions. But it seems like adding either ...
flipchan's user avatar
  • 369
1 vote
1 answer
393 views

no function or associated item named `set_block_number` found for struct `frame_system::Pallet` in the current scope

I have updated rust version. when i try to build the frontier template i am getting the below error: * error[E0599]: no function or associated item named `set_block_number` found for struct `...
Faraz Ahmad's user avatar
3 votes
2 answers
124 views

Implementing min gas fee for pallet_evm

I have my base currency as 18 decimals like 1_000_000_000_000_000_000. I want to set my base fee to charge using 1_000_000_000_000_000_000 for each evm transaction. How can i do? currently i have done ...
Faraz Ahmad's user avatar
1 vote
0 answers
45 views

Read Token Contract Information

I would like to read contract information(especially name, symbol, decimal, owner) from token contracts like shown here: https://moonbeam.moonscan.io/token/0x818ec0a7fe18ff94269904fced6ae3dae6d6dc0b#...
user2395's user avatar
1 vote
1 answer
349 views

trait bound `H256: TypeInfo` is not satisfied; `TypeInfo` is not implemented for `H256, H160, H64, ethereum_types::U256`

Frontier(pallet-ethereum) project failed to compile after updating from polkadot-v0.9.17 to v0.9.18 Compiling polkadot-runtime v0.9.18 (https://github.com/paritytech/polkadot?branch=release-v0.9....
Russo's user avatar
  • 1,193
2 votes
0 answers
49 views

frontier ethereum pallet integration, the trait `fc_rpc::format::Formatter` is not implemented for `Geth` [closed]

I'm trying to copy a function from the frontier pallet(fc_rpc::format::Formatter), I copied it to a file and imported that. frontier-752fb1c28a6c675a/ea37e8f/client/rpc/src/format.rs It's the same ...
flipchan's user avatar
  • 369
1 vote
2 answers
249 views

Where can I find frontier evm precompile documentation?

I'm trying to learn how to implement EVM pre-compiles in substrate (frontier), but I cannot find any documentation anywhere. If I try and reference something like moonbeam I fall into dependency hell. ...
jjreedv's user avatar
  • 35
4 votes
1 answer
171 views

Frontier-node-template compilation error on Windows

I am trying to run the frontier-node-template:https://github.com/substrate-developer-hub/frontier-node-template/ But it gives an error as shown below. I tried to change the rustup default nightly-...
Ajit's user avatar
  • 827
4 votes
1 answer
102 views

Existential deposit in EVM compatible address

I understand that there is an existential deposit for native token. But, there is any existential deposit for EVM compatible address H160?
Tomasz Waszczyk's user avatar
3 votes
1 answer
77 views

How does 'into_account_id' function of pallet_evm works?

I'm working with pallet_evm of Frontier to support EVM, I want to map the Substrate account with the EVM account #[pallet::storage] pub type Mapping<T: Config> = StorageMap<_, ...
Stefan Muto's user avatar
8 votes
3 answers
785 views

How to bind an Ethereum H160 address with a Substrate H256 address?

I'm trying to bind a H160 address with a H256 address, if we assume this function: fn bind(origin: OriginFor<T>, address: H160 , signature: [u8; 130]) -> Result<(), Error<T>>{ ...
Stefan Muto's user avatar
1 vote
1 answer
82 views

Can I make a frontier node only accept json-rpc read methods?

Is there a way to filter ethereum json-rpc methods to only allow read calls, not writing? ie, filter out sendTransaction, sendRawTransaction, create, etc
afm's user avatar
  • 355

15 30 50 per page
1
3 4 5 6
7