Skip to content

Commit 8c9826c

Browse files
committed
anvil
1 parent ab00045 commit 8c9826c

File tree

5 files changed

+1463
-683
lines changed

5 files changed

+1463
-683
lines changed

pkg/clients/ethereum/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type (
3131
StateRoot EthereumHexString `json:"stateRoot"`
3232
ReceiptsRoot EthereumHexString `json:"receiptsRoot"`
3333
Miner EthereumHexString `json:"miner"`
34-
Difficulty EthereumQuantity `json:"difficulty"`
34+
Difficulty EthereumHexString `json:"difficulty"` // Post-merge: prevRandao (256-bit hash)
3535
TotalDifficulty EthereumBigQuantity `json:"totalDifficulty"`
3636
ExtraData EthereumHexString `json:"extraData"`
3737
Size EthereumQuantity `json:"size"`

pkg/eigenState/precommitProcessors/slashingProcessor/createSlashingAdjustments_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ package slashingProcessor
22

33
import (
44
"fmt"
5+
"testing"
6+
"time"
7+
58
"github.com/Layr-Labs/sidecar/internal/config"
69
"github.com/Layr-Labs/sidecar/internal/tests"
710
"github.com/Layr-Labs/sidecar/pkg/logger"
@@ -10,8 +13,6 @@ import (
1013
"github.com/stretchr/testify/require"
1114
"go.uber.org/zap"
1215
"gorm.io/gorm"
13-
"testing"
14-
"time"
1516
)
1617

1718
// Test_CreateSlashingAdjustments tests the createSlashingAdjustments function

0 commit comments

Comments
 (0)