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

feat: solana implementation #13

Draft
wants to merge 126 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
af465bb
Add initial POC scaffolding of Solana workerset verifier
eloylp Feb 6, 2024
28a3cac
refactor, remove unnecessary String indirection
eloylp Feb 7, 2024
ee49734
Add some todos
eloylp Feb 7, 2024
83f97cc
* Add auth-weighted as dependency (needed for types)
eloylp Feb 11, 2024
7d60690
Expose binary serialisation for U256
eloylp Feb 11, 2024
645e491
Propagate Clone,Copy traits to wrapper type
eloylp Feb 11, 2024
f5f9212
Add needed solana RPC methods for workerset verification logic
eloylp Feb 11, 2024
ca7d699
Complete the Solana working set verification logic, core verification…
eloylp Feb 11, 2024
6a2dbb9
Solana code refactors (clippy)
eloylp Feb 11, 2024
862a823
Add unhappy path tests for Solana workerset verification logic
eloylp Feb 11, 2024
c818eaf
Complete comment
eloylp Feb 11, 2024
1c47e32
Formatting
eloylp Feb 11, 2024
a6cc4ae
Solana verifier (#5)
ctoyan Feb 22, 2024
50c07d1
refactor: move workerset verifier logic to its own file
eloylp Feb 23, 2024
e96960b
Merge remote-tracking branch 'origin/solana' into add-solana-worker-s…
eloylp Feb 24, 2024
914f52c
refactor: Move solana msg verification helpers to its own file.
eloylp Feb 24, 2024
1358675
Ignore exploratory tests
eloylp Feb 25, 2024
30b3b73
Replace raw rpc client with solana non blocking RPC client
eloylp Feb 26, 2024
f654716
Discern among not found results and RPC errors
eloylp Feb 26, 2024
259af2e
Fix clippy
eloylp Feb 27, 2024
fd81c80
Do not panic when parsing solana tx signatures
eloylp Feb 27, 2024
dd0674d
Ensure we log errors while fetching transactions
eloylp Feb 27, 2024
33782a5
remove non used tests
eloylp Feb 27, 2024
3c12598
replace unwrap by let-else syntax
eloylp Feb 27, 2024
357bc39
Use let if syntax
eloylp Feb 27, 2024
db24220
Properly log error message
eloylp Feb 27, 2024
42bee6d
Use let if syntax
eloylp Feb 27, 2024
4668594
Remove redundant comparison function
eloylp Feb 27, 2024
c9acc10
clarify log message
eloylp Feb 27, 2024
e3c23c2
FIx test and compilation errors
eloylp Feb 27, 2024
092ef79
Ensure elements are of same length while suing zip()
eloylp Feb 27, 2024
e1f409f
remove discontinued auth-weighted dependency in favour of gmp-gateway
eloylp Feb 27, 2024
1f827b0
remove dead code
eloylp Feb 27, 2024
b6fa596
use let/else syntax
eloylp Feb 27, 2024
d6cf01d
Merge branch 'add-solana-worker-set-verifier' of github.com:eigerco/a…
eloylp Feb 27, 2024
ea250b2
Do not panic broadcasting votes
eloylp Feb 27, 2024
f4e3c84
Ensure proper logging in case of errors
eloylp Feb 28, 2024
d163e00
Merge pull request #4 from eigerco/add-solana-worker-set-verifier
eloylp Feb 29, 2024
c8ce699
Ensure Solana message verifier ignores other chains events
eloylp Mar 3, 2024
a51c0fb
Add solana tx RPC cache wrapper
eloylp Mar 3, 2024
dd3356e
Use cache enabled RPC client (sol msg verifier)
eloylp Mar 3, 2024
880fcea
Fix/improve msg verifier logic
eloylp Mar 3, 2024
5db9875
clippy
eloylp Mar 3, 2024
509a3a3
Remove dead code
eloylp Mar 3, 2024
023d8da
Use LRU tx cache implementation for solana msg verifier
eloylp Mar 4, 2024
cd5f181
Merge pull request #9 from eigerco/sol-msg-verifier-ignore-other-chai…
eloylp Mar 4, 2024
a92ee69
Merge remote-tracking branch 'origin/solana' into fix-msg-verifier-lo…
eloylp Mar 4, 2024
7c70659
refactor: Solana message verifier extract message processing logic
eloylp Mar 4, 2024
dce45b0
sol msg verifier: Add concurrency for message processing with streams
eloylp Mar 4, 2024
41a426b
Simplify iterator use in msg processing
eloylp Mar 5, 2024
010d752
Merge pull request #10 from eigerco/fix-msg-verifier-logic-cache
eloylp Mar 5, 2024
e16b55a
Merge remote-tracking branch 'origin/main' into solana-sync-fork
eloylp Mar 6, 2024
0f911a3
Merge pull request #11 from eigerco/solana-sync-fork
eloylp Mar 6, 2024
9c2b6cb
Merge remote-tracking branch 'origin/main' into solana
eloylp Apr 1, 2024
e56482a
Merge remote-tracking branch 'origin/main' into solana-sync-1904
eloylp Apr 19, 2024
6917228
Merge pull request #15 from eigerco/solana-sync-1904
eloylp Apr 26, 2024
0c3c7cf
Add initial integration (POC) of the axelar-encoding crate
eloylp Jun 10, 2024
12c37e1
Propagate errors, do not panic
eloylp Jun 10, 2024
3812bbe
Rename encoding method
eloylp Jun 11, 2024
366d837
Invert qualified names for Rkyv encoding types
eloylp Jun 11, 2024
f7f42ee
Align new naming with rest of rkyv elements
eloylp Jun 11, 2024
1766b3b
Remove confusing, wrong comment
eloylp Jun 11, 2024
23be585
Align encoding integration with latest changes in encoding crate
eloylp Jun 12, 2024
a30bd56
Align function name with what it does
eloylp Jun 12, 2024
c38f997
Fix code comment
eloylp Jun 12, 2024
6ec5af1
Convert non recoverable keys into recoverable ones
eloylp Jun 13, 2024
236a43e
refactor: Wrap common conversion logic
eloylp Jun 13, 2024
394afe7
Remove no longer needed comments
eloylp Jun 13, 2024
12d3991
improve error message
eloylp Jun 13, 2024
49193b4
Merge remote-tracking branch 'origin/main' into solana
eloylp Jun 17, 2024
e923499
feat: solana code adjustments (after upstream sync) (#24)
eloylp Jun 20, 2024
0510e21
Merge remote-tracking branch 'origin/main' into solana
eloylp Jun 20, 2024
cb1fce0
Merge remote-tracking branch 'origin/solana' into multisig-prover-new…
eloylp Jun 21, 2024
5523305
remove redundant parameter (rpc_url)
eloylp Jun 28, 2024
b5516b1
refactor: fix naming
eloylp Jun 28, 2024
2fe8066
Add configurable rpc_timeout for Solana handlers
eloylp Jun 28, 2024
6860bfe
Merge pull request #25 from eigerco/ampd-amendements
eloylp Jul 1, 2024
31e5553
chore: fix warnings
tilacog Jul 1, 2024
3027da4
Merge pull request #29 from eigerco/fix-warnings
tilacog Jul 1, 2024
aa75800
Adapt current ampd code to solana latest changes
eloylp Jul 2, 2024
2473630
Update Cargo.toml Solana deps
eloylp Jul 2, 2024
d423b28
Merge pull request #30 from eigerco/ampd-codebase-update-deps
eloylp Jul 2, 2024
7c0e2fb
Merge remote-tracking branch 'origin/solana' into multisig-prover-new…
eloylp Jul 2, 2024
83939ae
fix git deps fetching issues
roberts-pumpurs Jul 2, 2024
184ac3b
fix: git ssh deps fetching
roberts-pumpurs Jul 2, 2024
3659af1
Use latest changes from rkyv encoding crate.
eloylp Jul 2, 2024
0814a1c
remove unusued import
eloylp Jul 2, 2024
aa9e3ab
feat: add initial integration of the axelar-rkyv-encoding crate to mu…
roberts-pumpurs Jul 2, 2024
efbec2e
Merge branch 'main' into solana
roberts-pumpurs Jul 15, 2024
ffa983f
feat: update rkyv encoding dependency
roberts-pumpurs Jul 15, 2024
f8af3da
feat: test that hashes and validates rkyv encoding
roberts-pumpurs Jul 16, 2024
6e80906
feat: update multisig-prover with latest rkyv crate API updates
eloylp Jul 29, 2024
1a1f072
Merge with upstream
eloylp Jul 30, 2024
08c4878
Merge pull request #33 from eigerco/update-rkyv-multisig
eloylp Aug 12, 2024
817d406
fix: boyscout: remove trailing white spaces
frenzox Aug 7, 2024
34b730b
chore: use updated u128 rkvy
frenzox Aug 7, 2024
dbe3dc5
Merge remote-tracking branch 'origin/main' into solana
eloylp Sep 3, 2024
7b53561
remove: duplicated generated file probably due to local tooling missm…
eloylp Sep 3, 2024
6ee90da
revert: previously removed non need imports
eloylp Sep 3, 2024
e30a132
refactor: Use the provided add_27 func for ECDSA non-recoverable to r…
eloylp Sep 3, 2024
0958c5e
refactor: Align rkyv public APi's with repo usage
eloylp Sep 3, 2024
bfaaeee
Merge pull request #36 from eigerco/fix-corrective-pr
eloylp Sep 4, 2024
86eb3c5
fix: ampd dependencies update (gateway, rkyv) (#37)
eloylp Sep 12, 2024
c71197d
Merge remote-tracking branch 'origin/main' into ampd-update2
eloylp Sep 12, 2024
85af2e4
refactor: non used dep (#39)
eloylp Sep 12, 2024
76bd036
Update solana deps (#40)
eloylp Sep 13, 2024
0c22f30
Merge remote-tracking branch 'origin/main' into fix-conflicts
eloylp Sep 15, 2024
a3b8b13
feat: update rkyv encoding & add solana base58 address verification (…
roberts-pumpurs Sep 23, 2024
01e809a
Merge branch 'main' into solana
roberts-pumpurs Nov 25, 2024
8cdc656
feat: update ampd so tests pass
roberts-pumpurs Nov 25, 2024
cc97ee5
fix: broken multisig prover code
roberts-pumpurs Nov 25, 2024
ddbc510
feat: multisig prover update
roberts-pumpurs Nov 25, 2024
1efaae2
refactor: use latest axelar-solana deps
roberts-pumpurs Nov 27, 2024
6321e1f
chore: moving file
roberts-pumpurs Nov 27, 2024
5650517
refactor: updated most of `solana_verify_msg` handler
roberts-pumpurs Nov 28, 2024
40def11
feat: gateway call contract event validation
roberts-pumpurs Nov 28, 2024
8bf5033
feat: initial verifier set check impl
roberts-pumpurs Nov 28, 2024
3a8b628
feat: verifier set for solana gets validated
roberts-pumpurs Nov 28, 2024
0d3c609
test: unittests for msg verification
roberts-pumpurs Nov 28, 2024
cd356df
test: fix msg_verify tests
roberts-pumpurs Nov 29, 2024
3fb6a22
test: verifier set verification tests (basic)
roberts-pumpurs Nov 29, 2024
ddfeb1e
feat: abstract the solana rpc behind a trait
roberts-pumpurs Nov 30, 2024
3f1b263
test: all tests compile (dont pass yet)
roberts-pumpurs Nov 30, 2024
9ab850f
test: verify msg tests
roberts-pumpurs Nov 30, 2024
1490a22
test: tests for verify verifier set handler
roberts-pumpurs Nov 30, 2024
40790eb
chore: linter cleanup
roberts-pumpurs Nov 30, 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
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ unit-test = "test --lib"

[build]
rustflags = ["--cfg", "tracing_unstable"]

[net]
git-fetch-with-cli = true
Loading
Loading