Commit Graph

133 Commits

Author SHA1 Message Date
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
Michael Vines 4406265d4a Upgrade to Solana 1.7.11 2021-08-30 12:41:08 -07:00
Tyera Eulberg 30fccebdc6
Bump solana crates (#2139) 2021-07-23 16:47:06 +00:00
Jordan Sexton b763572c4f
lending: fixing CI test (#2013)
* lending: use yarn instead of npm to build
2021-07-01 21:46:05 -05:00
Jordan Sexton aacb0b7c09
lending: JavaScript / TypeScript client library (#1996) 2021-07-01 18:10:56 -05:00
Jon Cinque 21f8af34e7
Update all solana dependencies to 1.7.3, fix issues (#1958)
* Update all dependencies to 1.7.3, fix issues

* Remove esm from mocha

* Fix missed token test

* Also update rust version

* token-swap: update tolerance on sim test

* Run `cargo clippy --fix` for needless_borrow errors

* Rerun cargo fmt
2021-06-25 00:39:08 +02:00
Tyera Eulberg e28af24443 Bump solana version 2021-06-14 16:02:27 -06:00
Jon Cinque de8433e815
ci: Split out test-bpf into separate workflows for each program (#1893)
* ci: Split token, token-swap, and token-lending out

* Remove token lending js in main runner

* token-swap: Update proptest to trigger build

* Remove unused Cargo.lock file

* lending: Update proptest to trigger lending build

* Fix lending test

* Try re-using action

* binary-oracle-pair: Bump token version to trigger build

* Reference action differently

* Add checkout step before local action

* Move out cargo test bpf step

* Add more programs

* Update example file to trigger job

* Update library file to trigger build

* Update name-service file to trigger build

* Update record file to trigger build

* Update shared memory file to trigger build

* Add pull request runners for each probram / library

* Fix pull-request yml file referencing unknown step
2021-06-11 22:35:00 +02:00
Sebastian Bor 6b3fbb8ff5
chore: update solana to 1.6.7 and rust to 1.52.1 (#1792) 2021-05-25 13:57:45 +01:00
Pierre 6ac82f9caf
token-swap typescript: Move things around, fix typing problems (#1643)
* Move things around, fix typing problems

* oups output built in src

* fix typegen

* fix cli

* fix linting, apply review comments and add forgotten package-lock.json change

* remove typegen.sh and move simpler command to package.json

* Move things around, remove babel and rollup

* Update packages

* Add browser dist to eslintignore

Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-05-10 22:30:13 +02:00
Michael Vines 18468b513f Update to Rust 1.51.0 2021-04-18 20:27:27 -07:00
Jon Cinque 8f325dcd2d
math: Improve sqrt using bit-wise operations (#1562)
* math: Improve sqrt guess using bit-wise operations

* Run fmt and bump up instruction for failed test

* Bump up compute cost from CI failure

* Update CI version of toolchain

* Address feedback
2021-04-05 14:48:27 +02:00
Jon Cinque 34e66c6bad
lending: Update JS tests to solana-test-validator (#1513)
* lending: Update JS tests to solana-test-validator

* Add solana tools install

* Fix oopsie on the path

* Move where deployed programs go
2021-03-27 13:42:16 +01:00
Michael Vines af5fdb3146 Bump Rust version to 1.50.0 2021-03-16 22:22:59 -07:00
Michael Vines 686444088b Bump Solana version to 1.5.15 2021-03-16 18:33:37 -07:00
Tyera Eulberg 81ad7407d0
Remove debug dir between bpf and host crates (#1461) 2021-03-16 22:51:45 +00:00
Jon Cinque d692ff1505
token-swap: Use solana-test-validator in JS tests (#1367)
* Update swap pool owner in docs

* token-swap: Use solana-test-validator for JS tests

* Revert one more change

* Revert doc change

* Add solana-test-validator to ci

* Fix CI

* Revert docs change

* Move where to deploy programs in CI
2021-03-05 10:34:29 +01:00
Ryo Onodera 68b8da2996
Support associated token for JS (Also, make the program testable) (#1364)
* Implement some js helpers for associated tokens

* Create integration test and fix hard-coding in spl-associated-token

* Run lint:fix and pretty:fix

* Run flow as well...

* More robust test fixture setup

* Revert api breaking part

* Fix tests...

* Populate ts/flow type definitions

* Improve test a bit

* More consistent arg order; docs; more tests

* lints and pretty

* type definition updates and test tweaks

* More simplification...

* More cleanup

* Address review comments and small cleanings

* Bump the version
2021-03-03 20:56:22 +09:00
Justin Starry 6cd9c768ad chore: add defs check 2021-02-13 17:03:42 +08:00
dummytester123 d1e5fcfc7e
Add types for bnjs (#1194)
* Add types for bnjs

* Vers bump

* Fix for js test token

* Update web3js lib

* Bump to 0.1.0
2021-02-11 09:34:32 +08:00