Skip to content

feat(uniond): re-set validator state on changing token decimals #4942

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

chore(uniond): limit logic diff by chain id

06e084c
Select commit
Loading
Failed to load commit list.
Open

feat(uniond): re-set validator state on changing token decimals #4942

chore(uniond): limit logic diff by chain id
06e084c
Select commit
Loading
Failed to load commit list.
Garnix CI / check unionvisor-tests [x86_64-linux] succeeded Aug 6, 2025 in 2m 27s

check unionvisor-tests [x86_64-linux]

check unionvisor-tests [x86_64-linux] succeeded

Details

Last 100 lines of logs:

warning: ignoring untrusted flake configuration setting 'extra-substituters'.
Pass '--accept-flake-config' to trust it
warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
Pass '--accept-flake-config' to trust it
these 8 derivations will be built:
  /nix/store/3vkjbxgm7np5d2ma5dlxhs6kkyk59m43-Cargo.toml.drv
  /nix/store/5nmhrzvl250vrcmlndj8z71ryxpinrar-Cargo.toml.drv
  /nix/store/syvwrqzz23628hmynp4mw92jv25imzb3-Cargo.toml.drv
  /nix/store/49r77f6x6hd585dn8csr7h57d59yzwig-clean-workspace-source.drv
  /nix/store/rqiggxq6cmvdkc5jwqh643k3nsqrsnbx-uniond-go-modules-x86_64-unknown-linux-musl.drv
  /nix/store/54cn9w6fail5g8lyq2a96zcyjygac64l-uniond-x86_64-unknown-linux-musl.drv
  /nix/store/iypw654hyij8vv3m06nzr164d5p3bjzh-rust-minimal-1.87.0-nightly-2025-03-28.drv
  /nix/store/c50kjdj7iiyxa9i6407l52idy1m7s7hr-unionvisor-test-0.0.0.drv
these 2 paths will be fetched (0.19 MiB download, 0.65 MiB unpacked):
  /nix/store/9yawyka088n6gd4a85s5r3nhd9q3003k-pkg-config-0.29.2
  /nix/store/ry0993a35awd6d74pss5gjdwj5dsrf1p-pkg-config-wrapper-0.29.2
these 8 derivations will be built:
  /nix/store/3vkjbxgm7np5d2ma5dlxhs6kkyk59m43-Cargo.toml.drv
  /nix/store/5nmhrzvl250vrcmlndj8z71ryxpinrar-Cargo.toml.drv
  /nix/store/syvwrqzz23628hmynp4mw92jv25imzb3-Cargo.toml.drv
  /nix/store/49r77f6x6hd585dn8csr7h57d59yzwig-clean-workspace-source.drv
  /nix/store/rqiggxq6cmvdkc5jwqh643k3nsqrsnbx-uniond-go-modules-x86_64-unknown-linux-musl.drv
  /nix/store/54cn9w6fail5g8lyq2a96zcyjygac64l-uniond-x86_64-unknown-linux-musl.drv
  /nix/store/iypw654hyij8vv3m06nzr164d5p3bjzh-rust-minimal-1.87.0-nightly-2025-03-28.drv
  /nix/store/c50kjdj7iiyxa9i6407l52idy1m7s7hr-unionvisor-test-0.0.0.drv
these 2 paths will be fetched (0.19 MiB download, 0.65 MiB unpacked):
  /nix/store/9yawyka088n6gd4a85s5r3nhd9q3003k-pkg-config-0.29.2
  /nix/store/ry0993a35awd6d74pss5gjdwj5dsrf1p-pkg-config-wrapper-0.29.2
