Skip to content

Commit c2eae0a

Browse files
committed
using bye value
1 parent 81be70e commit c2eae0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (c *Client) SetCode(account common.Address, code []byte) error {
6666
// SetStorageAt writes a single storage slot at a given account.
6767
//
6868
// Equivalent to the `anvil_setStorageAt` RPC call.
69-
func (c *Client) SetStorageAt(account common.Address, slot string, value string) error {
69+
func (c *Client) SetStorageAt(account common.Address, slot common.Hash, value []byte) error {
7070
return c.cli.Call(nil, "anvil_setStorageAt", account, slot, value)
7171
}
7272

0 commit comments

Comments
 (0)