-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed contracts tables to touch only own SMT nodes (#1536)
It was possible to remove the SMT nodes in the foreign contract because it was not prefixed with the `ContractId`. The caller could use the same storage key/asset ID with exactly the same values to delete the SMT nodes in another contract. Fixes #1535 --------- Co-authored-by: Hannes Karppila <hannes.karppila@gmail.com> Co-authored-by: Brandon Vrooman <brandon.vrooman@fuel.sh>
- Loading branch information
1 parent
9c526c4
commit 673c91d
Showing
3 changed files
with
100 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters