Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fix: fix env
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikix committed Dec 19, 2023
1 parent dd85c37 commit 9533358
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ KATANA_PRIVATE_KEY=0x1800000000300000180000000000030000000000003006001800006600
MADARA_ACCOUNT_ADDRESS=0x3
MADARA_PRIVATE_KEY=0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7bcd1d

# configuration for the eoa deployer account
# configuration for the eoa deployer account
DEPLOYER_ACCOUNT_ADDRESS=
DEPLOYER_ACCOUNT_PRIVATE_KEY=0x0288a51c164874bb6a1ca7bd1cb71823c234a86d0f7b150d70fa8f06de645396

# Kakarot Environment
KAKAROT_HTTP_RPC_ADDRESS=0.0.0.0:3030
## check `./deployments/katana/deployments.json` after running `make devnet`
KAKAROT_ADDRESS=
PROXY_ACCOUNT_CLASS_HASH=0xba8f3f34eb92f56498fdf14ecac1f19d507dcc6859fa6d85eb8545370654bd
EXTERNALLY_OWNED_ACCOUNT_CLASS_HASH=0x4730612e9d26ebca8dd27be1af79cea613f7dee43f5b1584a172040e39f4063
CONTRACT_ACCOUNT_CLASS_HASH=0x5599cc38b46f92273f8c3566810c292352beb857816d0d90b05afa967995b21
PROXY_ACCOUNT_CLASS_HASH=0x105356ebf9c56df723dc6952dae0cffd8f6e0c22281cf0ee7df8ddde60281c0
EXTERNALLY_OWNED_ACCOUNT_CLASS_HASH=0x3059af87477d2462529c32d9b5f3ece4bf5fe36567f5b4cd4e330a437c1006
CONTRACT_ACCOUNT_CLASS_HASH=0x38acb6f0e2af46af6a2017e52c01e223749a3ed9a255ad486880ef8f768543e

## configurations for testing
COMPILED_KAKAROT_PATH=lib/kakarot/build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
profile: minimal
components: llvm-tools-preview, rustfmt, clippy
override: true
toolchain: 1.73.0
toolchain: 1.74.0
- name: Retrieve cached dependencies
uses: Swatinem/rust-cache@v2
- name: Setup coverage env
Expand Down
2 changes: 2 additions & 0 deletions tests/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ async fn test_to_eth_block_with_tx_hashes(#[future] counter: (Katana, KakarotEvm

let eth_block = block.to_eth_block(client).await.inner;

// TODO: Check that the block is valid
assert_eq!(&eth_block.header.number.unwrap(), &U256::from(block_number));
let tx_hashes = match eth_block.transactions {
BlockTransactions::Hashes(tx_hashes) => tx_hashes,
Expand Down Expand Up @@ -90,6 +91,7 @@ async fn test_to_eth_block_with_txs(#[future] counter: (Katana, KakarotEvmContra

let eth_block = block.to_eth_block(client).await.inner;

// TODO: Check that the block is valid
assert_eq!(&eth_block.header.number.unwrap(), &U256::from(block_number));
let txs = match eth_block.transactions {
BlockTransactions::Full(txs) => txs,
Expand Down

0 comments on commit 9533358

Please sign in to comment.