Commit Graph

390 Commits

Author SHA1 Message Date
mergify[bot] 11d4156589
v1.17: [anza migration]: fix download link for net scripts (backport of #219) (#351)
* [anza migration]: fix download link for net scripts (#219)

(cherry picked from commit e682fec28e)

# Conflicts:
#	net/net.sh
#	scripts/agave-install-deploy.sh

* fix conflict

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
2024-03-21 10:50:02 +08:00
mergify[bot] af153cba40
v1.17: [anza migration]: add 'agave=info' to default log level (backport of #223) (#242)
[anza migration]: add 'agave=info' to default log level (#223)

Co-authored-by: yihau <yihau.chen@icloud.com>
2024-03-18 13:13:52 +08:00
yihau 8155a8cc4d v1.17: [anza migration] rename crates 2024-03-03 13:13:34 +08:00
Jon C 74b083059c
v1.17: Pin spl-token-cli to 3.3.0 (#34920) 2024-01-23 16:34:49 -08:00
mergify[bot] 069612e0dc
v1.17: ci: split cargo-clippy into stable and nightly (backport of #34566) (#34569)
* ci: split cargo-clippy into stable and nightly (#34566)

* ci: split cargo-clippy into stable and nightly

* ci: update mergify

(cherry picked from commit 5247be17a9)

# Conflicts:
#	.mergify.yml
#	scripts/cargo-clippy.sh

* fix conflict

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
2023-12-21 20:09:25 +00:00
mergify[bot] de35043e31
v1.17: Cargo needs version arg after subcommand (backport of #34547) (#34551)
Cargo needs version arg after subcommand (#34547)

(cherry picked from commit d4363526fe)

Co-authored-by: Tyera <tyera@solana.com>
2023-12-20 20:26:12 +00:00
mergify[bot] 8301417f9e
v1.17: cargo-install-all: use full path for sourcing (backport of #34525) (#34528)
cargo-install-all: use full path for sourcing (#34525)

Use full path for sourcing

(cherry picked from commit 51c9963a60)

Co-authored-by: Tyera <tyera@solana.com>
2023-12-19 20:28:42 +00:00
mergify[bot] 96d57e88dd
v1.17: CI: add check for explicit spl-token-cli version (backport of #34430) (#34465)
CI: add check for explicit spl-token-cli version (#34430)

* Add script to specify spl-token-cli version

* Add check for spl-token-cli version to CI

* Add minor release branch cleanup instruction to unblock CI on the new stable branch

---------

Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit e6e191f843)

Co-authored-by: Tyera <tyera@solana.com>
2023-12-14 17:49:43 +00:00
mergify[bot] b9fc9486db
v1.17: ci: add macos clippy test (backport of #34272) (#34388)
* ci: add macos clippy test (#34272)

* ci: add clippy test for macos and windows

* ci: remove windows from clippy test

* ci: cancel cargo clippy on Github Actions when new commits comming

* ci: set -e for .github/scripts/cargo-clippy-before-script.sh

(cherry picked from commit 4832b4ecec)

* scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command (manual backport of #33982)

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
2023-12-10 20:56:48 +00:00
mergify[bot] 7089f1ed47
v1.17: Add --release-with-debug option to cargo-install-all.sh (backport of #33383) (#33978)
Add --release-with-debug option to cargo-install-all.sh (#33383)

* Add --canary option to cargo-install-all for building with separate debug symbols

* lint

* Remove debug-assertions

* switch flag from --canary to --release-with-debug

(cherry picked from commit 87b4dc64e3)

Co-authored-by: Will Hickey <will.hickey@solana.com>
2023-11-10 13:34:35 -06:00
mergify[bot] 8512595d62
v1.17: Update Solang Solidity compiler to v0.3.3 (backport of #33830) (#33835)
Update Solang Solidity compiler to v0.3.3 (#33830)

Signed-off-by: Sean Young <sean@mess.org>
(cherry picked from commit 8e0acf481c)

Co-authored-by: Sean Young <sean@mess.org>
2023-10-24 15:13:50 +01:00
mergify[bot] b90f08f966
v1.17: Deprecate bz2/gzip/none/tar snapshot compression types (backport of #33484) (#33492)
Deprecate bz2/gzip/none/tar snapshot compression types (#33484)

These options are now disallowed on the command line for
solana-validator and solana-ledger-tool, which effectively means no more
snapshots will be created with this types in normal usecases. However,
support for reading the deprecated types is still in place.

(cherry picked from commit 73e9e6dd70)

Co-authored-by: steviez <steven@solana.com>
2023-10-03 15:18:42 -05:00
Kevin Ji 5d11227088
Mark *.sh files with `#!` as executable (#33303) 2023-09-28 10:32:44 +08:00
Sean Young b5b7397e92
Update Solang Solidity compiler to v0.3.2 (#32975)
Signed-off-by: Sean Young <sean@mess.org>
2023-08-25 12:56:27 +01:00
Ryo Onodera a5aa4064fb
Restore ntapi patching (#32488) 2023-07-14 11:57:54 +09:00
Tyera c02021173d
Bump and unpin tokio (#32430)
* Bump tokio to current, and unpin

* Remove patch since ntapi is not longer in tree
2023-07-13 13:53:48 -06:00
Ryo Onodera 18247431b9
Add special feature for inter-crate safe dev-related code reuse (#32169)
* Add dev-utils feature for inter-crate test code safe reuse

* Sanitize mode

* Fix typo...

* Use case/esac intead of if

* port to `cargo tree` + `jq`

* Fix typo...

* Properly abort on errors

* Add trailing commas

* Select only normal dependencies

* Use more concise comma-separated code

* Skip if taint packages are empty

* Fold long lines and format code a bit

* Fix shellcheck

* Improve jq query and remove uneeded marker feature

* Use folding heredoc giving up proper indenting..

* Use jq's alternative operator (//)

* Rename to dev-context-only-utils

* Fix typo...

---------

Co-authored-by: Trent Nelson <trent@solana.com>
2023-07-07 09:30:20 +09:00
Lucas Steuernagel 77d46329dd
Update Solang Solidity compiler to v0.3.1 (#32352) 2023-07-03 10:20:49 -03:00
Ryo Onodera 4227d0ee35
Bump patched ntapi from v0.3.6 to v0.3.7 (#31981) 2023-06-06 13:33:57 +09:00
Ryo Onodera 6b33ff8ae9
Remove --locked for cli-arg based patch... (#31971) 2023-06-05 22:16:44 +09:00
Ryo Onodera c1d68d3bc8
Patch ntapi more thoroughly (#31970)
* Patch spl-token-cli build as well...

* Patch sbf/Cargo.toml for consistency
2023-06-05 21:22:59 +09:00
Sean Young 7ad43f5653
Update Solang Solidity compiler to v0.3.0 (#31756) 2023-05-23 12:58:02 +01:00
Trent Nelson b422ac0368
remove `solana-sys-tuner` binary and all references (#31682) 2023-05-16 18:22:58 -06:00
Trent Nelson 53811e6053
add and recommend script for reserving new package names on crates.io (#31416)
* add script for reserving package names on crates.io

* ci/check-crates.sh: suggest script for new crate name reservation
2023-05-08 09:31:24 -06:00
Sean Young 1438d9ef08
Add Solidity compiler to solana installer (#31184)
Co-authored-by: mvines <mvines@gmail.com>
2023-05-03 07:10:00 -07:00
Yihau Chen 8a849718d2
ci: cleanup (#31196)
* extract threads limit script

* extract common functions

* mv need_to_generate_test_result need_to_upload_test_result
2023-04-14 20:37:07 +00:00
Ryo Onodera aaaee556d8
ci: silence ci test output while recording in full (#30654)
* ci: silence ci test output while recording in full

* shellcheck

* Adjust --color handling place

* Dump to stderr...

* Reduce too spammy solana_metrics logs

* Clean up

* Tweak

* Stash actual command's exit_code, not echo's
2023-03-16 22:17:29 +09:00
Yihau Chen 21f1b652a7
ci: reorg downstream projects (#30463)
reorg downstream projects
2023-02-24 15:55:24 +08:00
Yihau Chen df3ef111f7
chore: workspace inheritance (#29893)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-02-23 22:01:54 +08:00
Steven Luscher a2cf25153f
Fuck this whole web3.js thing (#30062) 2023-02-01 14:34:23 -08:00
Trent Nelson ac5b2ffb39
make `scripts/cargo-fmt.sh` $PWD agnostic (#29919) 2023-01-26 04:03:39 +00:00
Yihau Chen 9193b4221d
Revert "chore: workspace inheritance (#29509)" (#29892)
This reverts commit a67d239dde.
2023-01-25 15:50:41 +08:00
Yihau Chen a67d239dde
chore: workspace inheritance (#29509)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-01-25 13:59:59 +08:00
kirill lykov 8daed75df9
Add toolchain file usage (#29370)
* use cargo in cargo-for-all-lock-files.sh

* replace ./cargo with cargo in ci shell scripts

* remove ./cargo from test-stable.sh
2023-01-17 20:55:41 +01:00
kirill lykov 8d11b28bc0
get rid of ./cargo when building downstream projects (#29372) 2022-12-23 17:02:23 +08:00
Yihau Chen 637d0358ed
ci: add openbook_dex back to downstream project test (#29207)
Revert "ci: don't run openbook_dex downstream-project test temporarily (#29201)"

This reverts commit bcf449158e.
2022-12-13 04:42:07 +00:00
Yihau Chen bcf449158e
ci: don't run openbook_dex downstream-project test temporarily (#29201)
don't run openbook_dex
2022-12-11 04:03:57 +08:00
kirill lykov 731fe3e5da
replace serum-dex with openbook-dex (#28873)
* replace serum-dex with openbook-dex

* force using master for anchor in downstream builds

* fix
2022-11-22 09:41:41 +01:00
kirill lykov f75d7898db
replace serum/anchor with coral-xyz/anchor (#28874) 2022-11-19 16:17:01 +01:00
Yihau Chen d98eb97842
chore: add spl-instruction-padding/program to downstream ci script (#28578)
add spl-instruction-padding/program to ci script
2022-10-25 06:44:33 +00:00
Dmitri Makarov d6813b98d2 chore: move programs/bpf to programs/sbf 2022-10-13 11:40:40 -04:00
Dmitri Makarov f4dd24491f Migrate SDK from BPF to SBF 2022-10-07 08:57:06 -04:00
Will Hickey 8f96a39e73
Remove markdown file update from version increment-cargo-version.sh (#27851)
* Remove markdown file update from version increment-cargo-version.sh
* Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh
* Revert incorrect doc change based on review feedback
2022-09-19 16:37:50 -05:00
Jon Cinque 51ab9627d7
ci: Add spl-token-upgrade to downstream program build (#27826) 2022-09-16 01:50:12 +02:00
Yihau Chen 4071dc3cac
chore: tee coverage test stderr (#27551)
* chore: tee coverage test stderr

* chore: add --no-capture
2022-09-02 19:54:36 +08:00
Yihau Chen 3b01517da6
chore: skip spl downstream project test when the used version too high (#27326)
* skip spl build when solana version too high

* lint
2022-08-24 03:30:30 +00:00
Trent Nelson dcab37ecca update `scripts/cargo-fmt.sh` to reflect changes in 9425478 2022-07-09 00:38:20 +00:00
Justin Starry 0de0d4625e
chore: remove web3 examples (#26515) 2022-07-08 23:14:38 +01:00
Will Hickey 4cfcfe51a0
Update version bump check so it works on master branch (#26146) 2022-06-22 15:26:10 -05:00
Nicholas Rempel 1ee4b412b2 Support local CI on macOS 2022-06-20 08:41:30 -07:00