From 28a8c87ad99267343eaec9ab4f0c59537917c7e4 Mon Sep 17 00:00:00 2001 From: manojkgorle Date: Mon, 25 Nov 2024 11:34:31 +0000 Subject: [PATCH] fixes --- actions/consts.go | 1 - actions/epoch_exit.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- scripts/run.sh | 3 ++- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/actions/consts.go b/actions/consts.go index 9161683..0033bb0 100644 --- a/actions/consts.go +++ b/actions/consts.go @@ -7,7 +7,6 @@ package actions const ( TransferID uint8 = 0 MsgID uint8 = 1 - ExitID uint8 = 2 AuctionID uint8 = 3 ) diff --git a/actions/epoch_exit.go b/actions/epoch_exit.go index 89bd977..b030760 100644 --- a/actions/epoch_exit.go +++ b/actions/epoch_exit.go @@ -30,7 +30,7 @@ type EpochExit struct { } func (*EpochExit) GetTypeID() uint8 { - return ExitID + return hactions.EpochExitID } func (e *EpochExit) StateKeys(actor codec.Address, _ ids.ID) state.Keys { diff --git a/go.mod b/go.mod index 08a71dc..032f08b 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/AnomalyFi/nodekit-seq go 1.21.12 require ( - github.com/AnomalyFi/hypersdk v0.9.7-arcadia.4 + github.com/AnomalyFi/hypersdk v0.9.7-arcadia.5 github.com/ava-labs/avalanche-network-runner v1.7.4-rc.0 github.com/ava-labs/avalanchego v1.11.10 github.com/ethereum/go-ethereum v1.13.14 diff --git a/go.sum b/go.sum index 5a5c942..ee77caf 100644 --- a/go.sum +++ b/go.sum @@ -39,8 +39,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8= -github.com/AnomalyFi/hypersdk v0.9.7-arcadia.4 h1:ttNCegwje/top+OVdzwil9zZFI4vMT532Jl1yooC34o= -github.com/AnomalyFi/hypersdk v0.9.7-arcadia.4/go.mod h1:4vquPvlEBs4i3uApYzE73Ghv/hB2GdFybf0m8fnU3DU= +github.com/AnomalyFi/hypersdk v0.9.7-arcadia.5 h1:wWmO2EL0scPPkShDWLVfTOcFWIXxSjz+oMsv0z4pblA= +github.com/AnomalyFi/hypersdk v0.9.7-arcadia.5/go.mod h1:4vquPvlEBs4i3uApYzE73Ghv/hB2GdFybf0m8fnU3DU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= diff --git a/scripts/run.sh b/scripts/run.sh index 6844f02..90757ca 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -32,6 +32,7 @@ UNLIMITED_USAGE=${UNLIMITED_USAGE:-false} STORE_BLOCK_RESULTS_ON_DISK=${STORE_BLOCK_RESULTS_ON_DISK:-true} ETHL1RPC=${ETHL1RPC:-http://localhost:8545} ETHL1WS=${ETHL1WS:-ws://localhost:8546} +ARCADIA_URL=${ARCADIA_URL:-http://localhost:12345} ADDRESS=${ADDRESS:-seq1qrzvk4zlwj9zsacqgtufx7zvapd3quufqpxk5rsdd4633m4wz2fdjlydh3t} if [[ ${MODE} != "run" ]]; then LOG_LEVEL=INFO @@ -186,7 +187,7 @@ cat < "${TMPDIR}"/seqvm.config "storeBlockResultsOnDisk": ${STORE_BLOCK_RESULTS_ON_DISK}, "ethRPCAddr": "${ETHL1RPC}", "ethWSAddr": "${ETHL1WS}", - "arcadiaURL": "http://localhost:12345/", + "arcadiaURL": "${ARCADIA_URL}", "archiverConfig": { "enabled": true, "archiverType": "sqlite",