unionvisor-test-0.0.0> Running phase: unpackPhase
unionvisor-test-0.0.0> unpacking source archive /nix/store/99xwm8j9lsx2laxb2rqcpw5rkkigcaiq-clean-workspace-source
unionvisor-test-0.0.0> source root is clean-workspace-source
unionvisor-test-0.0.0> Running phase: patchPhase
unionvisor-test-0.0.0> Executing configureCargoCommonVars
unionvisor-test-0.0.0> decompressing cargo artifacts from /nix/store/127ycd2pb2q9mck09bvyx2z6lsq3rdcj-unionvisor-deps-0.0.0/target.tar.zst to target
unionvisor-test-0.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase
unionvisor-test-0.0.0> Running phase: configurePhase
unionvisor-test-0.0.0> patching testdata
unionvisor-test-0.0.0> patching script interpreter paths in /build/clean-workspace-source/unionvisor/src/testdata
unionvisor-test-0.0.0> will append /build/clean-workspace-source/.cargo-home/config.toml with contents of /nix/store/15rc11v3g6i2xp3fvbimm9i53jfxyvk4-vendor-cargo-deps/config.toml
unionvisor-test-0.0.0> default configurePhase, nothing to do
unionvisor-test-0.0.0> Running phase: buildPhase
unionvisor-test-0.0.0> ++ command cargo --version
unionvisor-test-0.0.0> cargo 1.87.0-nightly (a6c604d1b 2025-03-26)
unionvisor-test-0.0.0> Running phase: checkPhase
unionvisor-test-0.0.0> ++ command cargo test --release -p unionvisor -- --test-threads 1
unionvisor-test-0.0.0>    Compiling regex-syntax v0.6.29
unionvisor-test-0.0.0>    Compiling regex-syntax v0.8.5
unionvisor-test-0.0.0>    Compiling smallvec v1.15.0
unionvisor-test-0.0.0>    Compiling getrandom v0.3.2
unionvisor-test-0.0.0>    Compiling rustix v1.0.5
unionvisor-test-0.0.0>    Compiling linux-raw-sys v0.9.3
unionvisor-test-0.0.0>    Compiling bitflags v2.9.0
unionvisor-test-0.0.0>    Compiling tracing-test-macro v0.2.5
unionvisor-test-0.0.0>    Compiling fastrand v2.3.0
unionvisor-test-0.0.0>    Compiling embed-commit v0.0.0 (/build/clean-workspace-source/lib/embed-commit)
unionvisor-test-0.0.0>    Compiling regex-automata v0.4.9
unionvisor-test-0.0.0>    Compiling regex-automata v0.1.10
unionvisor-test-0.0.0>    Compiling tempfile v3.20.0
unionvisor-test-0.0.0>    Compiling matchers v0.1.0
unionvisor-test-0.0.0>    Compiling regex v1.11.1
unionvisor-test-0.0.0>    Compiling tracing-subscriber v0.3.19
unionvisor-test-0.0.0>    Compiling tracing-error v0.2.1
unionvisor-test-0.0.0>    Compiling tracing-test v0.2.5
unionvisor-test-0.0.0>    Compiling color-spantrace v0.3.0
unionvisor-test-0.0.0>    Compiling color-eyre v0.6.5
unionvisor-test-0.0.0>    Compiling unionvisor v0.0.0 (/build/clean-workspace-source/unionvisor)
unionvisor-test-0.0.0>     Finished `release` profile [optimized] target(s) in 5.70s
unionvisor-test-0.0.0>      Running unittests src/main.rs (target/release/deps/unionvisor-7b9fa2e19f6af5d1)
unionvisor-test-0.0.0> 
unionvisor-test-0.0.0> running 10 tests
unionvisor-test-0.0.0> test cli::tests::test_init_disallow_dirty_no_error ... ok
unionvisor-test-0.0.0> test cli::tests::test_init_errors_if_dirty ... ok
unionvisor-test-0.0.0> test supervisor::tests::test_backup ... ok
unionvisor-test-0.0.0> test supervisor::tests::test_early_exit ... ok
unionvisor-test-0.0.0> test supervisor::tests::test_run_and_upgrade ... ok
unionvisor-test-0.0.0> test supervisor::tests::test_run_and_upgrade_restart ... ok
unionvisor-test-0.0.0> test symlinker::tests::test_swap ... ok
unionvisor-test-0.0.0> test testdata::tests::test_temp_dir_with ... ok
unionvisor-test-0.0.0> test watcher::tests::test_read_upgrade_info ... ok
unionvisor-test-0.0.0> test watcher::tests::test_read_upgrade_info_when_created ... ok
unionvisor-test-0.0.0> 
unionvisor-test-0.0.0> test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.96s
unionvisor-test-0.0.0> 
unionvisor-test-0.0.0> Running phase: installPhase
unionvisor-test-0.0.0> linking previous artifacts /nix/store/127ycd2pb2q9mck09bvyx2z6lsq3rdcj-unionvisor-deps-0.0.0/target.tar.zst to /nix/store/02bz1jzrzwiv17z5grnd022120y8chzv-unionvisor-test-0.0.0/target.tar.zst
unionvisor-test-0.0.0> /*stdin*\            : 32.79%   (  56.7 MiB =>   18.6 MiB, /nix/store/02bz1jzrzwiv17z5grnd022120y8chzv-unionvisor-test-0.0.0/target.tar.zst) 
unionvisor-test-0.0.0> Running phase: fixupPhase
unionvisor-test-0.0.0> shrinking RPATHs of ELF executables and libraries in /nix/store/02bz1jzrzwiv17z5grnd022120y8chzv-unionvisor-test-0.0.0
unionvisor-test-0.0.0> checking for references to /build/ in /nix/store/02bz1jzrzwiv17z5grnd022120y8chzv-unionvisor-test-0.0.0...
unionvisor-test-0.0.0> patching script interpreter paths in /nix/store/02bz1jzrzwiv17z5grnd022120y8chzv-unionvisor-test-0.0.0