Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
e6fcc9d
update binary port error handling
EdHastingsCasperAssociation Apr 17, 2025
5221b24
Merge remote-tracking branch 'upstream/dev' into forced_undelegation
EdHastingsCasperAssociation Apr 17, 2025
0ffe5e7
merging with dev
zajko Apr 17, 2025
a621f93
vesting lockout refinement
EdHastingsCasperAssociation Apr 17, 2025
484107e
faucet cost change (why do we even have this?)
EdHastingsCasperAssociation Apr 17, 2025
55b7e55
Merge pull request #5216 from EdHastingsCasperAssociation/forced_unde…
EdHastingsCasperAssociation Apr 18, 2025
f219311
Merge remote-tracking branch 'upstream/dev' into transactions_tests_r…
zajko Apr 18, 2025
4a39878
Merge pull request #5215 from zajko/transactions_tests_refactor
zajko Apr 18, 2025
4d103da
One env_info to rule them all
Apr 18, 2025
139feeb
Merge branch 'dev' of github.com:casper-network/casper-node into env_…
Apr 18, 2025
7f0b5f1
Merge branch 'dev' into gh-5195-purge-global-state-entries
mpapierski Apr 18, 2025
d041260
name changes
igor-casper Apr 18, 2025
aef5c72
fmt
igor-casper Apr 18, 2025
e033744
comment touchup
igor-casper Apr 18, 2025
09e9d79
comment clarity
igor-casper Apr 18, 2025
f6f2411
Merge branch 'dev' into vm2-collections
igor-casper Apr 18, 2025
a8be22b
Merge pull request #5218 from igor-casper/vm2-collections
igor-casper Apr 22, 2025
86d3695
Merge branch 'dev' into gh-5195-purge-global-state-entries
mpapierski Apr 22, 2025
d81e6f1
Update collections with removal api
mpapierski Apr 23, 2025
385bdea
Merge branch 'dev' of github.com:casper-network/casper-node into env_…
Apr 24, 2025
bd2ccd4
Better env_info
Apr 24, 2025
ddf1bef
Added more tests for arguments of native auction v1 transactions
zajko Apr 23, 2025
1b08ae5
Fix clippy issues
mpapierski Apr 24, 2025
4248fce
Fix linter
mpapierski Apr 24, 2025
528aeeb
Cleanup for testing
Apr 25, 2025
7dbc817
Merge pull request #5223 from zajko/chainspec_checks_for_auction_tran…
zajko Apr 25, 2025
8d24bb0
Merge pull request #5213 from mpapierski/gh-5195-purge-global-state-e…
mpapierski Apr 25, 2025
08b138c
Expand env_info()
Apr 25, 2025
0683b56
Merge branch 'dev' of github.com:casper-network/casper-node into env_…
Apr 28, 2025
a50e1bb
cleanup macros
Apr 28, 2025
791726d
Cost for parameters of env_info()
Apr 28, 2025
e8cba5b
Apply suggestions
Apr 29, 2025
bf12947
bridge rev lookup
EdHastingsCasperAssociation Apr 29, 2025
9999b20
lint
EdHastingsCasperAssociation Apr 29, 2025
69e699e
Switch to u64 balances completely
mpapierski Apr 28, 2025
5b225b6
faucet cost
EdHastingsCasperAssociation Apr 30, 2025
d7f8d47
WIP exported contrib trait
mpapierski Apr 30, 2025
87383b8
removing redundant comments
EdHastingsCasperAssociation Apr 30, 2025
a23bee2
handle errors in host
igor-casper May 2, 2025
9e53e22
Migrate to new datetime API
emmanuel-ferdman May 3, 2025
7db173d
fix doc errors
igor-casper May 5, 2025
cf81290
move to wasm common
igor-casper May 5, 2025
2086d23
Initial sketch for regression test
May 5, 2025
8ad45a0
Move LMDB without state.json
May 5, 2025
079a423
Add state.json
May 5, 2025
de2786c
Add call_package_version
May 5, 2025
865892e
Remove println
May 5, 2025
2eb6afc
fmt
igor-casper May 5, 2025
dc91190
add envinfo cost to chainspec
igor-casper May 5, 2025
95204ec
Address lints
May 6, 2025
ff253fa
Create contrib module with several useful traits
mpapierski May 6, 2025
4c30b61
remove todo comment
igor-casper May 7, 2025
3e60b5e
Fix linter
mpapierski May 7, 2025
f635e17
remove balance from env_info
igor-casper May 7, 2025
659733c
lint, fmt
igor-casper May 7, 2025
1a863a1
Merge pull request #5229 from darthsiroftardis/disable-version-bug-fix
EdHastingsCasperAssociation May 8, 2025
d128060
Merge pull request #5224 from EdHastingsCasperAssociation/forced_unde…
EdHastingsCasperAssociation May 8, 2025
4f8ca3f
Merge branch 'dev' into dev
EdHastingsCasperAssociation May 8, 2025
5cccf0c
Address review comments
mpapierski May 8, 2025
0803b7a
Merge pull request #5227 from emmanuel-ferdman/dev
EdHastingsCasperAssociation May 8, 2025
4c87839
Merge branch 'dev' into vm2-err-handling
igor-casper May 9, 2025
bcc55f7
Merge branch 'dev' into one_env_info
igor-casper May 9, 2025
5cc6d61
add caller info to env info
igor-casper May 9, 2025
a95d1ac
Merge branch 'one_env_info' of https://github.com/igor-casper/casper-…
igor-casper May 9, 2025
431d13a
Merge branch 'dev' into gh-5199-contrib
mpapierski May 9, 2025
a19fdab
address cr comments
igor-casper May 11, 2025
d44baae
fix chainspec
igor-casper May 11, 2025
6d0f243
Merge pull request #5228 from igor-casper/one_env_info
igor-casper May 12, 2025
e7da20e
Merge branch 'dev' into vm2-err-handling
igor-casper May 12, 2025
1831f78
Making TransactionInvocationTarget::ByPackageHash::version; Transacti…
zajko May 9, 2025
e0389bb
Code cleanup
zajko May 9, 2025
b2f21be
fmt check applied
zajko May 9, 2025
9656160
Update comments
mpapierski May 12, 2025
e6ad991
aligning tests
zajko May 12, 2025
273a14c
address cr feedback
igor-casper May 12, 2025
84561d9
lint
igor-casper May 12, 2025
bc7d3f8
disabling tests that cant be supported right now
zajko May 12, 2025
ce9f2cd
Merge branch 'dev' into gh-5199-contrib
mpapierski May 12, 2025
3e5382e
Merge pull request #5225 from igor-casper/vm2-err-handling
igor-casper May 13, 2025
14afc28
Merge remote-tracking branch 'upstream/dev' into transaction_invocati…
zajko May 13, 2025
bcabb64
Fix tests
mpapierski May 13, 2025
62f4062
Merge branch 'dev' into gh-5199-contrib
mpapierski May 13, 2025
201a83e
Update code
mpapierski May 13, 2025
dab0d72
Fix CI
mpapierski May 13, 2025
111d0ad
Fix rng
mpapierski May 13, 2025
ebdb27e
Update README.md
Olexandr88 May 13, 2025
6dbde41
Appliec CR suggestions
zajko May 13, 2025
14d6e29
Appliec CR suggestions
zajko May 13, 2025
ff0cc43
Appliec CR suggestions
zajko May 13, 2025
d18a212
Merge pull request #5230 from mpapierski/gh-5199-contrib
mpapierski May 14, 2025
ba0c9e2
Removing unused harness.
sacherjj May 14, 2025
eab7deb
Bump the size in binary_port config for large auction-info
sacherjj May 14, 2025
5952a49
Bump of casper-types to 5.0.1 to match published crates.
sacherjj May 14, 2025
5b63899
Merge pull request #5231 from zajko/transaction_invocation_target_hol…
zajko May 14, 2025
9112449
Merge pull request #5234 from sacherjj/update-binary-message-size
sacherjj May 14, 2025
6522525
Fix entrypoint deserialization in externa
May 14, 2025
4a26eab
Merge branch 'dev' into patch-1
EdHastingsCasperAssociation May 14, 2025
ff589d8
Fix entrypoint deserialization in externa
May 14, 2025
a9e9b49
Fix doc comment in cl_type.rs
May 15, 2025
5521543
Merge pull request #5235 from darthsiroftardis/entity-points
darthsiroftardis May 16, 2025
4b9c02a
SmartContract and Entity has same address
mpapierski May 15, 2025
32ef2fa
Ensure process doesnt panic with incorrect addr
mpapierski May 15, 2025
26d86f6
Merge branch 'dev' into patch-1
sacherjj May 16, 2025
4163fc2
Remove vestigial symlinks
mpapierski May 16, 2025
1c3b8ad
Merge pull request #5236 from mpapierski/remove-symlinks
mpapierski May 16, 2025
336d093
Merge branch 'dev' into patch-1
EdHastingsCasperAssociation May 19, 2025
df59dca
But workflows to 22.04
sacherjj May 19, 2025
c14e544
Removing unused AS contracts.
sacherjj May 19, 2025
db5eea2
Updated crates to publishable.
sacherjj May 20, 2025
2962591
Updating Cargo.toml to publishable formats with new packages.
sacherjj May 20, 2025
6ca6768
Fmt update.
sacherjj May 20, 2025
601eaad
Clippy fixes
sacherjj May 20, 2025
1712f37
Version bumps for release.
sacherjj May 20, 2025
d5f705b
Fixed Casper Network logo at the top and updated discord url
AmberleafCotton May 20, 2025
7748280
Linting fixes
sacherjj May 20, 2025
dfbc7fd
Merge pull request #5233 from Olexandr88/patch-1
sacherjj May 20, 2025
f7651ef
Update README.md
Olexandr88 May 21, 2025
e18dd7a
Merge pull request #5238 from AmberleafCotton/AmberleafCotton-fixes-1
sacherjj May 21, 2025
d9dd925
Merge pull request #5239 from Olexandr88/patch-2
sacherjj May 21, 2025
bcf1db0
docs: added a link to the social network Twitter
Olexandr88 May 21, 2025
04e1753
Enable bulk memory operation proposal
mpapierski May 21, 2025
2a180dd
Merge branch 'dev' into core-68-fix-code-not-found-error-panic
mpapierski May 21, 2025
3597537
uncheck vm2
mpapierski May 21, 2025
947cca7
Rolling back nightly partially to 2024-09-30
sacherjj May 21, 2025
02c03a3
Rolling back nightly to 2024-07-31
sacherjj May 21, 2025
07a33e4
Rolling back nightly to 2024-08-04, to pass make doc issue with backt…
sacherjj May 21, 2025
9a923bd
Undoing clippy fixes.
sacherjj May 21, 2025
105d721
Fix rust toolchain version
mpapierski May 22, 2025
7b17d4f
Downgrade backtrace to 0.3.74
mpapierski May 22, 2025
546f2bb
Merge pull request #5240 from Olexandr88/patch-3
sacherjj May 22, 2025
7425eca
Merge pull request #5237 from sacherjj/crate-publish-updates
sacherjj May 22, 2025
086815d
Cleanup pass of metadata.
sacherjj May 22, 2025
cd7f3ae
Merge pull request #5243 from sacherjj/cleanup-pass
sacherjj May 22, 2025
7b9e077
bump casper-wasm
igor-casper May 23, 2025
6a80492
Changing json serialization for 'version_key' of TransactionInvocatio…
zajko May 23, 2025
7a2b893
remove unwraps from tracking copy
EdHastingsCasperAssociation May 23, 2025
e7d471a
Merge remote-tracking branch 'upstream/dev' into dev
EdHastingsCasperAssociation May 23, 2025
86fe146
remove unused file
EdHastingsCasperAssociation May 23, 2025
2fa467e
Merge pull request #5245 from zajko/transaction_invocation_target_jso…
sacherjj May 24, 2025
8e8b4c3
Ensure ByPackageHash/ByPackageName is not accepted
mpapierski May 27, 2025
bfe00b9
Merge remote-tracking branch 'upstream/dev' into dev
EdHastingsCasperAssociation May 27, 2025
8bb8213
Merge branch 'dev' into core-68-fix-code-not-found-error-panic
mpapierski May 28, 2025
9214c27
Update smart_contracts/sdk/src/abi_generator.rs
mpapierski May 28, 2025
040af85
Casper-node to 2.0.2
sacherjj May 28, 2025
50e04de
adjust deps
igor-casper May 28, 2025
38a8ee0
Merge pull request #5248 from sacherjj/node-to-2.0.2
sacherjj May 28, 2025
57d857f
Fix test failure
mpapierski May 29, 2025
23b58e6
Merge pull request #5241 from mpapierski/core-68-fix-code-not-found-e…
mpapierski May 29, 2025
23bd69f
bump wasmi deps
igor-casper Jun 2, 2025
c1b284b
Merge remote-tracking branch 'origin/core-78' into core-78
igor-casper Jun 2, 2025
91a3e4f
update lockfile
igor-casper Jun 2, 2025
15223bd
adjust toolchain
igor-casper Jun 2, 2025
8e4c0ca
adjust do_nothing wasm execution cost
igor-casper Jun 2, 2025
39cd02d
adjust expected faucet costs
igor-casper Jun 2, 2025
9c828be
Initial wip
Jun 3, 2025
27d8377
update deps
igor-casper Jun 3, 2025
dc96725
Merge remote-tracking branch 'upstream/dev' into dev
EdHastingsCasperAssociation Jun 3, 2025
aa6a0b3
Basic case working. Pre-fixture tests
Jun 4, 2025
bfd486a
Initial fixture tests passing
Jun 4, 2025
d1143fe
Test case passing for disabled versions
Jun 5, 2025
b51ca5c
EE tests passing
Jun 5, 2025
0029db8
Additional fixture tests and PR prep
Jun 6, 2025
5b75878
Run make format
Jun 6, 2025
2b9707a
prefix macro exports with trait name
igor-casper Jun 8, 2025
137e179
bump toolchain
igor-casper Jun 9, 2025
26d5dcf
doc fix
igor-casper Jun 9, 2025
8e0546b
align smart contract toolchain to repo root
igor-casper Jun 9, 2025
bfcec54
Reverting flakiness mode
zajko Jun 9, 2025
e9aa024
Merge pull request #5251 from zajko/removing_flakiness_network_option
zajko Jun 10, 2025
c8a18dd
lint
igor-casper Jun 10, 2025
61be117
fix lints
igor-casper Jun 10, 2025
917036b
Merge branch 'dev' into core-78
igor-casper Jun 10, 2025
17e1b50
toolchain adjustment
igor-casper Jun 10, 2025
da6f2f6
Merge remote-tracking branch 'origin/core-78' into core-78
igor-casper Jun 10, 2025
22546b3
Merge branch 'dev' into core-63
igor-casper Jun 11, 2025
883cad2
Merge pull request #5250 from igor-casper/core-78
mpapierski Jun 11, 2025
1041473
Merge remote-tracking branch 'refs/remotes/upstream/dev' into change-…
Jun 11, 2025
6b50948
Add flag to engine config to return error
Jun 11, 2025
65c1df4
Add flag to chainspec.toml
Jun 11, 2025
a57b311
Address CI issues
Jun 12, 2025
509a075
Add contract runtime tests
Jun 12, 2025
7b77b0b
remove trait lowercasing
igor-casper Jun 16, 2025
b0c2fab
Merge branch 'dev' into core-63
igor-casper Jun 16, 2025
843bdd6
Merge remote-tracking branch 'origin/core-63' into core-63
igor-casper Jun 16, 2025
347a524
fix schema export
igor-casper Jun 16, 2025
49ce628
Revert logs to trace level
Jun 16, 2025
823beea
lint, fmt
igor-casper Jun 16, 2025
94cd573
Address lint issues
Jun 16, 2025
cf01e23
Merge pull request #5253 from darthsiroftardis/change-package-version…
darthsiroftardis Jun 16, 2025
3d12a2f
Merge pull request #5246 from EdHastingsCasperAssociation/remove_tc_u…
EdHastingsCasperAssociation Jun 16, 2025
447b94b
Merge branch 'dev' into core-63
igor-casper Jun 16, 2025
2d4a80e
Merge pull request #5252 from igor-casper/core-63
igor-casper Jun 17, 2025
c45a9dc
Rename trap flag
Jun 17, 2025
ca6b066
Rename trap flag
Jun 17, 2025
dbc2724
`TransactionInvocationTarget::ByPackageHash` and `TransactionInvocati…
zajko Jun 16, 2025
b8f0476
Refactored EE tests for the new TransactionInvocationTarget variant f…
zajko Jun 17, 2025
f4a3ce0
Merge pull request #5254 from zajko/transaction_invocation_target_maj…
zajko Jun 18, 2025
8a0f157
Merge remote-tracking branch 'upstream/dev' into dev
EdHastingsCasperAssociation Jun 18, 2025
7fbe39d
Address PR comments
Jun 18, 2025
6ca3254
Merge remote-tracking branch 'refs/remotes/upstream/dev' into rename-…
Jun 18, 2025
95bf37d
Address PR comments
Jun 18, 2025
7773a0f
Merge pull request #5255 from darthsiroftardis/rename-trap-flag
darthsiroftardis Jun 18, 2025
3583785
Casper-node to 2.0.3
sacherjj Jun 20, 2025
207dd4c
Merge pull request #5256 from sacherjj/node-bump-2.0.3
sacherjj Jun 23, 2025
874bab5
Merge remote-tracking branch 'upstream/dev' into dev
EdHastingsCasperAssociation Jun 24, 2025
84065a4
Revert default log level back to info
Jun 24, 2025
f0507bb
Merge pull request #5258 from darthsiroftardis/fix-default-log-level
darthsiroftardis Jun 25, 2025
281c039
fixing engine config init, default, tests
EdHastingsCasperAssociation Jun 25, 2025
aacd343
Merge remote-tracking branch 'upstream/dev' into min_bid_engine_config
EdHastingsCasperAssociation Jun 25, 2025
044a13d
tweaks
EdHastingsCasperAssociation Jun 26, 2025
e384769
faucet strikes again
EdHastingsCasperAssociation Jun 26, 2025
4c7068d
Merge pull request #5260 from EdHastingsCasperAssociation/min_bid_eng…
darthsiroftardis Jun 26, 2025
3b3cec5
paired programming dynamic gas price
EdHastingsCasperAssociation Jun 30, 2025
659f48f
fixing fn name
EdHastingsCasperAssociation Jun 30, 2025
4a23973
fixing format
EdHastingsCasperAssociation Jun 30, 2025
8ad1fe1
Address TODO for total block counts
Jul 1, 2025
c9a46ad
Fix selection of gas price in go down branch
Jul 1, 2025
0d78ac9
WIP pair
Jul 2, 2025
c55e8dc
paired session fixed most tests
EdHastingsCasperAssociation Jul 2, 2025
2e1b7dc
make format
EdHastingsCasperAssociation Jul 2, 2025
48adf67
reduced log level
EdHastingsCasperAssociation Jul 2, 2025
179ab48
improved comment
EdHastingsCasperAssociation Jul 2, 2025
e0d8fc4
removing an unused test stub
EdHastingsCasperAssociation Jul 2, 2025
dabb228
Fix missing cfg attr
mpapierski Jul 3, 2025
5b9ffe0
rename cargo-casper -> vm2-cargo-casper
mpapierski Jul 7, 2025
814dc4c
Merge pull request #5264 from mpapierski/fix-missing-cfg
mpapierski Jul 7, 2025
898c3f5
Revert changes to exec_pre_state
Jul 7, 2025
6dfe616
Merge remote-tracking branch 'refs/remotes/upstream/dev' into dynamic…
Jul 7, 2025
b0ad19e
Merge pull request #5261 from EdHastingsCasperAssociation/dynamic_gas…
darthsiroftardis Jul 8, 2025
c6e33c5
Add a regression test for dynamic gas price testing
Jul 9, 2025
cd6c8de
Address lints
Jul 9, 2025
c509edf
Fix regression test to reduce flakiness
Jul 10, 2025
77657a9
Address log level comments
Jul 10, 2025
9611357
Merge pull request #5270 from darthsiroftardis/gas-price-regression
darthsiroftardis Jul 10, 2025
2b5e646
chore: remove redundant words
socialsister Jul 15, 2025
bfee0ce
Merge pull request #5277 from socialsister/dev
EdHastingsCasperAssociation Jul 28, 2025
2fa37fe
Fix miswire of genesis config
Aug 12, 2025
2116288
Add function to use chainspec config
Aug 13, 2025
128ff6f
Merge pull request #5304 from darthsiroftardis/greg-ae-bug
darthsiroftardis Aug 19, 2025
cbc2d34
Test 1
sacherjj Sep 12, 2025
a23ad6e
Test 2
sacherjj Sep 12, 2025
7b69ba8
Test 2
sacherjj Sep 12, 2025
36dc1c6
Test 2
sacherjj Sep 12, 2025
f6f04a5
testing
sacherjj Sep 12, 2025
aed4de6
Adding network config files to resources
sacherjj Sep 17, 2025
c72a840
Adding all new configs to update_package.
sacherjj Sep 17, 2025
742aa7c
Helper scripts for upgrading timing and era math.
sacherjj Sep 17, 2025
25e6ce0
Modified get-block calls to combine using delimited data return from …
sacherjj Sep 17, 2025
f03a02b
Modified scripts to allow full node URL in addition to IP for RPC.
sacherjj Sep 18, 2025
020c82a
Implemented for future publish of config-dev.tar.gz
sacherjj Sep 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
718 changes: 307 additions & 411 deletions .drone.yml

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions .github/ISSUE_TEMPLATE/feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Condor Release Feedback / Issue Form
description: Please share your feedback or issues you face in incorporating Condor Release changes in your application/project.
title: '[Condor-Release]: Specify your feedback/issue briefly'
labels:
- condor-feedback
assignees:
- devendran-m
- piotr-dziubecki
- sacherjj
- cspramit
- SaiProServ
body:
- type: markdown
attributes:
value: |
This is a feedback form, to consolidate Condor feedback and/or issues.
- type: dropdown
id: type
attributes:
label: Category
description: Please choose the category that best describes your needs.
options:
- Feedback
- Bug/Issue
validations:
required: true
- type: input
id: email
attributes:
label: Your email address
placeholder: john@doe.com
validations:
required: true
- type: input
id: project-name
attributes:
label: Integration Project Name(Optional)
placeholder: CasperWallet
description: Name of the project with Casper, if applicable
validations:
required: false
- type: dropdown
id: casper-network
attributes:
label: Casper Network
description: Please choose the network or environment related to the feedback, bug, or issue.
options:
- Devnet
- Integration-Test
- Testnet
- Mainnet
validations:
required: true
- type: dropdown
id: node-functionality
attributes:
label: Node Functionality
description: Please specify the primary function of the node on the Casper Network related to the feedback or issue.
options:
- Node
- JSON RPC
- Execution Engine
- SSE
- NCTL
- CCTL
- Validator
- Consensus
- Other
validations:
required: true
- type: textarea
id: feedback-issue
attributes:
label: Description
placeholder: Please elaborate your feedback/ bug or issue here.
description: Please provide a detailed description of your feedback, bug, or issue.
validations:
required: true
- type: input
id: date-since
attributes:
label: Date Issue Began(optional)
placeholder: dd/mm/yyyy
description: When did you first notice this issue?
validations:
required: false
- type: textarea
id: attachments
attributes:
label: Attachments (optional)
description: Please attach any logs, screenshots, or links that may help with the analysis.
validations:
required: false
6 changes: 6 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Please consider the following when creating a PR:

* Provide a useful description of this PR, suitably verbose, aimed at helping reviewers and contributors
* Update all relevant changelogs
* Provide a link to the GitHub issue relating to this PR
* Identify if any downstream impact as in to, SDKs, SmartContracts etc
67 changes: 67 additions & 0 deletions .github/workflows/casper-node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
name: casper-node
# runs steps that are OK with normal rust based on ./rust-toolchain.toml
permissions:
contents: read

on:
push:
branches:
- dev
- trying
- staging
- 'release-**'
- 'feat-**'
paths-ignore:
- '**.md'

pull_request:
branches:
- dev
- 'release-**'
- 'feat-**'
paths-ignore:
- '**.md'

jobs:
lints:
name: tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: setup
run: make setup

- name: setup ubuntu
run: |
sudo apt-get -y install wabt

- uses: Swatinem/rust-cache@v2

- name: check-format
run: make check-format

- name: doc
run: make doc

- name: lint
run: make lint

- name: audit
run: make audit

- name: check-std-features
run: make check-std-features

- name: check-testing-features
run: make check-testing-features

- name: test
run: make test CARGO_FLAGS=--release

- name: test-contracts
run: make test-contracts CARGO_FLAGS=--release
30 changes: 30 additions & 0 deletions .github/workflows/lints-md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: lints
permissions:
contents: read

on:
push:
branches:
- dev
- trying
- staging
- 'release-**'
- 'feat-**'
paths:
- '**.md'

pull_request:
branches:
- dev
- 'release-**'
- 'feat-**'
paths:
- '**.md'

jobs:
lints:
name: lints
runs-on: ubuntu-latest
steps:
- run: 'echo "Markdown only change, no lints required"'
34 changes: 34 additions & 0 deletions .github/workflows/manual-dev-net-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Dev-Net deploy

on:
pull_request:
branches:
- dev-build-test
workflow_dispatch:
inputs:
branch_to_run:
description: 'Branch to pull latest from'
type: string
default: 'dev' # Default to dev branch
required: true

jobs:
publish_protocol:
runs-on: ubuntu-latest

steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch_to_run }}

- name: Display Branch
run: echo "Running on branch ${{ github.event.inputs.branch_to_run }}"

- name: Set CURRENT_HASH as environment variable
run: echo "CURRENT_HASH=${{ github.sha }}" >> $GITHUB_ENV

- name: Run script
run: ./ci/dev_net_protocol_publish.sh

# S3 upload
71 changes: 71 additions & 0 deletions .github/workflows/publish-global-state-update-gen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
name: publish-global-state-update-gen
permissions:
contents: read
id-token: write

on:
push:
tags:
- "v*"

jobs:
publish_deb:
strategy:
matrix:
include:
- os: ubuntu-22.04
code_name: jammy
# - os: ubuntu-24.04
# code_name: noble

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

steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ACCESS_ROLE_REPO }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ secrets.AWS_ACCESS_REGION_REPO }}

- name: Install deps
run: |
echo "deb http://repo.aptly.info/ squeeze main" | sudo tee -a /etc/apt/sources.list.d/aptly.list
wget -qO - https://www.aptly.info/pubkey.txt | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y aptly=1.4.0
aptly config show

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@c8bb57c57e8df1be8c73ff3d59deab1dbc00e0d1 #v5.1.0
with:
gpg_private_key: ${{ secrets.APTLY_GPG_KEY }}
passphrase: ${{ secrets.APTLY_GPG_PASS }}

- name: Install cargo deb
run: cargo install cargo-deb

- name: Cargo build
run: cargo build -p global-state-update-gen --release

- name: Cargo deb
run: cargo deb -p global-state-update-gen --no-build --variant ${{ matrix.code_name }}

- name: Upload binaries to repo
env:
PLUGIN_REPO_NAME: ${{ secrets.AWS_BUCKET_REPO }}
PLUGIN_REGION: ${{ secrets.AWS_ACCESS_REGION_REPO }}
PLUGIN_GPG_KEY: ${{ secrets.APTLY_GPG_KEY }}
PLUGIN_GPG_PASS: ${{ secrets.APTLY_GPG_PASS }}
PLUGIN_ACL: 'private'
PLUGIN_PREFIX: 'releases'
PLUGIN_DEB_PATH: './target/debian'
PLUGIN_OS_CODENAME: ${{ matrix.code_name }}
run: ./ci/publish_deb_to_repo.sh

- name: Invalidate CloudFront cache
run: |
aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_CLOUDFRONT_REPO }} --paths "/*"
51 changes: 51 additions & 0 deletions .github/workflows/publish-release-and-crates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
name: publish-release-and-crates
permissions:
contents: read
id-token: write

on:
push:
tags:
- 'v*'

jobs:
push_release_and_crates:
strategy:
matrix:
include:
- os: ubuntu-22.04
code_name: jammy

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

steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2

# jq python and python toml required for build_update_package.sh
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y jq python3 python3-toml
python3 --version

- name: Install cargo deb
run: cargo install cargo-deb

- name: Build update package
run: ./ci/build_update_package.sh

# Add config.tar.gz, bin.tar.gz to release
- name: Upload files to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/upgrade_build/*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true

- name: Publish to crates.io
env:
CARGO_TOKEN: ${{ secrets.crates_io_token }}
run: ./ci/publish_to_crates.io
Loading