Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployed contracts should use the storage slots from the storage_slots.json file #41

Open
tkporter opened this issue Jan 9, 2023 · 0 comments

Comments

@tkporter
Copy link
Collaborator

tkporter commented Jan 9, 2023

Looks like you need to explicitly specify the storage slots by reading them from the storage_slots.json file when deploying using fuels-ts - see this unit test https://github.com/FuelLabs/fuels-ts/blob/master/packages/fuel-gauge/src/contract-factory.test.ts#L103. The same may apply for fuels-rs too

We should:

  • make sure that the deploy.ts script is setting this storage correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant