diff --git a/deploy/charts/relay/configs/beefy-relay.json b/deploy/charts/relay/configs/beefy-relay.json index b092201f..c23b4e62 100644 --- a/deploy/charts/relay/configs/beefy-relay.json +++ b/deploy/charts/relay/configs/beefy-relay.json @@ -16,8 +16,9 @@ } }, "on-demand-sync": { - "max-tokens": 5, - "refill-amount": 1, - "refill-period": 3600 + "asset-hub-channel-id": "0x0000000000000000000000000000000000000000000000000000000000000001", + "max-tasks": 3, + "merge-period": 900, + "expired-period": 3600 } } \ No newline at end of file diff --git a/test/configs/kurtosis/minimal.yaml b/test/configs/kurtosis/minimal.yaml index 12b4d8bb..a64ad556 100644 --- a/test/configs/kurtosis/minimal.yaml +++ b/test/configs/kurtosis/minimal.yaml @@ -2,6 +2,8 @@ participants: - el_type: reth el_image: ghcr.io/paradigmxyz/reth:v1.9.3 cl_type: lodestar + cl_extra_params: + - "--serveHistoricalState" count: 1 additional_services: @@ -10,6 +12,7 @@ additional_services: network_params: preset: mainnet seconds_per_slot: 1 + fulu_fork_epoch: 0 num_validator_keys_per_node: 256 prefunded_accounts: '{ "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": {"balance": "10ETH"}, diff --git a/test/configs/snowbridge/local/beacon-relay.json b/test/configs/snowbridge/local/beacon-relay.json index 62a078e5..01fdc0c7 100644 --- a/test/configs/snowbridge/local/beacon-relay.json +++ b/test/configs/snowbridge/local/beacon-relay.json @@ -9,7 +9,8 @@ "epochsPerSyncCommitteePeriod": 256, "forkVersions": { "deneb": 0, - "electra": 0 + "electra": 0, + "fulu": 0 } }, "datastore": { diff --git a/test/configs/snowbridge/local/beefy-relay.json b/test/configs/snowbridge/local/beefy-relay.json index ba1c094e..938169e3 100644 --- a/test/configs/snowbridge/local/beefy-relay.json +++ b/test/configs/snowbridge/local/beefy-relay.json @@ -16,8 +16,9 @@ } }, "on-demand-sync": { - "max-tokens": 5, - "refill-amount": 1, - "refill-period": 3600 + "asset-hub-channel-id": "0x0000000000000000000000000000000000000000000000000000000000000001", + "max-tasks": 3, + "merge-period": 60, + "expired-period": 180 } } diff --git a/test/configs/snowbridge/local/execution-relay.json b/test/configs/snowbridge/local/execution-relay.json index 8c4a44c1..b092d7f1 100644 --- a/test/configs/snowbridge/local/execution-relay.json +++ b/test/configs/snowbridge/local/execution-relay.json @@ -15,7 +15,8 @@ "epochsPerSyncCommitteePeriod": 256, "forkVersions": { "deneb": 0, - "electra": 0 + "electra": 0, + "fulu": 0 } }, "datastore": { diff --git a/test/configs/snowbridge/local/solochain-relay.json b/test/configs/snowbridge/local/solochain-relay.json index b08de875..01b7fd01 100644 --- a/test/configs/snowbridge/local/solochain-relay.json +++ b/test/configs/snowbridge/local/solochain-relay.json @@ -19,7 +19,8 @@ "epochsPerSyncCommitteePeriod": 256, "forkVersions": { "deneb": 0, - "electra": 0 + "electra": 0, + "fulu": 0 } }, "datastore": { @@ -30,7 +31,8 @@ }, "sink": { "ethereum": { - "endpoint": "" + "endpoint": "", + "skip-fee-check": true }, "contracts": { "Gateway": "" diff --git a/test/configs/snowbridge/stagenet/beefy-relay.json b/test/configs/snowbridge/stagenet/beefy-relay.json index ba1c094e..ce78c323 100644 --- a/test/configs/snowbridge/stagenet/beefy-relay.json +++ b/test/configs/snowbridge/stagenet/beefy-relay.json @@ -16,8 +16,9 @@ } }, "on-demand-sync": { - "max-tokens": 5, - "refill-amount": 1, - "refill-period": 3600 + "asset-hub-channel-id": "0x0000000000000000000000000000000000000000000000000000000000000001", + "max-tasks": 3, + "merge-period": 900, + "expired-period": 3600 } } diff --git a/test/configs/snowbridge/stagenet/solochain-relay.json b/test/configs/snowbridge/stagenet/solochain-relay.json index b08de875..6ac0c96e 100644 --- a/test/configs/snowbridge/stagenet/solochain-relay.json +++ b/test/configs/snowbridge/stagenet/solochain-relay.json @@ -30,7 +30,8 @@ }, "sink": { "ethereum": { - "endpoint": "" + "endpoint": "", + "skip-fee-check": true }, "contracts": { "Gateway": "" diff --git a/test/utils/parser.ts b/test/utils/parser.ts index bd1fc342..cac8ddef 100644 --- a/test/utils/parser.ts +++ b/test/utils/parser.ts @@ -19,7 +19,8 @@ export const BeaconRelayConfigSchema = z.object({ epochsPerSyncCommitteePeriod: z.number(), forkVersions: z.object({ deneb: z.number(), - electra: z.number() + electra: z.number(), + fulu: z.number() }) }), datastore: z.object({ @@ -57,9 +58,10 @@ export const BeefyRelayConfigSchema = z.object({ }) }), "on-demand-sync": z.object({ - "max-tokens": z.number(), - "refill-amount": z.number(), - "refill-period": z.number() + "asset-hub-channel-id": z.string(), + "max-tasks": z.number(), + "merge-period": z.number(), + "expired-period": z.number() }) }); export type BeefyRelayConfig = z.infer; @@ -67,7 +69,8 @@ export type BeefyRelayConfig = z.infer; export const SolochainRelayConfigSchema = z.object({ source: z.object({ ethereum: z.object({ - endpoint: z.string() + endpoint: z.string(), + "skip-fee-check": z.boolean().optional() }), solochain: z.object({ endpoint: z.string() @@ -85,7 +88,8 @@ export const SolochainRelayConfigSchema = z.object({ epochsPerSyncCommitteePeriod: z.number(), forkVersions: z.object({ deneb: z.number(), - electra: z.number() + electra: z.number(), + fulu: z.number() }) }), datastore: z.object({ @@ -99,7 +103,8 @@ export const SolochainRelayConfigSchema = z.object({ Gateway: z.string() }), ethereum: z.object({ - endpoint: z.string() + endpoint: z.string(), + "skip-fee-check": z.boolean().optional() }) }), schedule: z.object({ @@ -132,7 +137,8 @@ export const ExecutionRelayConfigSchema = z.object({ epochsPerSyncCommitteePeriod: z.number(), forkVersions: z.object({ deneb: z.number(), - electra: z.number() + electra: z.number(), + fulu: z.number() }) }), datastore: z.object({