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

Initial validator sets pallet #187

Merged
merged 25 commits into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1c5bba6
Initial work on a Validator Sets pallet
kayabaNerve Nov 17, 2022
cc4865c
Update Validator Set docs per current discussions
kayabaNerve Nov 16, 2022
6a65354
Update validator-sets primitives and storage handling
kayabaNerve Dec 5, 2022
5d7a566
Add validator set pallets to deny.toml
kayabaNerve Dec 5, 2022
968e933
Remove Curve from primitives
kayabaNerve Dec 6, 2022
a9d53f8
Update documentation on Validator Sets
kayabaNerve Dec 6, 2022
d106638
Use Twox64Concat instead of Identity
kayabaNerve Dec 6, 2022
9f2514c
Add math ops on Amount and define a coin as 1e8
kayabaNerve Dec 8, 2022
1611046
Add validator-sets to the runtime and remove contracts
kayabaNerve Dec 8, 2022
ed571c3
Add vote function to validator-sets
kayabaNerve Dec 8, 2022
2a45b0b
Remove contracts folder
kayabaNerve Dec 8, 2022
08b3c4d
Create an event for the Validator Sets pallet
kayabaNerve Dec 8, 2022
05692c6
Remove old contracts crates from deny.toml
kayabaNerve Dec 8, 2022
4d71ff4
Remove line from staking branch
kayabaNerve Dec 8, 2022
9ee076e
Remove staking from runtime
kayabaNerve Dec 8, 2022
4eaa5df
Correct VS Config in runtime
kayabaNerve Dec 8, 2022
3e52f4b
Merge develop
kayabaNerve Jan 4, 2023
6645927
cargo update
kayabaNerve Jan 4, 2023
d0bd5e3
Resolve a few PR comments on terminology
kayabaNerve Jan 4, 2023
9c192e8
Create a serai-primitives crate
kayabaNerve Jan 4, 2023
585368e
Fixes for last commit
kayabaNerve Jan 4, 2023
8fe7125
Don't reserve set 0
kayabaNerve Jan 4, 2023
c60cd55
Further fixes
kayabaNerve Jan 4, 2023
eb60c98
Add files meant for last commit
kayabaNerve Jan 4, 2023
e1c1ecb
Remove Staking transfer
kayabaNerve Jan 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
369 changes: 39 additions & 330 deletions Cargo.lock

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ members = [

"processor",

"substrate/validator-sets/primitives",
"substrate/validator-sets/pallet",

"substrate/tendermint/machine",
"substrate/tendermint/primitives",
"substrate/tendermint/client",
"substrate/tendermint/pallet",

"substrate/runtime",
"substrate/node",

"contracts/extension",
"contracts/multisig",
]

# Always compile Monero (and a variety of dependencies) with optimizations due
Expand All @@ -52,8 +52,3 @@ monero-serai = { opt-level = 3 }

[profile.release]
panic = "unwind"

[patch.crates-io]
# array-bytes 4.1.0 is GPL-3.0.
# array-bytes git, which has no code changes, includes a dual-license under Apache-2.0.
array-bytes = { git = "https://github.com/hack-ink/array-bytes", rev = "994cd29b66bd2ab5c8c15f0b15a1618d4bb2d94c" }
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ wallet.
- `processor`: A generic chain processor to process data for Serai and process
events from Serai, executing transactions as expected and needed.

- `contracts`: Smart Contracts implementing Serai's functionality.

- `substrate`: Substrate crates used to instantiate the Serai network.

### Links
Expand Down
24 changes: 0 additions & 24 deletions contracts/extension/Cargo.toml

This file was deleted.

122 changes: 0 additions & 122 deletions contracts/extension/src/lib.rs

This file was deleted.

48 changes: 0 additions & 48 deletions contracts/multisig/Cargo.toml

This file was deleted.

Loading