You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
offchain worker sending decrypted weights back to runtime
validation of the weights, by the runtime, is correct
What it does not check:
consensus params supplied with weights were correctly executed and applied
storages cleaned up (after weights have been received by the runtime). we need to check for correct cleanup of the old consensus params, encrypted weights, hashes and everything else (essentially make sure there is nothing in the runtime accumulating after weights have been received).
Additional
write a test that checks the rotation mechanism, ensure that decryption nodes will rotate
This test
https://github.com/renlabs-dev/subspace-network/blob/testnet/weight-copy/tests/src/offworker/offworker.rs#L78
Checks for:
What it does not check:
Additional
ban / cancel implementation can be found here
https://github.com/renlabs-dev/subspace-network/blob/testnet/weight-copy/pallets/subnet_emission/src/decryption.rs#L261
the test should confirm all aspects of it are working, that includes storage cleanups
The text was updated successfully, but these errors were encountered: