Skip to main content

Unanswered Questions

26 questions with no upvoted or accepted answers
3 votes
0 answers
133 views

Unable to fully utilize block capacity when performing load testing

I'm currently running load tests on my local parachain which includes Frontier integration for EVM compatibility. During these tests, I'm sending thousands of transactions via the RPC endpoint. ...
2 votes
0 answers
90 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 ...
2 votes
0 answers
61 views

Frontier: What is trait LinearCostPrecompile about?

So it's often seen in Precompile implementations as a trait bound : impl<T: LinearCostPrecompile> Precompile for T { and the trait itself : pub trait LinearCostPrecompile { const BASE: u64; ...
2 votes
0 answers
56 views

Failed to resolve dependencies with pallet-staking in frontier

i am trying to implement n-POS in my frontier and i had to use pallet-staking for that. but when i try to use this dependency in my cargo.TOML file it start giving me error related to frame-...
1 vote
0 answers
15 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
0 answers
39 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 ...
1 vote
0 answers
25 views

Setting Gas fees for substrate chain which has frontier integrated in it

I am deploying the default smart contract in remix ide to local substrate chain using Metamask to connect with the chain. The local chain uses frontier for EVM. But fees comes quite high. I want to ...
1 vote
0 answers
29 views

Run benchmark fail test in pallet-evm

test_benchmarks fail Repo: https://github.com/paritytech/frontier Command: cargo t -p pallet-evm --features runtime-benchmarks Issue: failures: ---- benchmarking::benchmark_tests::test_benchmarks ...
1 vote
0 answers
90 views

how withdraw astar frontier tip reward with alice in dev mode, i use evm.withdraw(0x15fdd31c61141abd04a99fd6822c8558854ccde3, 1) report "bad Origin"

[] https://github.com/AstarNetwork/Astar.git ./target/release/astar-collator --dev -d ./data -l info astar frontier evm use HashedAddressMapping in evm pallet alice public key is ...
1 vote
0 answers
22 views

subscan-essentials EVM plugin

I've tested subscan-essentials and love how nicely a substrate-based chain gets indexed in a database. But I see that it doesn't parse Frontier evm extrinsics. I couldn't find open-source plugins for ...
1 vote
0 answers
82 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 ...
1 vote
1 answer
81 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: ...
1 vote
0 answers
99 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 ...
1 vote
0 answers
344 views

Zombienet: wasm trap: wasm `unreachable` instruction executed

I was trying to deploy Ethereum smart contracts to my parachain as part of a Zombienet test... After deploying a bunch of contracts including demo, BoxU, ERC1820, ERC20, ERC721, ERC1155, ERC777, ...
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#...

15 30 50 per page