Add cellular genome revision profile migration
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (checks) (push) Failing after 2m10s
Foundation / checks (postgres) (push) Failing after 10m34s
Foundation / checks (network) (push) Failing after 12m19s
Foundation / checks (tsan) (push) Failing after 2m14s
Foundation / checks (client) (push) Successful in 15m7s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m59s
Foundation / checks (checks) (push) Failing after 2m10s
Foundation / checks (postgres) (push) Failing after 10m34s
Foundation / checks (network) (push) Failing after 12m19s
Foundation / checks (tsan) (push) Failing after 2m14s
Foundation / checks (client) (push) Successful in 15m7s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
This commit is contained in:
@@ -256,7 +256,7 @@ PrimitiveLives::restore(std::span<const std::uint8_t> bytes, std::uint64_t world
|
||||
c.funding = in.inventory();
|
||||
const auto sites = in.get(4), count = in.get(4), archive_bytes = in.get(4);
|
||||
if (in.get(4) != 0 || sites == 0 || sites > max_primitive_lives || count > sites ||
|
||||
archive_bytes > biology::max_archive_bytes ||
|
||||
archive_bytes > biology::max_archive_legacy_bytes ||
|
||||
bytes.size() != life_header_bytes + 8 * sites + life_record_bytes * count +
|
||||
40 * (2 + 2 * sites) + archive_bytes + 8)
|
||||
return std::unexpected{LifeCodecError::format};
|
||||
|
||||
Reference in New Issue
Block a user