Skip to content

Conversation

@sendra
Copy link
Contributor

@sendra sendra commented Nov 22, 2023

No description provided.

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

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants