Commit Graph

152 Commits

Author SHA1 Message Date
Athar Mohammad 59ad74cd94
name-service-js: add tests (#4013) 2023-02-09 19:33:31 +01:00
Jon Cinque 88684d52a2
ci: Update repo to Solana 1.14.12 (#3989) 2023-01-19 21:47:03 +01:00
Jon Cinque 64b844ace2
ci: Add exception for tokio (#3966) 2023-01-10 00:05:27 +01:00
samkim-crypto bb404a6af5
update solana to 1.14.10 (#3872) 2022-12-06 12:59:00 +09:00
samkim-crypto 0c8fb24d47
upgrade solana-program to 1.14.6 (#3765) 2022-10-27 07:59:25 +09:00
Jon Cinque 5f3cbc49ae
ci: Reduce audit ignores (#3758) 2022-10-25 20:34:34 -04:00
hanako mumei 3a87c8fc0a update solana to 1.14.4 2022-10-12 10:48:23 -07:00
Alexander Meißner aa5fdee00a
Refactor `test_create_program_governance` (#3637)
* Splits the unrealistically large transaction generated by with_governed_program() into many.

* Update apt packet list before attempting install in CI.
2022-09-23 21:36:34 +02:00
Jon Cinque fa534e987a
token-upgrade: Add CLI and docs (#3593)
* token-upgrade: Add CLI and docs

* Remove build.rs and build by hand

* Exclude token-upgrade-cli from cargo-build-test

* Use user-friendly token-client response printing

* Make docs consistent with implementation + other feedback

* Remove integer arithmetic

* Make required parameters `required()`
2022-09-15 20:25:40 +02:00
Jon Cinque 07d14e948a
fuzz: Update honggfuzz and rust version required (#3563) 2022-09-01 19:36:47 +02:00
Jon Cinque 90626fc4c9
ci: Update rust-nightly to 2022-04-01 (#3539)
* ci: Update rust-nightly to 2022-04-01

* Use rust_nightly parameter in fuzz script
2022-08-27 18:20:12 +02:00
Jordan Sexton 29d316e811
Fix Token program ESM exports (#3508)
* Fix Memo program ESM exports

* fix repository link

* Fix Token program ESM exports

* web3.js is a peer dependency

* memo/ts -> memo/js (same as token)

* add gh-pages dev dep

* add explicit js extensions

* use explicit js imports

* lint fixes for type imports

* fix version

* check in package-lock.json

* check in package-lock.json

* update spl-memo dep

* reorg imports

* move spl-memo to dev deps

* remove editorconfig

* update spl-memo

* update node version in CI

* memo and token use npm now

* use npm ci commands

* reorder imports
2022-08-22 19:07:03 -05:00
hana 65769ce23d
Update rust to 1.60, solana to 1.11.6 (#3492)
also change bpf to sbf throughout the codebase

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-08-18 12:16:02 -07:00
Jon Cinque 10a70ddb3c
memo-ts: Make everything like token/js (#3479)
* memo-ts: Make everything like token/js

* Address feedback

* Update memo/js/README.md

* Update memo/js/README.md

Co-authored-by: Jordan Sexton <jordan@jordansexton.com>
2022-08-16 14:31:48 -05:00
Tyera Eulberg 3c54aecfe9
Bump solana to v1.10.35 (#3485) 2022-08-16 12:33:24 -06:00
Jon Cinque d9a284f85f
toolchain: Pin repo to 1.59.0 using rust-toolchain.toml (#3466) 2022-08-12 16:59:23 +02:00
Jon Cinque 10addb2c16
ci: Add rocksdb to ignore audit (for now) (#3458) 2022-08-11 22:47:07 +02:00
Jon Cinque 93ec6cf74a
token-cli: Split out CI into separate step, run tests in serial (#3425)
* token-cli: Split out CI into separate step, run tests in serial

* Remove dependency on cargo-test-bpf to speed things up

* Don't download programs since they won't be available
2022-08-03 21:54:35 +02:00
Jon Cinque 8f75f5905c
stake-pool-py: Clean up dependencies (#3412) 2022-08-03 01:19:33 +02:00
Tyera Eulberg c00194d225
Bump solana crates to v1.10.33 (#3385) 2022-07-27 11:28:14 -06:00
Jon Cinque 827176ed84
ci: Fixup docs CI to run build on all affecting PRs (#3388)
* ci: Fixup docs CI to run build on all affecting PRs

* Update CI env vars for GitHub Actions, remove Travis
2022-07-27 16:31:41 +02:00
Jon Cinque 4d1f8169a9
token-cli: Make BPF program builds in build.rs dependent on env var (#3362)
* token-cli: Make BPF program build dependent on env var

* Do it during `build` and not `test`
2022-07-22 09:30:30 +02:00
Jon Cinque c1ee6a58be
Update Solana crates to 1.10.29 (#3303) 2022-07-01 16:51:01 -04:00
samkim-crypto 0f316fb357
bump solana to v1.10.26 (#3274) 2022-06-20 09:55:49 +09:00
Yihau Chen a7055d556c
chore: update ci install dep script (#3244)
* chore: only install needed lib

* lint
2022-06-15 10:40:08 +08:00
Tyera Eulberg 11ef88a505
Add spl-memo typescript implementation (#2583)
* Memo ts implementation

Co-authored by: Bryan Ischo <bryan@ischo.com>

* Add building and CI

* Remove unneeded mocha file

* Update Node version

* Add chai dependency

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-06-15 00:13:45 +02:00
samkim-crypto 424c900345
bump solana to v1.10.19 (#3195)
* bump solana to v1.10.19

* update solana-version.sh
2022-05-25 08:40:30 +09:00
Dmitri Makarov f1c1d440e9
Bump solana to v1.10.15 (#3176) 2022-05-17 11:27:30 -07:00
Tyera Eulberg b3fe5b6d5d
Bump token-2022 (#3113)
* Bump token-2022

* Bump solana dependencies
2022-04-26 12:15:26 -06:00
Jon Cinque b5e301b210
name-service-js: Add to CI, clean up packages (#3097) 2022-04-22 00:01:24 +02:00
Jon Cinque 1d1c2b178b
Upgrade crates to 1.10.8 (#3076) 2022-04-11 22:25:27 +02:00
Jon Cinque f5a12c63a1
fuzz: Fix fuzz build (#2980) 2022-03-03 13:59:38 -05:00
Tyera Eulberg 631cce088c
Bump rust versions (#2978)
* Bump rust versions

* clippy: unnecessary use of to_vec
2022-03-02 23:56:15 -07:00
Tyera Eulberg f4c5fdcfcf
Bump solana to v1.9.9 (#2902) 2022-02-23 16:20:55 -07:00
Jon Cinque dc4fbe8227 Use yarn in CI, remove unused test commands 2022-02-15 16:33:36 -06:00
Jordan Sexton 4f0451d504 update test commands 2022-02-15 16:33:36 -06:00
Tyera Eulberg 28e779d480
Bump thread_local (#2789)
* Revert "Temp. ignore thread_local 1.1.3 security warning (#2788)"

This reverts commit 44b338fa14.

* Bump thread_local
2022-01-24 11:01:43 -07:00
Sebastian Bor 44b338fa14
Temp. ignore thread_local 1.1.3 security warning (#2788)
* fix: temp ingnore thread_local 1.1.3 security warning

* chore: fix typo
2022-01-24 17:36:22 +00:00
Tyera Eulberg 83c3ffad25
Bump solana crates to v1.9.5 (#2780)
* Bump solana crates to v1.9.5

* Update sol_set_return_data type signature and un-ignore test
2022-01-21 22:52:10 -07:00
Jon Cinque ac38f220e1
CI: Add cargo audit, just like in the monorepo (#2707) 2022-01-07 13:16:33 +01:00
Jon Cinque f5f062e1b0
stake-pool-js: Prepare package for release (#2681)
* stake-pool-js: Prepare package for release

* Upgrade node version for new npm

* Regenerate package-lock.json

* Update README, fix build to remove test files
2021-12-30 12:55:09 -05:00
Jon Cinque 6ee008d256
Update SDK to 1.9.2, fix warnings (#2674)
* Update SDK to 1.9.2, fix warnings

* Upgrade honggfuzz

* Use `get_latest_blockhash` correctly
2021-12-28 23:02:47 -05:00
Jon Cinque d5ac6b883b
stake-pool-py: Add simple rebalance bot (#2630)
* stake-pool-py: Add simple rebalance bot

* Fixup test

* Refactor flaky tests

* Create vote earlier in test

* Duplicate create_vote call causes stall

* Wait more aggressively
2021-12-13 13:17:07 +01:00
Michael Vines 1a0155e34b Update to Rust 1.57.0 2021-12-09 23:56:47 -08:00
Jon Cinque a7888861da
stake-pool-py: Create and deserialize stake pools (#2557)
* stake-pool-py: Create and deserialize stake pools with CI

* Add ability to add / remove validators

* Add vote init instruction for cleaner tests

* Fixup CI

* Add deposit / withdraw sol

* Add update instructions

* Add increase / decrease stake

* Add deposit / withdraw stake
2021-12-10 00:43:25 +01:00
Jack May 507f928c0a
Remove themis (#2607) 2021-12-01 12:31:01 -08:00
Michael Vines 9acb082dc3 Upgrade to Solana v1.8.1 2021-10-20 22:52:19 -07:00
Michael Vines 1c417ffa4f Fork Token 2022 program 2021-10-12 10:43:58 -07:00
Michael Vines 12732f8d5a Upgrade to Solana 1.8.0 2021-10-12 09:40:06 -07:00
Jon Cinque 99914c9fc7
Bump Rust to match monorepo (1.54 and 2021-08-02 nightly) (#2389) 2021-09-08 14:55:47 +02:00