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

core_resource acc. key rotation E2E test #1016

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3c0ff1c
feat: create initial structure for key rotation e2e
0xmovses Jan 23, 2025
832bbc9
feat: add script for key rotation
0xmovses Jan 23, 2025
5c4b7e0
update: .gitignore
0xmovses Jan 23, 2025
ca025b9
update: placeholder to compile
0xmovses Jan 23, 2025
97e8d33
feat: add validation to script input
0xmovses Jan 24, 2025
a63d41c
fix: use pub account key rotation fun
0xmovses Jan 24, 2025
376382f
fix: delegate rotation cap before calling rotate
0xmovses Jan 24, 2025
dd28bee
fix RotationChallenge constuct
0xmovses Jan 24, 2025
2620e6f
update: impl hasher for RotationMessage
0xmovses Jan 25, 2025
0c2dfb9
update: sign messages with curr and new priv keys
0xmovses Jan 25, 2025
4138290
fix: process-compose typo
0xmovses Jan 25, 2025
0cd9002
update: add faucet cmd in process-compose
0xmovses Jan 25, 2025
a493efb
chore: cleanup remove unneeded
0xmovses Jan 25, 2025
01de3ac
chore: rebuild script bytecode
0xmovses Jan 25, 2025
14e10df
fix: correct construction of RotationCapabilityOfferProofChallengeV2
0xmovses Jan 25, 2025
67c8a6a
update: remove delegate acc, fic chainId typo
0xmovses Jan 25, 2025
399e4cb
fix: deeserialization err and sufficient bal
0xmovses Jan 25, 2025
a50c180
update: aptos core
0xmovses Jan 25, 2025
0f6a8f7
update: recipient
0xmovses Jan 26, 2025
d100d8d
update: additional log
0xmovses Jan 26, 2025
de10e24
update: gen account consistent with other e2e
0xmovses Jan 26, 2025
82e2f66
fix: serialization.
l-monninger Jan 26, 2025
48dec59
update: add signature verification, passes
0xmovses Jan 26, 2025
b82b405
fix: increment seq no.
0xmovses Jan 26, 2025
90127d4
fix: increment seq for 2nd call
0xmovses Jan 26, 2025
7cdadc5
fix: use test helper to sign tx for UNIX_EPOCH
0xmovses Jan 26, 2025
1878df2
update: aptos deps for new test helper fn
0xmovses Jan 26, 2025
7aeb147
fix: processor branch typo Cargo.toml
0xmovses Jan 26, 2025
20bdc44
fix: offer rotation call
0xmovses Jan 26, 2025
b94d584
fix: bad RotationKeyChallenge
0xmovses Jan 27, 2025
583068b
chore: cleanups
0xmovses Jan 27, 2025
1bfd4bd
fix: init tracing subscriber
0xmovses Jan 27, 2025
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
26 changes: 26 additions & 0 deletions .github/workflows/checks-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,32 @@ jobs:
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-ggp-gas-fee -t=false"

core-resource-signer:
if: github.event.label.name == 'cicd:core-resource-signer' || github.ref == 'refs/heads/main'
strategy:
matrix:
include:
- os: ubuntu-22.04
arch: x86_64
runs-on: buildjet-16vcpu-ubuntu-2204

runs-on: ${{ matrix.runs-on }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: Run Movement Full Node + indexer Tests Against Local ETH and Local Celestia
env:
CELESTIA_LOG_LEVEL: FATAL # adjust the log level while debugging
run: |
nix develop --command bash -c "just movement-full-node native build.setup.eth-local.celestia-local.test-ggp-gas-fee -t=false"

mcr:
if: github.event.label.name == 'cicd:mcr' || github.ref == 'refs/heads/main'
strategy:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ protocol-units/bridge/contracts/out/*
protocol-units/bridge/contracts/cache/*
protocol-units/bridge/move-modules/build/*
protocol-units/bridge/move-modules/.aptos/*
networks/movement/movement-client/src/move-modules/build/*
.idea/
target/
ledger_db/
Expand All @@ -26,4 +27,4 @@ venv
*.pem
*.jot.*
*.jot
*.env
*.env
Loading
Loading