Justin Starry
38bccbfc82
Simplify github action with scripts ( #769 )
...
* Simplify github action with scripts
* fix deps
* fix path
* feedback
* feedback
* shift some things
* clean up
* Update pull-request.yml
2020-11-04 10:50:07 +08:00
Michael Vines
e0e46e0385
Add better logging during program execution
2020-11-03 19:53:46 +00:00
Michael Vines
694a03efde
Drop compute unit logging
2020-11-03 19:53:46 +00:00
Michael Vines
a80f8e49f7
Clean up comments
2020-11-03 19:53:46 +00:00
Michael Vines
6bc5b89668
Cargo.lock
2020-11-03 10:34:43 -08:00
Michael Vines
341149d0e9
Back to no-entrypoint feature name
2020-11-03 10:34:43 -08:00
dependabot[bot]
0296ed776d
Bump tokio from 0.3.2 to 0.3.3 ( #785 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.3.2...tokio-0.3.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 12:25:20 +00:00
dependabot[bot]
12b2ade164
Bump eslint-config-prettier from 6.14.0 to 6.15.0 in /token-lending/js ( #783 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v6.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 10:21:24 +00:00
dependabot[bot]
ce37955ea2
Bump @solana/web3.js from 0.86.2 to 0.86.3 in /token-lending/js ( #781 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.2 to 0.86.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.2...v0.86.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 10:19:18 +00:00
dependabot[bot]
47f92d9045
Bump @typescript-eslint/eslint-plugin in /token-lending/js ( #782 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.6.1/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 10:18:35 +00:00
dependabot[bot]
26f4fa9333
Bump @solana/web3.js from 0.86.2 to 0.86.3 in /token/js ( #780 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.2 to 0.86.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.2...v0.86.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 09:18:06 +00:00
Michael Vines
f2da427631
Revert "Adapt to https://github.com/solana-labs/solana/pull/13355 "
...
This reverts commit 9a383e24a2792e4ae04a470a9c94a29e518f8945.
2020-11-03 04:13:36 +00:00
Michael Vines
20551f9fbc
Adapt to https://github.com/solana-labs/solana/pull/13355
2020-11-03 04:13:36 +00:00
Michael Vines
4da9cb3631
Add associated-token-account program
2020-11-03 04:13:36 +00:00
Michael Vines
b68163ff23
Patch solana-program-test
2020-11-03 04:13:36 +00:00
Yuriy Savchenko
480f6604b7
Added missing accounts to the interface to call stake account program ( #763 )
...
* Interface accounts added as read-only, fixed mint authority on deposit, fixed stake pool stake deserializing
* Unit test refactoring, added success tests for deposit, updated stake account program id
* Warnings fixed
* Removed random key generation, used Pubkey::new_unique instead
* Imports optimization
* Unit test architecture updated to remove separate invoke_signed declarations
* Added missing accounts (sysvar clock and stake account program id) to calls to stake account program
* Fixed formatting
* Fixed stake pool deposit unit test
* Temporarily removed stake-pool cli from main workspace
* Fixed warning in token program
* Fixed warning in token program v3
* Fixed warnings in token swap program
* Fixed warning in token cli
* Sysvar and program id params reordered
2020-11-02 22:03:54 +01:00
Jon Cinque
7aa82424ba
Add more checks to mergify due to GitHub Actions migration ( #777 )
...
* Add more checks to mergify
* Add "rollup" GitHub action
* Add "step" to rollup action
* Update mergify for new rollup step
* Update rollup step name to "all_github_action_checks"
2020-11-02 19:17:00 +01:00
Jon Cinque
0ca46c6220
Revert solana_rbpf to 0.1.32 to fix CI ( #776 )
2020-11-02 16:39:20 +01:00
Michael Huang
5bf4b76df4
Refactor curve.rs ( #754 )
...
* Refactor shared out of curve.rs
* Refactor out flat curve
* Refactor out constant product curve
* Cargo fmt
* More moving
* Fixup
* use::super -> user::create::curve
* cp -> constant_product
* Fix circular dependency
* Docs
* Trigger Build
2020-11-02 14:29:00 +01:00
dependabot[bot]
355fa0a12c
Bump solana_rbpf from 0.1.32 to 0.2.0 ( #775 )
...
Bumps [solana_rbpf](https://github.com/solana-labs/rbpf ) from 0.1.32 to 0.2.0.
- [Release notes](https://github.com/solana-labs/rbpf/releases )
- [Commits](https://github.com/solana-labs/rbpf/compare/v0.1.32...v0.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 12:04:42 +00:00
dependabot[bot]
1a340b8f3c
Bump rollup from 2.32.1 to 2.33.1 in /token-swap/js ( #774 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.1 to 2.33.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.32.1...v2.33.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 11:04:28 +00:00
dependabot[bot]
af2a117d48
Bump rollup from 2.32.1 to 2.33.1 in /token-lending/js ( #772 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.1 to 2.33.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.32.1...v2.33.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 10:09:02 +00:00
dependabot[bot]
b49cc6e29c
Bump typescript from 4.0.3 to 4.0.5 in /token-lending/js ( #773 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 10:06:14 +00:00
dependabot[bot]
019a35619f
Bump @types/node from 14.14.3 to 14.14.6 in /token-lending/js ( #771 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.3 to 14.14.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 10:06:05 +00:00
dependabot[bot]
222b8e9a94
Bump rollup from 2.32.1 to 2.33.1 in /token/js ( #770 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.1 to 2.33.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.32.1...v2.33.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:04:03 +00:00
Michael Vines
b0554c534a
sort
2020-11-01 21:13:52 -08:00
Michael Vines
b3ae8d837e
Add remote-wallet to dependency patching
2020-11-01 20:58:46 -08:00
Michael Vines
8944f428fe
Skip bpf-build while running clippy
2020-11-01 20:48:15 -08:00
Michael Vines
68ce3cc03b
Install solana cli more
2020-11-01 20:48:15 -08:00
Michael Vines
b182848f60
Fail build.rs on error
2020-11-01 20:48:15 -08:00
Michael Vines
fd7307754e
Cargo.lock
2020-11-01 20:48:15 -08:00
Michael Vines
2b5e9d1286
Drop lifetimes
2020-11-01 20:48:15 -08:00
Michael Vines
8dd09c7530
Add token-perf-mon into the workspace
2020-11-01 20:48:15 -08:00
Michael Vines
8901fdc114
Properly initializes rent
2020-11-01 20:48:15 -08:00
Michael Vines
9f4e6d8beb
Update to solana v1.4.4
2020-11-01 20:48:15 -08:00
Michael Vines
379d9f4405
Add solana-remote-wallet to crate patch list
2020-11-01 20:48:15 -08:00
Michael Vines
7008bcf398
Update token/perf-monitor to latest solana-program/solana-sdk
2020-11-01 20:48:15 -08:00
Michael Vines
8ad2512de6
Update shared-memory to latest solana-program/solana-sdk
2020-11-01 20:48:15 -08:00
dependabot[bot]
6fde6e0cda
Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 in /token-swap/js ( #741 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.1.0...commonjs-v16.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 23:45:22 +08:00
dependabot[bot]
1890a7f3ea
Bump flow-bin from 0.136.0 to 0.137.0 in /token/js ( #748 )
...
Bumps [flow-bin](https://github.com/flowtype/flow-bin ) from 0.136.0 to 0.137.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases )
- [Commits](https://github.com/flowtype/flow-bin/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 23:45:04 +08:00
dependabot[bot]
c2fbe4b7a8
Bump @typescript-eslint/eslint-plugin in /token-lending/js ( #737 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.6.0/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 20:34:09 +08:00
dependabot[bot]
ce439daa99
Bump @rollup/plugin-commonjs from 15.1.0 to 16.0.0 in /token-lending/js ( #745 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 15.1.0 to 16.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.1.0...commonjs-v16.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 20:29:17 +08:00
dependabot[bot]
3cf2ae38ff
Bump flow-bin from 0.136.0 to 0.137.0 in /token-swap/js ( #752 )
...
Bumps [flow-bin](https://github.com/flowtype/flow-bin ) from 0.136.0 to 0.137.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases )
- [Commits](https://github.com/flowtype/flow-bin/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 20:29:01 +08:00
dependabot[bot]
b5918d8ea6
Bump @solana/web3.js from 0.86.1 to 0.86.2 in /token/js ( #757 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.1 to 0.86.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.1...v0.86.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 19:09:27 +08:00
dependabot[bot]
65043bac6b
Bump @solana/web3.js from 0.84.1 to 0.86.2 in /token-lending/js ( #758 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.84.1 to 0.86.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.84.1...v0.86.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 19:09:00 +08:00
Justin Starry
138ca68a87
Switch to Github Actions for CI ( #768 )
2020-11-01 18:42:51 +08:00
Justin Starry
beaa05ece5
Bump npm token and token-swap versions ( #767 )
...
* Bump npm token and token-swap versions
* Bump npm token and token-swap versions
2020-11-01 05:43:55 +00:00
Tyera Eulberg
c312a0576a
Clippy suggestions ( #765 )
2020-10-31 19:10:33 -06:00
Trent Nelson
de23dbc8a0
token-cli: Don't panic on signing errors
2020-10-30 15:57:20 -06:00
Trent Nelson
d02975bb0b
token-cli: Plumb multisig support for supporting subcommands
2020-10-30 15:57:20 -06:00