From 2f783c024703f5128fb34cec0a139cc2704b8d13 Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Fri, 3 May 2024 12:22:38 +0800 Subject: [PATCH] fix(proposer): fix tier fee in deep copy (#788) --- proposer/prover_selector/eth_fee_eoa_selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposer/prover_selector/eth_fee_eoa_selector.go b/proposer/prover_selector/eth_fee_eoa_selector.go index cd3a02fe1..7e3bd1c96 100644 --- a/proposer/prover_selector/eth_fee_eoa_selector.go +++ b/proposer/prover_selector/eth_fee_eoa_selector.go @@ -100,7 +100,7 @@ func (s *ETHFeeEOASelector) AssignProver( // Deep copy the tierFees slice. for i, fee := range tierFees { - fees[i] = encoding.TierFee{Tier: fee.Tier, Fee: fee.Fee} + fees[i] = encoding.TierFee{Tier: fee.Tier, Fee: new(big.Int).Set(fee.Fee)} } // Iterate over each configured endpoint, and see if someone wants to accept this block.