Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
345 commits
Select commit Hold shift + click to select a range
0a01ad2
Merge branch 'bmuddha/epic/rpc' into thlorenz/chainlink
thlorenz Sep 11, 2025
720b652
chore: preliminary removal of services we'll deprecate
thlorenz Sep 11, 2025
214ed6a
chore: fix remaining build errors in ix tests mainly around test-kit
thlorenz Sep 11, 2025
2f9c8ab
chore: use validator auth for program deploy
thlorenz Sep 11, 2025
7660a6d
feat: ensure account with chainlink for get_account_info
thlorenz Sep 11, 2025
8002d7c
chore: add task to start ephem validator only for cloning
thlorenz Sep 11, 2025
87bdae5
chore: set validator identity to be privileged
thlorenz Sep 11, 2025
df16095
chore: temporary way to basically disable chainlink
thlorenz Sep 11, 2025
95d7680
fix: refactor Stop the World locking behavior
bmuddha Sep 12, 2025
755f495
chore: pull out topup related methods from chainlink
thlorenz Sep 12, 2025
1bdcee0
chore: adapt dlp interface for use in ix tests that cannot crash
thlorenz Sep 12, 2025
6eb222f
test: get_account_info
thlorenz Sep 12, 2025
e9f691c
chore: improve RUST_LOG setup
thlorenz Sep 12, 2025
8d89f65
chore: fix topup to delegate to validator
thlorenz Sep 12, 2025
ca12368
fix: add cors support with proper headers
bmuddha Sep 12, 2025
650321d
chore: rip out account mod from account + all uses
thlorenz Sep 13, 2025
2c2810d
feat: modifications include delegated flag
thlorenz Sep 13, 2025
d086151
wip: escrow transfer test
thlorenz Sep 15, 2025
783df49
chore: temporarily use local magicblock-svm version
thlorenz Sep 13, 2025
f847030
feat: support getMultipleAccounts RPC call
thlorenz Sep 15, 2025
6d0c0c7
fix: get signature_statuses to return None for confirmation status
thlorenz Sep 15, 2025
282d6f5
chore: test transfer from escrowed account to delegated
thlorenz Sep 15, 2025
0f6afc1
feat: add loader v4
thlorenz Sep 15, 2025
da2137b
feat: allow writing to executable data during account mutation
thlorenz Sep 16, 2025
04e6637
feat: working up until we run into max instruction trace length
thlorenz Sep 16, 2025
b6bd791
feat: loading + deploying program but exec tx disappears
thlorenz Sep 16, 2025
bb366d1
chore: initial program deploy test
thlorenz Sep 17, 2025
20f70c7
chore: program can execute when cloned as part of same transaction
thlorenz Sep 17, 2025
afe0a88
chore: update ix test Cargo.lock
thlorenz Sep 17, 2025
6921bbe
feat: fix first program use by waiting for next slot on program clone
thlorenz Sep 17, 2025
fe69641
chore: complete test loading v4 into v4
thlorenz Sep 17, 2025
667e804
chore: limit max concurrency when deploying v4 program in tests
thlorenz Sep 17, 2025
17a626f
chore: minor clippy fixes
thlorenz Sep 17, 2025
81cd1fa
chore: fix v4 -> v4 loader test
thlorenz Sep 17, 2025
a980243
chore: test v2 -> v4 deploy including checking execution logs
thlorenz Sep 17, 2025
d50e498
chore: able to deploy bpf_loader_v1 programs
thlorenz Sep 17, 2025
ae559c4
chore: setup redeploy test
thlorenz Sep 17, 2025
6960482
chore: allow overriding RUST_LOG_STYLE
thlorenz Sep 17, 2025
ecd8f75
chore: all setup tasks use no RUST_LOG_STYLE
thlorenz Sep 17, 2025
b0513e5
chore: minor makefile fix
thlorenz Sep 17, 2025
8f92284
feat: don't clone program accounts that are redacted
thlorenz Sep 17, 2025
00287a4
chore: quick fix to handle program updates on subscription
thlorenz Sep 17, 2025
5073887
chore: cleanup program clone on sub update
thlorenz Sep 19, 2025
0b4e516
feat: assign chain auth as part of loader v4 deploy
thlorenz Sep 19, 2025
d21d0e2
feat: prepping lookup tables on clone of regular delegated account
thlorenz Sep 19, 2025
960490b
feat: hook up simplified schedule commit processing (removed feepayer)
thlorenz Sep 19, 2025
7f8e45b
fix: _old_ program cloning test
thlorenz Sep 19, 2025
7dfc4ad
chore: remove obsolete cloning tests
thlorenz Sep 19, 2025
a297272
chore: renumber cloning tests
thlorenz Sep 19, 2025
d27b6cc
chore: remove diagnostics hack
thlorenz Sep 19, 2025
a2f39d1
chore: parallelize cloning
thlorenz Sep 19, 2025
8ee7304
chore: minor cleanup
thlorenz Sep 19, 2025
e28ea80
chore: add test that reproduces lockup
thlorenz Sep 22, 2025
0fe90b1
chore: another test to triage lockup
thlorenz Sep 22, 2025
27eaf78
chore: multiple tests to diagnose tx lockup
thlorenz Sep 22, 2025
0b87bae
chore: add missing custom cloner module
thlorenz Sep 22, 2025
c0863b1
chore: add cloning test util
thlorenz Sep 22, 2025
bcb7553
fix: increase the ready queue for txn executor to avoid deadlocks
bmuddha Sep 22, 2025
93a2b1d
chore: improve tx scheduling logging
thlorenz Sep 23, 2025
3006231
chore: finalize parallel cloning tests
thlorenz Sep 23, 2025
3d19374
chore: add cda derive method to core
thlorenz Sep 24, 2025
abb27c0
feat: implementing initial photon client
thlorenz Sep 24, 2025
0ad7a9d
feat: photon client get_multiple_accounts with compression
thlorenz Sep 24, 2025
9eb7edc
chore: trait for photon client
thlorenz Sep 24, 2025
31fef26
chore: extract fetch from rpc method
thlorenz Sep 24, 2025
862805f
chore: integrate photon client
thlorenz Sep 24, 2025
227e65f
feat: consolidating rpc accounts with compressed ones
thlorenz Sep 24, 2025
2c7240b
chore: add photon client mock for testing
thlorenz Sep 25, 2025
8d35d25
chore: add tests for photon integration
thlorenz Sep 25, 2025
1ce8fcc
chore: update ix tests to photon client addition
thlorenz Sep 25, 2025
ec3a616
chore: use local solana-account temporarily
thlorenz Sep 25, 2025
2394a06
chore: photon client logs url on creation
thlorenz Sep 25, 2025
4f5697f
chore: temporarily create photon client from hardcoded url
thlorenz Sep 25, 2025
52f7d9b
chore: use local light-client temporarily
thlorenz Sep 25, 2025
40ebbd0
chore: adapt photon client to partially fixed light-client API
thlorenz Sep 25, 2025
d49531b
chore: logging account (pda/cda)s we fetch from photon
thlorenz Sep 25, 2025
62ce9fe
feat: forwarding compressed info and cleaning up account processing
thlorenz Sep 25, 2025
67a7bda
feat: set compressed flag + ensure rent excempt on clone
thlorenz Sep 25, 2025
c17db4b
chore: fix + simplify compressed flag propagation
thlorenz Sep 25, 2025
3cf2848
feat: clone compressed accounts without adding rent excemption
thlorenz Sep 26, 2025
7687fe6
chore: use git deps
Dodecahedr0x Oct 8, 2025
25759b1
fix: address derivation v2
Dodecahedr0x Oct 10, 2025
96f619f
feat: read delegation record
Dodecahedr0x Oct 10, 2025
27e7dcb
hack: mark compressed account as delegated
Dodecahedr0x Oct 10, 2025
b037a98
fix: mark funded accounts as delegated
Dodecahedr0x Oct 14, 2025
bfde8e6
feat: compressed undelegation
Dodecahedr0x Oct 17, 2025
00600b6
Merge branch 'thlorenz/chainlink' into dode/compression-clone
Dodecahedr0x Oct 18, 2025
c2709f1
fix: fetch record on notification
Dodecahedr0x Oct 20, 2025
c2d4e10
Merge branch 'thlorenz/chainlink' into dode/compression-clone
Dodecahedr0x Oct 20, 2025
2fd5608
style: linting
Dodecahedr0x Oct 24, 2025
a15bf9e
Merge branch 'master' into dode/compression-clone
Dodecahedr0x Oct 25, 2025
ad82d62
test: chainlink compression
Dodecahedr0x Oct 31, 2025
d61244e
test: chainlink integration tests
Dodecahedr0x Nov 7, 2025
def9f3d
test: compressed commit preparation
Dodecahedr0x Nov 11, 2025
1cadde2
test: ix commit local compressed
Dodecahedr0x Nov 12, 2025
a8cc1b8
test: multiple compressed commits
Dodecahedr0x Nov 17, 2025
65599fb
hotfix: increate finalize + commit compute units (#585)
taco-paco Oct 26, 2025
b0bbc68
fix: resolve stuck accounts in process of undelegation (#595)
thlorenz Oct 28, 2025
a0d498d
fix: remove race condition between pings and request response (#600)
GabrielePicco Oct 30, 2025
e9aff7b
feat: cancel prev CI workflows if there are newer commits (#601)
GabrielePicco Oct 30, 2025
217ed6c
fix: correct transaction indexing (#603)
bmuddha Oct 31, 2025
119e0dc
Rpc/execution related metrics (#584)
bmuddha Oct 31, 2025
a0f0ba3
fix: correct log imports (#606)
bmuddha Oct 31, 2025
53c6957
fix: support binary opcode (#604)
GabrielePicco Oct 31, 2025
47c458d
Handle uncleaned buffers + generalized tx send retries (#597)
taco-paco Nov 1, 2025
19a5e9b
feat: parallel CI integration tests (#605)
lucacillario Nov 2, 2025
ee533bc
chore: broaden dependency range on the magic program api (#609)
GabrielePicco Nov 3, 2025
20b3393
fix: don't increment subscription id for dups (#610)
bmuddha Nov 4, 2025
53c417c
feat: add metrics for intent execution time (#607)
taco-paco Nov 4, 2025
267a0af
hotfix: unregistered metric COMMITTOR_INTENT_CU_USAGE (#612)
taco-paco Nov 4, 2025
95bffb8
Fix scheduling of commits where accounts aren't delegated, or are del…
taco-paco Nov 7, 2025
c949dec
fix: fetching CUs for metrics (#623)
taco-paco Nov 12, 2025
aa5664d
feat: return ledger + accountsdb metrics (#624)
taco-paco Nov 13, 2025
397b9b3
fix: move delete onto separate thread (#629)
taco-paco Nov 14, 2025
4d23f81
chore: replace branch with rev
Dodecahedr0x Nov 18, 2025
220b13e
chore: remove unused function
Dodecahedr0x Nov 18, 2025
484bdcb
refactor: use account_shared_with_owner_and_slot
Dodecahedr0x Nov 18, 2025
b40bae3
feat: replace unwrap with explicit expect
Dodecahedr0x Nov 18, 2025
206acb4
feat: compression config
Dodecahedr0x Nov 18, 2025
32a2b32
feat: simplified destructuring
Dodecahedr0x Nov 18, 2025
126961e
feat: build safe strategies
Dodecahedr0x Nov 19, 2025
e954414
feat: dispatch commit
Dodecahedr0x Nov 19, 2025
50ac295
fix: mutate account assertion
Dodecahedr0x Nov 19, 2025
c9848de
feat: schedule commit ix helper
Dodecahedr0x Nov 19, 2025
dcfccde
refactor: remove unused args
Dodecahedr0x Nov 19, 2025
511d36d
docs: remaining light accounts
Dodecahedr0x Nov 19, 2025
614e9a0
feat: remove unused accounts
Dodecahedr0x Nov 19, 2025
9398b05
feat: magic program check
Dodecahedr0x Nov 19, 2025
025de8c
feat: remove flexi counter cpi signer
Dodecahedr0x Nov 19, 2025
c3f10f5
feat: checked sub
Dodecahedr0x Nov 19, 2025
0d9a1d9
feat: remove const discriminator
Dodecahedr0x Nov 19, 2025
7909c49
feat: checked sub
Dodecahedr0x Nov 19, 2025
d400b8f
feat: build instruction helper
Dodecahedr0x Nov 19, 2025
e52cb8a
feat: avoid nested serialization
Dodecahedr0x Nov 19, 2025
031766d
style: fix typo
Dodecahedr0x Nov 19, 2025
808de63
feat: single photon url const
Dodecahedr0x Nov 19, 2025
8d33ac8
feat: remove sleep
Dodecahedr0x Nov 19, 2025
73429b7
feat: simplify args parsing
Dodecahedr0x Nov 19, 2025
a007a33
refactor: make prover port explicit
Dodecahedr0x Nov 19, 2025
aa0b595
refactor: remove borsh-derive dep
Dodecahedr0x Nov 19, 2025
ca78cbe
feat: use configured photon url
Dodecahedr0x Nov 19, 2025
765b238
feat: prevent no rpc endpoints
Dodecahedr0x Nov 19, 2025
658fcef
test: fix account not found
Dodecahedr0x Nov 19, 2025
6754543
feat: retry indexer error
Dodecahedr0x Nov 19, 2025
a027539
docs: fix fetch record doc
Dodecahedr0x Nov 19, 2025
898180b
feat: task info fetcher error
Dodecahedr0x Nov 19, 2025
b4b4ac7
feat: compressed data reference
Dodecahedr0x Nov 19, 2025
49d4246
feat: simplify ci flag logic
Dodecahedr0x Nov 20, 2025
6beacba
docs: add issue for ephemeral payer to undelegate
Dodecahedr0x Nov 20, 2025
5c18ab1
feat: compressed commit must fetch compressed data
Dodecahedr0x Nov 20, 2025
8c8d7d7
fix: cloned compressed data
Dodecahedr0x Nov 20, 2025
1249410
feat: use derive CDA
Dodecahedr0x Nov 20, 2025
3dd8b8d
hotfix: increate finalize + commit compute units (#585)
taco-paco Oct 26, 2025
bd63cff
fix: remove race condition between pings and request response (#600)
GabrielePicco Oct 30, 2025
b9c009c
feat: cancel prev CI workflows if there are newer commits (#601)
GabrielePicco Oct 30, 2025
9addfad
Rpc/execution related metrics (#584)
bmuddha Oct 31, 2025
f16d403
fix: correct log imports (#606)
bmuddha Oct 31, 2025
f82ecb8
fix: support binary opcode (#604)
GabrielePicco Oct 31, 2025
daaece0
Handle uncleaned buffers + generalized tx send retries (#597)
taco-paco Nov 1, 2025
685efba
chore: broaden dependency range on the magic program api (#609)
GabrielePicco Nov 3, 2025
156edc2
feat: add metrics for intent execution time (#607)
taco-paco Nov 4, 2025
7332349
fix: capping solana program version due to transit dependency issue
jonasXchen Nov 17, 2025
95c4d67
fix: set caps for bincode and serde dependencies
jonasXchen Nov 17, 2025
2947c65
chore: dependency update in Cargo.lock file
jonasXchen Nov 18, 2025
d515550
feat: replace task context with thread-local storage (#614)
Dodecahedr0x Nov 19, 2025
ad58da0
feat: use per-branch cache keys for Integration Tests CI (#641)
lucacillario Nov 19, 2025
e3f6b4f
feat: enhance subscription management with metrics and reconnection (…
thlorenz Nov 19, 2025
f292d06
fix: allow auto airdrop to pay for rent & simulate inner instructions…
GabrielePicco Nov 19, 2025
fcf3260
feat: persist all accounts (#648)
GabrielePicco Nov 20, 2025
ba44f5c
fix: use assert with retries
Dodecahedr0x Nov 20, 2025
a8c8af5
Merge branch 'master' into dode/compression-clone
Dodecahedr0x Nov 20, 2025
b1ca4ab
fix: merge conflict
Dodecahedr0x Nov 20, 2025
6ea3e38
fix(aperture): prevent racy getLatestBlockhash (#649)
bmuddha Nov 20, 2025
6560e64
chore: add access-control-max-age header to cors (#654)
lucacillario Nov 20, 2025
67f32b6
fix: better transaction diagnostics & rent exemption check (#642)
bmuddha Nov 20, 2025
7d12081
chore: update solana account (#660)
GabrielePicco Nov 20, 2025
f3b8b8d
feat: use latest svm version (#657)
bmuddha Nov 20, 2025
26a573c
perf: allow pubsub actor messages to be handled in parallel (#659)
thlorenz Nov 21, 2025
4aaf260
feat: ActionArgs::default() to abstract escrow_index (#662)
jonasXchen Nov 21, 2025
4d952ff
feat: detecting accounts stuck in undelegating state and fixing that …
thlorenz Nov 21, 2025
41f8e89
chore: add CodeRabbit configuration (#666)
thlorenz Nov 21, 2025
7b3ed25
fix: git conflict
Dodecahedr0x Nov 21, 2025
1d2b10f
feat: check magic program id
Dodecahedr0x Nov 21, 2025
a00f6e3
docs: comment on lamports
Dodecahedr0x Nov 21, 2025
4834c78
feat: use commit slot for indexer
Dodecahedr0x Nov 24, 2025
897d9b9
feat: preserve error
Dodecahedr0x Nov 24, 2025
193e13f
fix: missing parameter
Dodecahedr0x Nov 24, 2025
e3f4a85
style: unused dep
Dodecahedr0x Nov 24, 2025
abc2e20
refactor: unify imports
Dodecahedr0x Nov 24, 2025
922d287
feat: set remote slot
Dodecahedr0x Nov 24, 2025
263cfd7
refactor: build instruction
Dodecahedr0x Nov 24, 2025
f62d9f2
test: inconsistent compression
Dodecahedr0x Nov 24, 2025
75c8dd7
fix: rent epoch mutate account
Dodecahedr0x Nov 24, 2025
cea8fe9
fix: mutable accounts for undelegation
Dodecahedr0x Nov 24, 2025
0bf03c1
docs: fix comment
Dodecahedr0x Nov 24, 2025
ca41148
refactor: remove duplicate pack trees
Dodecahedr0x Nov 24, 2025
7e1b235
fix: prepare task
Dodecahedr0x Nov 24, 2025
c470f03
feat: explicit error
Dodecahedr0x Nov 24, 2025
4b30a86
feat: avoid expect
Dodecahedr0x Nov 24, 2025
f3f32d8
refactor: use workspace version
Dodecahedr0x Nov 24, 2025
8f5fa5c
feat: avoid unecessary clone
Dodecahedr0x Nov 24, 2025
67757b2
feat: remove unused macro
Dodecahedr0x Nov 24, 2025
7eec561
feat: task info fetcher metric
Dodecahedr0x Nov 24, 2025
068b10b
fix: compressed undelegation builder
Dodecahedr0x Nov 24, 2025
241c427
feat: replace panic with error
Dodecahedr0x Nov 24, 2025
bcd1a5e
feat: remove unecessary clone
Dodecahedr0x Nov 24, 2025
0571676
fix: better transaction diagnostics & rent exemption check (#642)
bmuddha Nov 20, 2025
60e1fa7
fix: enable CodeRabbit reviews for non-base PRs (#669)
thlorenz Nov 21, 2025
15d5517
chore: preserve undelegating and delegated accounts on startup (#670)
thlorenz Nov 21, 2025
b77f95f
fix: don't check for empty account with data (#671)
bmuddha Nov 21, 2025
8efbe45
release: v0.2.4 (#672)
jonasXchen Nov 22, 2025
0865173
Strip failed undelegations (#640)
taco-paco Nov 22, 2025
2d513dd
feat: add missing rpc methods and CORS headers (#663)
bmuddha Nov 22, 2025
32083fd
release: v3.0.0 (#673)
jonasXchen Nov 22, 2025
3c1d1d0
chore: batch LoaderV3 program data fetching (#668)
thlorenz Nov 22, 2025
ca8cc93
feat: account fetch metrics fine-grained by RPC origin (#677)
thlorenz Nov 22, 2025
0753748
chore: change ActionArgs::default to ::new (#678)
jonasXchen Nov 23, 2025
f3f71fb
chore: bring back CodeRabbit AI agent prompts (#674)
thlorenz Nov 23, 2025
d6a17da
release: v0.3.1 (#679)
jonasXchen Nov 23, 2025
2b649f3
fix: double undelegation (#676)
taco-paco Nov 23, 2025
e7d6fdb
Merge branch 'master' into dode/compression-clone
Dodecahedr0x Nov 24, 2025
66a9ffc
feat: use match
Dodecahedr0x Nov 24, 2025
63441a9
feat: shorter args
Dodecahedr0x Nov 24, 2025
36bba5e
feat: assert special ids
Dodecahedr0x Nov 24, 2025
8f70d2b
feat: reuse values
Dodecahedr0x Nov 24, 2025
f725da7
feat: avoid cloning
Dodecahedr0x Nov 24, 2025
4ed862b
fix: merge conflicts
Dodecahedr0x Nov 25, 2025
ef7fdb5
feat: set slot
Dodecahedr0x Nov 25, 2025
d9d1fd2
feat: persist not needed preparation
Dodecahedr0x Nov 25, 2025
34b70ca
style: log proper data
Dodecahedr0x Nov 25, 2025
9c5a4d0
style: log error
Dodecahedr0x Nov 25, 2025
ba2a791
fix: remove duplicate function
Dodecahedr0x Nov 25, 2025
c502d1d
Merge branch 'master' into dode/compression-clone
Dodecahedr0x Nov 25, 2025
73d95e3
style: use slot variable
Dodecahedr0x Nov 25, 2025
a1b5a95
feat: assert min slot
Dodecahedr0x Nov 25, 2025
2ccdb8c
feat: ensure all lamports are returned
Dodecahedr0x Nov 25, 2025
43f1c6a
feat: explicit match
Dodecahedr0x Nov 25, 2025
6268cdb
fix: missing variants
Dodecahedr0x Nov 25, 2025
ce731cc
fix: fix expected strategies
Dodecahedr0x Nov 25, 2025
f9b6d76
fix: matched owner
Dodecahedr0x Nov 25, 2025
1b9ec18
style: replace and_then with map
Dodecahedr0x Nov 25, 2025
fc0af6d
feat: consistent commit processing
Dodecahedr0x Nov 25, 2025
9fc2b6d
Merge branch 'master' into dode/compression-clone
Dodecahedr0x Nov 26, 2025
397a309
feat: remove unwraps
Dodecahedr0x Nov 27, 2025
dff902a
feat: default to normal accounts
Dodecahedr0x Nov 27, 2025
47008c4
style: fix typo
Dodecahedr0x Nov 27, 2025
d56ecd9
feat: parallel compressed data fetching
Dodecahedr0x Nov 27, 2025
3720eaf
feat: remove unecessary clone
Dodecahedr0x Nov 27, 2025
66a4838
docs: explain behavior
Dodecahedr0x Nov 27, 2025
51a424a
docs: explain retries
Dodecahedr0x Nov 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
10 changes: 10 additions & 0 deletions .github/workflows/ci-test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:

- uses: ./magicblock-validator/.github/actions/setup-solana

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install zk-compression CLI
run: |
npm i -g @lightprotocol/zk-compression-cli@0.27.1-alpha.2
shell: bash

- name: Build project and test programs
run: |
cargo build --locked
Expand Down
64 changes: 31 additions & 33 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ on:
types: [published]
push:
branches:
- 'release/v*'
- "release/v*"
workflow_dispatch:
inputs:
release_version:
description: 'The release version'
description: "The release version"
required: true
default: 'v0.1.0'
default: "v0.1.0"

jobs:
publish-binaries:
Expand All @@ -26,35 +26,35 @@ jobs:
matrix:
build:
- {
NAME: linux-x64-glibc,
OS: ubuntu-latest,
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-gnu
}
NAME: linux-x64-glibc,
OS: ubuntu-latest,
TOOLCHAIN: stable,
TARGET: x86_64-unknown-linux-gnu,
}
- {
NAME: linux-arm64-glibc,
OS: arm64,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-gnu
}
NAME: linux-arm64-glibc,
OS: arm64,
TOOLCHAIN: stable,
TARGET: aarch64-unknown-linux-gnu,
}
- {
NAME: win32-x64-msvc,
OS: windows-latest,
TOOLCHAIN: stable,
TARGET: x86_64-pc-windows-msvc
}
NAME: win32-x64-msvc,
OS: windows-latest,
TOOLCHAIN: stable,
TARGET: x86_64-pc-windows-msvc,
}
- {
NAME: darwin-x64,
OS: macos-latest,
TOOLCHAIN: stable,
TARGET: x86_64-apple-darwin
}
NAME: darwin-x64,
OS: macos-latest,
TOOLCHAIN: stable,
TARGET: x86_64-apple-darwin,
}
- {
NAME: darwin-arm64,
OS: macos-latest,
TOOLCHAIN: stable,
TARGET: aarch64-apple-darwin
}
NAME: darwin-arm64,
OS: macos-latest,
TOOLCHAIN: stable,
TARGET: aarch64-apple-darwin,
}
steps:
- name: Checkout this magicblock-validator
uses: actions/checkout@v4
Expand Down Expand Up @@ -219,14 +219,12 @@ jobs:
working-directory: magicblock-magic-program-api/
run: |
DRY_RUN_FLAG=""
NO_VERIFY_FLAG=""
if [ "${DRY_RUN}" = "true" ]; then
DRY_RUN_FLAG="--dry-run"
fi

if [ "${DRY_RUN}" = "true" ]; then
NO_VERIFY_FLAG="--no-verify"
fi
fi
cargo publish $DRY_RUN_FLAG --manifest-path=./Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
DRY_RUN: ${{ env.DRY_RUN }}
DRY_RUN: ${{ env.DRY_RUN }}
Loading