-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core)!: replace OutputFlags with OutputType (#4174)
Description --- - Replaces `OutputFlags` With`OutputType` enum - Updates transactionBuilder for integration tests - Updates test faucet json files (The reason this PR is so massive!) Motivation and Context --- Many new types of UTXOs are being added to the protocol. The OutputFlags type uses 2 bytes to represent up to 16 different types. These flags could not meaningfully be combined which is the primary use case of using bitflags. This PR replaces the 2 byte bitflags with a 1-byte enum that represents the various output types available. **New dependency** `serde_repr` - allows repr enums to be de/serialized with serde as an integer (https://serde.rs/enum-number.html) How Has This Been Tested? --- Existing tests updated as necessary
- Loading branch information
Showing
48 changed files
with
20,321 additions
and
20,276 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
8,000 changes: 4,000 additions & 4,000 deletions
8,000
base_layer/core/src/blocks/faucets/alphanet_faucet.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,000 changes: 4,000 additions & 4,000 deletions
8,000
base_layer/core/src/blocks/faucets/dibbler_faucet.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,000 changes: 4,000 additions & 4,000 deletions
8,000
base_layer/core/src/blocks/faucets/ridcully_faucet.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,000 changes: 4,000 additions & 4,000 deletions
8,000
base_layer/core/src/blocks/faucets/stibbons_faucet.json
Large diffs are not rendered by default.
Oops, something went wrong.
8,000 changes: 4,000 additions & 4,000 deletions
8,000
base_layer/core/src/blocks/faucets/weatherwax_faucet.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.