Skip to content

Commit

Permalink
Merge pull request #482 from Cerebellum-Network/feature/run-ddc-verif…
Browse files Browse the repository at this point in the history
…ication-ocw-each-block-on-cere-runtime

Run DDC verification OCW each block on `cere` runtime
  • Loading branch information
khssnv authored Nov 21, 2024
2 parents 419f80f + 52b0f9b commit 2e94f0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 61006,
spec_version: 61007,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 23,
Expand Down
4 changes: 2 additions & 2 deletions runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 61006,
spec_version: 61007,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 23,
Expand Down Expand Up @@ -1337,7 +1337,7 @@ impl pallet_ddc_verification::Config for Runtime {
type OffchainIdentifierId = ddc_primitives::crypto::OffchainIdentifierId;
type ActivityHasher = BlakeTwo256;
const MAJORITY: u8 = 67;
const BLOCK_TO_START: u16 = 100; // every 100 blocks
const BLOCK_TO_START: u16 = 1; // every block
const DAC_REDUNDANCY_FACTOR: u16 = 3;
type AggregatorsQuorum = MajorityOfAggregators;
const MAX_PAYOUT_BATCH_SIZE: u16 = MAX_PAYOUT_BATCH_SIZE;
Expand Down

0 comments on commit 2e94f0d

Please sign in to comment.