Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

fix(prover): fix nil of MinSgxAndZkVMTierFee in Prover Server #780

Merged
merged 2 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion integration_test/l1_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source internal/docker/docker_env.sh
export PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
export TAIKO_L2_ADDRESS=0x1670010000000000000000000000000000010001
export L2_SIGNAL_SERVICE=0x1670010000000000000000000000000000010005
export SECURITY_COUNCIL=0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f
export CONTRACT_OWNER=0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f
export TAIKO_TOKEN_PREMINT_RECIPIENT=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
export TAIKO_TOKEN_NAME="Taiko Token Test"
export TAIKO_TOKEN_SYMBOL="TTKOt"
Expand All @@ -22,6 +22,8 @@ GUARDIAN_PROVERS_ADDRESSES_LIST=(
"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"
"0x90F79bf6EB2c4f870365E785982E1f101E93b906"
"0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65"
"0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f"
"0xa0Ee7A142d267C1f36714E4a8F75612F20a79720"
)
GUARDIAN_PROVERS_ADDRESSES=$(printf ",%s" "${GUARDIAN_PROVERS_ADDRESSES_LIST[@]}")
export GUARDIAN_PROVERS=${GUARDIAN_PROVERS_ADDRESSES:1}
Expand Down
1 change: 1 addition & 0 deletions prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func InitFromConfig(ctx context.Context, p *Prover, cfg *Config) (err error) {
ProverPrivateKey: p.cfg.L1ProverPrivKey,
MinOptimisticTierFee: p.cfg.MinOptimisticTierFee,
MinSgxTierFee: p.cfg.MinSgxTierFee,
MinSgxAndZkVMTierFee: p.cfg.MinSgxAndZkVMTierFee,
MinEthBalance: p.cfg.MinEthBalance,
MinTaikoTokenBalance: p.cfg.MinTaikoTokenBalance,
MaxExpiry: p.cfg.MaxExpiry,
Expand Down
Loading