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

solana: router admin #8

Merged
merged 99 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
0fb7a64
solana: initial router states
bingyuyap Sep 25, 2024
2108864
solana: add initialize test
bingyuyap Sep 25, 2024
3b596a9
solana: modularize setup logic
bingyuyap Sep 25, 2024
a792205
solana: test set integrators
bingyuyap Sep 25, 2024
e09a614
solana: test resgister transceiver
bingyuyap Sep 25, 2024
76effe2
solana: fix typo
bingyuyap Sep 25, 2024
b7af656
solana: fix ci
bingyuyap Sep 25, 2024
fbec7b7
solana: update tests
bingyuyap Sep 25, 2024
6ad86df
solana: fix format
bingyuyap Sep 25, 2024
15f9e3d
solana: attempt to add mermaid in README
bingyuyap Sep 25, 2024
b05e889
solana: add per chain transceiver
bingyuyap Sep 26, 2024
f02e538
cspell: add Pubkey to dictionary
bingyuyap Sep 26, 2024
2ef73a0
solana: chain_id u64 to u16
bingyuyap Sep 30, 2024
5d10608
solana: add missing DERIVE_SPACE
bingyuyap Sep 30, 2024
28b14ca
solana: separate transceivers to in and out transceivers
bingyuyap Oct 1, 2024
b0c9260
solana: documentations
bingyuyap Oct 1, 2024
2c6b84b
solana: next_transceiver_id to be 128 max
bingyuyap Oct 2, 2024
c45b44d
solana: check that register_transceiver throws error
bingyuyap Oct 2, 2024
68642df
solana: remove max transceivers reached
bingyuyap Oct 2, 2024
f38bf78
solana: review updates
bingyuyap Oct 2, 2024
c69f3b5
solana: remove register_integrator as integrator should be owned by u…
bingyuyap Oct 2, 2024
420ee56
solana: update test to remove integrator pda and use integrator
bingyuyap Oct 3, 2024
17fd9d6
solana: remove integrator from readme
bingyuyap Oct 3, 2024
0de6c77
solana: remove owner and paused
bingyuyap Oct 5, 2024
05d37b3
solana: fix downstream effects of removing owner and paused
bingyuyap Oct 5, 2024
fa5b637
solana add check comment for integrator
bingyuyap Oct 5, 2024
62e8165
solana: address review comments
bingyuyap Oct 5, 2024
2bfc54c
solana: fix anchor test
bingyuyap Oct 5, 2024
1636d09
solana: fix tests and unused imports
bingyuyap Oct 5, 2024
bc67e83
solana: update integrator to be a pda instead of an user account
bingyuyap Oct 5, 2024
8153457
solana: check for authorities
bingyuyap Oct 5, 2024
bee233f
solana: update readme
bingyuyap Oct 5, 2024
7deb609
solana: add pda derivations
bingyuyap Oct 5, 2024
b759866
solana: update integrator to integrator_program
bingyuyap Oct 7, 2024
4cef3d1
solana: fix readme format
bingyuyap Oct 7, 2024
6e27a67
solana: update readme
bingyuyap Oct 8, 2024
03a0f71
solana: add initialize_integrator_config
bingyuyap Oct 8, 2024
5ca5860
solana: initialize_integrator_chain_transceivers
bingyuyap Oct 8, 2024
901d1ff
solana: register_transceiver
bingyuyap Oct 8, 2024
03e2d57
solana: remove initialize
bingyuyap Oct 8, 2024
484c2e1
solana: remove initialized from anchor tests
bingyuyap Oct 8, 2024
1c8fad8
solana: debugging reinitialization bug
bingyuyap Oct 8, 2024
aa3af15
solana: fix tests
kcsongor Oct 8, 2024
6f7e68d
solana: remove test context
bingyuyap Oct 8, 2024
30ec828
solana: add reinitialization tests
bingyuyap Oct 8, 2024
559e23e
solana: simple test for set_in_transceivers
bingyuyap Oct 9, 2024
3c44646
solana: set_transceivers tests
bingyuyap Oct 9, 2024
33f7270
solana: tests for set_transceivers
bingyuyap Oct 9, 2024
4dfa706
solana: update readmne
bingyuyap Oct 9, 2024
aaef15f
solana: update tests for initialize_integrator_config
bingyuyap Oct 9, 2024
e2977d7
solana: update initialize_integrator_chain_transceivers tests
bingyuyap Oct 9, 2024
f0fb6a7
solana: enforce that integrator_program is a signer
bingyuyap Oct 9, 2024
4c04331
solana: authority -> owner
bingyuyap Oct 9, 2024
fd416e4
solana: fix ci errors
bingyuyap Oct 9, 2024
2ba5be9
solana: fix review comments
bingyuyap Oct 9, 2024
90f36e5
solana: assign context current blockhash
bingyuyap Oct 9, 2024
ecb729a
solana: update registered_transceiver to be seeded by transceiver add…
bingyuyap Oct 11, 2024
50a378f
solana: (WIP) set transceivers errors
bingyuyap Oct 11, 2024
cafe8f1
solana: add set out transceivers
bingyuyap Oct 11, 2024
cafc267
solana: update naming
bingyuyap Oct 12, 2024
c7ff7e5
solana: update names
bingyuyap Oct 12, 2024
b784a52
solana: update tests again
bingyuyap Oct 12, 2024
41537db
solana: improve readme
bingyuyap Oct 12, 2024
265beac
solana: update readme
bingyuyap Oct 12, 2024
a6e880d
solana: fix ci
bingyuyap Oct 12, 2024
a2b8f90
solana: add program structure
bingyuyap Oct 12, 2024
99468b0
solana: remove unused var
bingyuyap Oct 12, 2024
2b9d65c
solana: remove unused erorr
bingyuyap Oct 12, 2024
64783dc
solana: somehow didn't push some changes
bingyuyap Oct 12, 2024
eb1e6df
solana: format
bingyuyap Oct 12, 2024
56810eb
solana: renaming
bingyuyap Oct 14, 2024
bef7d19
solana: rename transfer_integrator_config_ownership to update_admin
bingyuyap Oct 14, 2024
252e0d8
solana: make integrator_chain_transceivers init-if-need
bingyuyap Oct 14, 2024
8ab2794
solana: remove initialize_integrator_chain_transceivers
bingyuyap Oct 14, 2024
fa1be43
solana: integrator_chain_transceivers -> integrator_chain_config
bingyuyap Oct 14, 2024
8c6d2c4
solana: update readme
bingyuyap Oct 14, 2024
8f707c3
solana: update transceiver info naming
bingyuyap Oct 14, 2024
e88d8d6
solana: update readmne
bingyuyap Oct 14, 2024
aab8774
solana: use pda as a signer for register
bingyuyap Oct 14, 2024
447514a
solana: working cpi call
bingyuyap Oct 15, 2024
17e29f3
solana: move register from router to mock
bingyuyap Oct 15, 2024
7501da2
solana: move router register_transceiver test to mock_integrator
bingyuyap Oct 15, 2024
6f3a5ea
solana: move set_transceivers to mock-integrator
bingyuyap Oct 15, 2024
bc0907a
solana: move update_admin to mock-integrator
bingyuyap Oct 15, 2024
43ca7dd
solana: clean up
bingyuyap Oct 15, 2024
26cbe4a
solana: format
bingyuyap Oct 15, 2024
07b2b56
solana: clean up
bingyuyap Oct 15, 2024
eb49428
solana: add disable_transceivers
bingyuyap Oct 16, 2024
e800d22
solana: delete tests from router
bingyuyap Oct 16, 2024
1db269e
solana: throw if transceiver already enabled/disabled
bingyuyap Oct 16, 2024
01e8aa1
solana: clean up find_program_address
bingyuyap Oct 16, 2024
73e722d
solana: unify all get_accounts to use common helper
bingyuyap Oct 16, 2024
c66a471
solana: address more review comments
bingyuyap Oct 16, 2024
0bcf1fd
solana: update documentation
bingyuyap Oct 16, 2024
496bff5
solana: update readme
bingyuyap Oct 16, 2024
4936056
solana: update admin word
bingyuyap Oct 16, 2024
bc105b9
solana: address PR comments
bingyuyap Oct 18, 2024
61c60fb
pr comments
bingyuyap Oct 24, 2024
e9977f3
pr comments 2
bingyuyap Oct 24, 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
2 changes: 2 additions & 0 deletions .cspell/custom-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ struct
thresholding
trustlessness
upgradability
Pubkey
struct
1 change: 1 addition & 0 deletions .github/workflows/svm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:

- run: cargo fmt --check --all
- run: cargo clippy
- run: cargo test-sbf
- run: cargo test
3 changes: 2 additions & 1 deletion svm/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ resolution = true
skip-lint = false

[programs.localnet]
svm = "Gfo1Jn4zHvc8BBGWNPQpNDZob5DsG2bhmS4wEA2GKFx6"
mock-integrator = "B86KSKnHBRiJeDcP7vwaXuxfkqfChZmYKBqh4dkLYEpj"
router = "7qtLhNMdb9dNAWwFvNBMok64EJrS1toY9TQoedVhU1xp"

[registry]
url = "https://api.apr.dev"
Expand Down
Loading
Loading