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
Setup the Simple Auction Example, and maybe others, to use an anvil fork of arbitrum sepolia testnet so we can simulate multiple bidders and have the 'students' come in and clone the repo and use a brand new wallet with no sepolia eth. The key here is that they don't need to get a bunch of sepETH to be able to run the tutorials.
TODOs:
Below are rough implementation steps to take where edits could be made to the bash test file, and additions made to the appropriate README.
Forking Arbitrum Sepolia with Anvil (anvil --fork-url https://sepolia-rollup.arbitrum.io/rpc)
Testing with Forked State in a Bash Script: Update the bash test script file RPC_URL var
# Define the Anvil RPC URL pointing to the Arbitrum Sepolia fork
RPC_URL="http://127.0.0.1:8545"
Testing Account Balance Management with Forked Anvil - essentially manipulate test environment balances of wallets using cast
# Adjust account balances to match your testing needs
cast rpc anvil_setBalance <account_address> 0xDE0B6B3A7640000 --rpc-url $RPC_URL # Set to 1 ETH (in wei)
The text was updated successfully, but these errors were encountered:
Rough bash test file test.sh written, but is reverting with error as seen in screenshot below:
It has to do with the inputs to decrypter address on the network, so this brings up a good opportunity to outline the key details of interacting with this contract. After discussion with @SetarehGhorshi, we will bring this up with foundry team.
@SetarehGhorshi troubleshot it further, and found the error to be the anvil server returned an error response where it seems like that anvil does not support the code:
Scope
Setup the Simple Auction Example, and maybe others, to use an
anvil
fork ofarbitrum sepolia testnet
so we can simulate multiple bidders and have the 'students' come in and clone the repo and use a brand new wallet with no sepolia eth. The key here is that they don't need to get a bunch of sepETH to be able to run the tutorials.TODOs:
Below are rough implementation steps to take where edits could be made to the bash test file, and additions made to the appropriate README.
anvil --fork-url https://sepolia-rollup.arbitrum.io/rpc
)RPC_URL var
cast
The text was updated successfully, but these errors were encountered: