From 3f063f7cd7d3e30e1110b5606d44381a8e3c2a99 Mon Sep 17 00:00:00 2001 From: Aayush Date: Tue, 14 Feb 2023 19:04:43 -0500 Subject: [PATCH] fix: StorageKey is now fixed-size array --- node/impl/full/eth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/impl/full/eth.go b/node/impl/full/eth.go index 775550be2..d41a15c88 100644 --- a/node/impl/full/eth.go +++ b/node/impl/full/eth.go @@ -526,7 +526,7 @@ func (a *EthModule) EthGetStorageAt(ctx context.Context, ethAddr ethtypes.EthAdd } params, err := actors.SerializeParams(&evm.GetStorageAtParams{ - StorageKey: position, + StorageKey: *(*[32]byte)(position), }) if err != nil { return nil, fmt.Errorf("failed to serialize parameters: %w", err)