Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/utils/tenderlyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,13 @@ class Tenderly {
for (const address of Object.keys(request.state_objects) as Hex[]) {
if (request.state_objects[address].storage) {
for (const slot of Object.keys(request.state_objects[address].storage!) as Hex[]) {
console.log('slot: ', slot);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

await publicProvider.request({
method: 'tenderly_setStorageAt' as any,
params: [
address as Hex,
pad(slot as Hex, { size: 32 }),
// @ts-ignore
0xfe & pad(slot as Hex, { size: 32 }),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be conditional for avax only, right?

pad(request.state_objects[address].storage![slot] as Hex, { size: 32 }),
],
});
Expand Down