Persist fed mutation offers in cellular v2
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (network) (push) Canceled after 5m28s
Foundation / checks (checks) (push) Canceled after 7m39s
Foundation / checks (client) (push) Canceled after 7m39s
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m56s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (network) (push) Canceled after 5m28s
Foundation / checks (checks) (push) Canceled after 7m39s
Foundation / checks (client) (push) Canceled after 7m39s
This commit is contained in:
@@ -172,6 +172,7 @@ void run_cellular_publication_tests() {
|
||||
CHECK(provisioned && provisioned->head.sequence == 0 && provisioned->head.end_tick == 0);
|
||||
auto empty_manifest = decode_manifest(provisioned->manifest);
|
||||
CHECK(empty_manifest && empty_manifest->profile == CheckpointProfile::cellular_lives_v1 &&
|
||||
empty_manifest->cellular_versions == cellular_v2_versions &&
|
||||
empty_manifest->payload_bytes == (*empty_opening)->snapshot().size());
|
||||
auto genesis_payload =
|
||||
(*empty_objects)->get({empty_manifest->payload_sha256, empty_manifest->payload_bytes});
|
||||
@@ -208,9 +209,10 @@ void run_cellular_publication_tests() {
|
||||
const auto payload = (*opening)->snapshot();
|
||||
const auto payload_digest = sha256(payload);
|
||||
CHECK(payload_digest);
|
||||
const auto genesis = genesis_manifest(key, 1, filled<16>(0x21), 50'000, build, payload.size(),
|
||||
*payload_digest, CheckpointProfile::cellular_lives_v1);
|
||||
auto genesis = genesis_manifest(key, 1, filled<16>(0x21), 50'000, build, payload.size(),
|
||||
*payload_digest, CheckpointProfile::cellular_lives_v1);
|
||||
CHECK(genesis);
|
||||
genesis->cellular_versions = cellular_v2_versions;
|
||||
const auto genesis_bytes = encode_manifest(*genesis);
|
||||
CHECK(genesis_bytes);
|
||||
auto objects = FilesystemObjectStore::open(env("PGHOST"), key, max_cellular_lives_bytes);
|
||||
|
||||
Reference in New Issue
Block a user