Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccountTrace Serialization was done in the wrong order #544

Merged
merged 29 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c1d8caf
Invert order of vec
Kayanski Nov 21, 2024
463cacf
collect trace from string in single iteration
Buckram123 Nov 21, 2024
2ad544f
account trace parsing funtion
Kayanski Nov 22, 2024
92263dd
Merge branch 'fix/account-trace-serialization' of github.com:Abstract…
Kayanski Nov 22, 2024
34dd490
Removed unused
Kayanski Nov 22, 2024
b49de9b
add minimal snapshot test for multihop account
Buckram123 Nov 22, 2024
101bf20
found state bug
Buckram123 Nov 22, 2024
b692c84
add failing tests
Buckram123 Nov 22, 2024
562f4f5
fix AccountTrace key, but not the composite
Buckram123 Nov 22, 2024
3bbd505
Fix multi-hop test
Kayanski Nov 25, 2024
191f9c8
Better account id storage serialization
Kayanski Nov 26, 2024
798070e
Modify key deserialize impl
Kayanski Nov 26, 2024
4e30a6a
formatting [skip ci]
Kayanski Nov 26, 2024
198d476
Insta testsé
Kayanski Nov 26, 2024
d054df6
Fixing tests
Kayanski Nov 26, 2024
1bbb974
Hakari
Kayanski Nov 27, 2024
4c869d2
Added account multi-hop test
Kayanski Nov 27, 2024
6570cee
Added tests, reduce length
Kayanski Nov 27, 2024
e73d458
Redice max trace length
Kayanski Nov 27, 2024
2ef51d5
Update snaps
Kayanski Nov 27, 2024
259a9e6
Merge branch 'main' into fix/account-trace-serialization
Kayanski Nov 27, 2024
cca6384
Merge branch 'fix/account-trace-serialization' of github.com:Abstract…
Kayanski Nov 27, 2024
d191760
Trace length back to 6
Kayanski Nov 27, 2024
e372c07
Merge remote-tracking branch 'origin/main' into fix/account-trace-ser…
Kayanski Dec 16, 2024
9f7bc8f
Finalize nits
Kayanski Dec 17, 2024
54ddd19
Changed versions
Kayanski Dec 17, 2024
b6aed36
snaps
Kayanski Dec 17, 2024
84927ed
Reset because not verified
Kayanski Dec 17, 2024
10738e3
Format change
Kayanski Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:

build-framework:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- setup_remote_docker
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
git checkout "$CIRCLE_BRANCH-build"
- restore_cache:
keys:
- cargocache-v2-build-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
- cargocache-v2-build-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}
- run:
name: Build framework WASM artifacts
command: |
Expand All @@ -170,7 +170,7 @@ jobs:
- framework/target/debug/.fingerprint
- framework/target/debug/build
- framework/target/debug/deps
key: cargocache-v2-build-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
key: cargocache-v2-build-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}
- run:
name: Import GPG Key
command: |
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:

build-modules:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- setup_remote_docker
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:

build-schemas:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- setup_remote_docker
Expand All @@ -297,7 +297,7 @@ jobs:
git checkout "$CIRCLE_BRANCH-build"
- restore_cache:
keys:
- cargocache-v2-build-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
- cargocache-v2-build-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}
- run:
name: Generate schemas
command: |
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:

tests:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- checkout
Expand All @@ -381,7 +381,7 @@ jobs:
cargo generate-lockfile
- restore_cache:
keys:
- cargocache-v2-tests-rust:1.80.0-{{ checksum "modules/Cargo.lock" }}
- cargocache-v2-tests-rust:1.83.0-{{ checksum "modules/Cargo.lock" }}
- run:
name: Modules tests
command: |
Expand All @@ -392,11 +392,11 @@ jobs:
- modules/target/debug/.fingerprint
- modules/target/debug/build
- modules/target/debug/deps
key: cargocache-v2-tests-rust:1.80.0-{{ checksum "modules/Cargo.lock" }}
key: cargocache-v2-tests-rust:1.83.0-{{ checksum "modules/Cargo.lock" }}

deploy:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: large
steps:
- checkout
Expand All @@ -409,7 +409,7 @@ jobs:
fi
- restore_cache:
keys:
- cargocache-v2-deploy-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
- cargocache-v2-deploy-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}
- run:
name: Decode and Deploy
command: |
Expand Down Expand Up @@ -450,11 +450,11 @@ jobs:
- framework/target/debug/.fingerprint
- framework/target/debug/build
- framework/target/debug/deps
key: cargocache-v2-deploy-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
key: cargocache-v2-deploy-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}

modules-coverage:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- setup_remote_docker
Expand All @@ -468,7 +468,7 @@ jobs:
fi
- restore_cache:
keys:
- cargocache-v2-coverage-rust:1.80.0-{{ checksum "modules/Cargo.lock" }}
- cargocache-v2-coverage-rust:1.83.0-{{ checksum "modules/Cargo.lock" }}
- run:
name: Run tests with coverage for modules
command: |
Expand All @@ -481,11 +481,11 @@ jobs:
- modules/target/debug/.fingerprint
- modules/target/debug/build
- modules/target/debug/deps
key: cargocache-v2-deploy-rust:1.80.0-{{ checksum "modules/Cargo.lock" }}
key: cargocache-v2-deploy-rust:1.83.0-{{ checksum "modules/Cargo.lock" }}

framework-coverage:
docker:
- image: cimg/rust:1.80.0
- image: cimg/rust:1.83.0
resource_class: xlarge
steps:
- rust_install_nightly
Expand All @@ -500,7 +500,7 @@ jobs:
fi
- restore_cache:
keys:
- cargocache-v2-coverage-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
- cargocache-v2-coverage-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}
- run:
name: Run tests with coverage for framework
command: |
Expand All @@ -513,7 +513,7 @@ jobs:
- framework/target/debug/.fingerprint
- framework/target/debug/build
- framework/target/debug/deps
key: cargocache-v2-deploy-rust:1.80.0-{{ checksum "framework/Cargo.lock" }}
key: cargocache-v2-deploy-rust:1.83.0-{{ checksum "framework/Cargo.lock" }}

pass:
docker:
Expand Down
69 changes: 23 additions & 46 deletions framework/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading