This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Introduce treasury and document #646
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8fe8c54
Introduce treasury and document
gavofyork a132ba5
Revert bad changes
gavofyork f194a42
More reversions
gavofyork 3b94238
Add example crate
gavofyork d641b7b
Actually commit stuff
gavofyork 721eafc
Changes
gavofyork b072089
Propagate block number in finalise.
gavofyork 7d7ec13
Fix and build example
gavofyork 34b9838
Fixes.
gavofyork 70c65ca
Fix compilation for treasury.
gavofyork fc4f0a3
Fix the treasury test
gavofyork 99e0f26
Tests
gavofyork 10a4c45
Fix.
gavofyork 026ad90
Fix tests
gavofyork 87b537a
Fix a few grumbles
gavofyork 60fced6
Fixes
gavofyork d46e8e1
Fix grumbles
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe
/// Runtime is the concrete parametrization of the various runtime modules.?bikeshed: I would suggest
ConcreteRuntimeas the name – this type is sort of the apex type on top of a pile of code containing "runtime"; might be a worth giving it a clearly distinct name.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like short, bold and unequivocal naming. The struct that is created is best described as the Runtime as all runtime logic hangs from it.
ConcreteRuntimesuggests there's anAbstractRuntimetrait somewhere, which there isn't.