We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81be70e commit c2eae0aCopy full SHA for c2eae0a
1 file changed
client.go
@@ -66,7 +66,7 @@ func (c *Client) SetCode(account common.Address, code []byte) error {
66
// SetStorageAt writes a single storage slot at a given account.
67
//
68
// Equivalent to the `anvil_setStorageAt` RPC call.
69
-func (c *Client) SetStorageAt(account common.Address, slot string, value string) error {
+func (c *Client) SetStorageAt(account common.Address, slot common.Hash, value []byte) error {
70
return c.cli.Call(nil, "anvil_setStorageAt", account, slot, value)
71
}
72
0 commit comments