Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Sep 17, 2024
1 parent 460d42f commit a084f61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/access-list-e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ setup() {
readonly key=${SENDER_key:-"12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"}
readonly receiver=${RECEIVER:-"0x85dA99c8a7C2C95964c8EfD687E95E632Fc533D6"}
readonly data_dir=${ACL_DATA_DIR:-"/home/erigon/data/dynamic-kurtosis-sequencer/txpool/acls"}
readonly kurtosis_wrapper=${KURTOSIS_WRAPPER:-"kurtosis service exec $enclave $sequencer"}
readonly kurtosis_sequencer_wrapper=${KURTOSIS_WRAPPER:-"kurtosis service exec $enclave $sequencer"}
}

teardown() {
Expand All @@ -23,14 +23,14 @@ add_to_access_list() {
local policy="$2"
local sender=$(cast wallet address "$key")

run $kurtosis_wrapper "acl add --datadir $data_dir --address $sender --type $acl_type --policy $policy"
run $kurtosis_sequencer_wrapper "acl add --datadir $data_dir --address $sender --type $acl_type --policy $policy"
}

# Helper function to set the acl mode command dynamically
set_acl_mode() {
local mode="$1"

run $kurtosis_wrapper "acl mode --datadir $data_dir --mode $mode"
run $kurtosis_sequencer_wrapper "acl mode --datadir $data_dir --mode $mode"
}

@test "Test Block List - Sending regular transaction when address not in block list" {
Expand Down

0 comments on commit a084f61

Please sign in to comment.