You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to setup the native to EVM bridge and keep getting the this response:
Error: RPC response error -32002: Transaction simulation failed: Blockhash not found
When running this command: ./velas evm transfer-to-evm --url http://127.0.0.1:8899 --keypair ../../config/bootstrap-validator/identity.json ETHEREUM_WALLET_ADDRESS AMOUNT_TO_SEND
Below I listed out all of our steps, operating system, and commands utilized as well as the flags utilized. If anyone can help us figure this out that would be great we have been having issues with it for about a week now.
Computer specifications
Operating System = Mac OS Monterey 12.6.5
Rust Version = rust: stable 1.68.2 (bottled)
Steps we run
1. Clone to your computer git clone https://github.com/velas/velas-chain
Error 1 in output [2023-04-24T00:43:22.124909000Z ERROR velas_genesis] EVM root was not found but genesis was compiled with with_evmfeature error: The argument 'evm-root' wasn't found
[2023-04-21T23:50:11Z WARN evm_bridge] Value of "--min-gas-price" is not set or unable to parse. Default value is: 2100000000
[2023-04-21T23:50:11Z INFO evm_bridge] EVM chain id 1234
[2023-04-21T23:50:11Z INFO evm_bridge] Trying to create rpc client with addr: http://127.0.0.1:8899
[2023-04-21T23:50:11Z INFO evm_bridge] Loading keypair from: ../../config/bootstrap-validator/identity.json
[2023-04-21T23:50:11Z INFO evm_bridge] Creating mempool...
[2023-04-21T23:50:11Z INFO evm_bridge] Creating server with: 127.0.0.1:8545
[2023-04-21T23:50:11Z INFO evm_bridge] Creating websocket server: 127.0.0.1:8546
[2023-04-21T23:50:11Z INFO parity_ws] Listening for new connections on 127.0.0.1:8546.
[2023-04-21T23:50:11Z INFO evm_bridge::pool] Running cleaner task...
[2023-04-21T23:50:11Z INFO evm_bridge::pool] Running signature checker task...
[2023-04-21T23:50:11Z INFO evm_bridge::pool] Worker checks signatures
[2023-04-21T23:50:11Z INFO evm_bridge::pool] Running deploy worker task...
[2023-04-21T23:51:11Z INFO evm_bridge::pool] Worker checks signatures
[2023-04-21T23:52:11Z INFO evm_bridge::pool] Worker checks signatures
The command to bridge from native to EVM: ./velas evm transfer-to-evm --url http://127.0.0.1:8899 --keypair ../../config/bootstrap-validator/identity.json ETHEREUM_WALLET_ADDRESS AMOUNT_TO_SEND
Note: we replace the Ethereum address with one created on MetaMask and the amount to send is typically set to 5.
Error message when trying to send tokens from native to the EVM Error: RPC response error -32002: Transaction simulation failed: Blockhash not found
Configurations
EVM side of the chain configuration:
[2023-04-21T23:50:11Z INFO evm_bridge] EVM chain id 1234
[2023-04-21T23:50:11Z INFO evm_bridge] Trying to create rpc client with addr: http://127.0.0.1:8899
[2023-04-21T23:50:11Z INFO evm_bridge] Loading keypair from: ../../config/bootstrap-validator/identity.json
[2023-04-21T23:50:11Z INFO evm_bridge] Creating mempool...
[2023-04-21T23:50:11Z INFO evm_bridge] Creating server with: 127.0.0.1:8545
[2023-04-21T23:50:11Z INFO evm_bridge] Creating websocket server: 127.0.0.1:8546
[2023-04-21T23:50:11Z INFO parity_ws] Listening for new connections on 127.0.0.1:8546.
The text was updated successfully, but these errors were encountered:
0xSiXx
changed the title
EVM-ROOT not found when building the genesis
EVM Bridge Issue for private chain - Error: RPC response error -32002: Transaction simulation failed: Blockhash not found
Apr 24, 2023
Problem
We are trying to setup the native to EVM bridge and keep getting the this response:
Error: RPC response error -32002: Transaction simulation failed: Blockhash not found
When running this command:
./velas evm transfer-to-evm --url http://127.0.0.1:8899 --keypair ../../config/bootstrap-validator/identity.json ETHEREUM_WALLET_ADDRESS AMOUNT_TO_SEND
Below I listed out all of our steps, operating system, and commands utilized as well as the flags utilized. If anyone can help us figure this out that would be great we have been having issues with it for about a week now.
Computer specifications
Steps we run
1. Clone to your computer
git clone https://github.com/velas/velas-chain
2. Install dependencies
3. Enter directory and build:
cd velas-chain && cargo build --release
4. Build genesis:
NDEBUG=1 ./multinode-demo/setup.sh
Output:
Error 1 in output
[2023-04-24T00:43:22.124909000Z ERROR velas_genesis] EVM root was not found but genesis was compiled with
with_evmfeature error: The argument 'evm-root' wasn't found
Warning in output
5. Start bootnode:
NDEBUG=1 ./multinode-demo/bootstrap-validator.sh
6. Start bridge in new terminal window
Output
The command to bridge from native to EVM:
./velas evm transfer-to-evm --url http://127.0.0.1:8899 --keypair ../../config/bootstrap-validator/identity.json ETHEREUM_WALLET_ADDRESS AMOUNT_TO_SEND
Note: we replace the Ethereum address with one created on MetaMask and the amount to send is typically set to 5.
Error message when trying to send tokens from native to the EVM
Error: RPC response error -32002: Transaction simulation failed: Blockhash not found
Configurations
EVM side of the chain configuration:
Node Configuration
Command
Output
The text was updated successfully, but these errors were encountered: