forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align the FastNFT model with objects rather than accounts, and abstra…
…ct fastpay specific details (MystenLabs#3) This PR moves the fastpay logic towards the fastX logic as discussed in the spec doc (https://www.overleaf.com/7111272316rvsqhrmycmwn): * Rename account to object * Remove balance * Repair or silence tests * Remove cross shard logic * Remove more of the received infrastructure * Added object IDs * Encapsulate the accounts structure in authority * Added object id and removed amount from transfers. Fixed tests. * Nix transfer orders, not applicable to fastNFT * Use object ID to index object state. Tests fixed, but two failing. * Implemented signature checks and ownership transfer * Use a address_to_object_id_hack function (to refactor) Co-authored-by: George Danezis <[email protected]> Co-authored-by: François Garillot <[email protected]>
- Loading branch information
1 parent
e170b6f
commit 9e91225
Showing
20 changed files
with
280 additions
and
593 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Rust build directory | ||
/target | ||
.pre-commit* | ||
|
||
# Move build directory | ||
build | ||
|
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
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
Oops, something went wrong.