mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
e979883f2d
* Initial work on a Validator Sets pallet * Update Validator Set docs per current discussions * Update validator-sets primitives and storage handling * Add validator set pallets to deny.toml * Remove Curve from primitives Since we aren't reusing keys across coins, there's no reason for it to be on-chain (as previously planned). * Update documentation on Validator Sets * Use Twox64Concat instead of Identity Ensures an even distribution of keys. While xxhash is breakable, these keys aren't manipulatable by users. * Add math ops on Amount and define a coin as 1e8 * Add validator-sets to the runtime and remove contracts Also removes the randomness pallet which was only required by the contracts runtime. Does not remove the contracts folder yet so they can still be referred to while validator-sets is under development. Does remove them from Cargo.toml. * Add vote function to validator-sets * Remove contracts folder * Create an event for the Validator Sets pallet * Remove old contracts crates from deny.toml * Remove line from staking branch * Remove staking from runtime * Correct VS Config in runtime * cargo update * Resolve a few PR comments on terminology * Create a serai-primitives crate Move types such as Amount/Coin out of validator-sets. Will be expanded in the future. * Fixes for last commit * Don't reserve set 0 * Further fixes * Add files meant for last commit * Remove Staking transfer
57 lines
1.1 KiB
TOML
57 lines
1.1 KiB
TOML
[workspace]
|
|
members = [
|
|
"common/zalloc",
|
|
|
|
"crypto/transcript",
|
|
|
|
"crypto/ff-group-tests",
|
|
"crypto/dalek-ff-group",
|
|
"crypto/ed448",
|
|
"crypto/ciphersuite",
|
|
|
|
"crypto/multiexp",
|
|
|
|
"crypto/schnorr",
|
|
"crypto/dleq",
|
|
"crypto/dkg",
|
|
"crypto/frost",
|
|
|
|
"coins/ethereum",
|
|
"coins/monero/generators",
|
|
"coins/monero",
|
|
|
|
"processor",
|
|
|
|
"substrate/serai/primitives",
|
|
|
|
"substrate/validator-sets/primitives",
|
|
"substrate/validator-sets/pallet",
|
|
|
|
"substrate/tendermint/machine",
|
|
"substrate/tendermint/primitives",
|
|
"substrate/tendermint/client",
|
|
"substrate/tendermint/pallet",
|
|
|
|
"substrate/runtime",
|
|
"substrate/node",
|
|
]
|
|
|
|
# Always compile Monero (and a variety of dependencies) with optimizations due
|
|
# to the unoptimized performance of Bulletproofs
|
|
[profile.dev.package]
|
|
subtle = { opt-level = 3 }
|
|
curve25519-dalek = { opt-level = 3 }
|
|
|
|
ff = { opt-level = 3 }
|
|
group = { opt-level = 3 }
|
|
|
|
crypto-bigint = { opt-level = 3 }
|
|
dalek-ff-group = { opt-level = 3 }
|
|
minimal-ed448 = { opt-level = 3 }
|
|
|
|
multiexp = { opt-level = 3 }
|
|
|
|
monero-serai = { opt-level = 3 }
|
|
|
|
[profile.release]
|
|
panic = "unwind"
|