Commit Graph

681 Commits

Author SHA1 Message Date
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
Trent Nelson 23e2b0bed3 token-cli: Add `multisig-info` subcommand 2020-10-30 15:57:20 -06:00
Trent Nelson f40236928d token-cli: Add `create-multisig` subcommand 2020-10-30 15:57:20 -06:00
R. M. Shea 18ed2a2080
Add Search functionality (#729)
* Install `lunar-search` component

* Add lightweight search
2020-10-30 10:02:59 -07:00
Michael Vines 311f439c80
Add vote/stake program to patch list 2020-10-30 08:40:50 -07:00
dependabot[bot] 3cd7f4e0d5
Bump num-derive from 0.3.2 to 0.3.3 (#761)
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/rust-num/num-derive/releases)
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.2...num-derive-0.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 12:05:57 +00:00
dependabot[bot] 4b53e264c7
Bump num-traits from 0.2.12 to 0.2.14 (#760)
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.12 to 0.2.14.
- [Release notes](https://github.com/rust-num/num-traits/releases)
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.12...num-traits-0.2.14)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 12:04:12 +00:00
dependabot[bot] 3274ee2fce
Bump @solana/web3.js from 0.84.0 to 0.86.2 in /token-swap/js (#759)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.84.0 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.0...v0.86.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 11:04:28 +00:00
Ryo Onodera 0dc32f67df
Document about the known fake rent issue (#753)
* Document about the known fake rent issue

* Bad english

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Fix link

* Apply more suggestions

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-30 15:17:41 +09:00
Yuriy Savchenko a5babd6cbe
Unit tests refactoring and success deposit test added to stake pool program (#718)
* 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
2020-10-29 17:19:48 +01:00
Jon Cinque 9cd1cb0900
Token-swap: Add "production mode" hard-coded fee constraints (#731)
* Add statically configured program constraints

* Allow missing host fee account

* Run cargo fmt + clippy

* Update JS for new host fee account param

* Fix merge issues

* Add host fee to curve, constrain on curves

* Cleanup static variable

* Add production test to CI

Integrate review feedback

* Run cargo fmt, clippy, prettier

* Re-run cargo fmt

* Fix test for eslint / prettier clash
2020-10-29 12:52:17 +01:00
dependabot[bot] 377468132a
Bump @solana/web3.js from 0.84.0 to 0.86.1 in /token/js (#749)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.84.0 to 0.86.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.84.0...v0.86.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 09:06:44 +00:00
Michael Vines 9c7c12c361 Correct help text 2020-10-28 17:43:57 -07:00
dependabot[bot] a2400c35af
Bump @solana/web3.js from 0.84.0 to 0.84.1 in /token-lending/js (#746)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.84.0 to 0.84.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.84.0...v0.84.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-28 10:04:57 +00:00
Justin Starry edb0a7deea
Document self-transfer behavior (#743) 2020-10-28 10:48:23 +08:00
Greg Fitzgerald 6906200174
Cleanup themis (#742)
* Cleanup themis

* Speed up seeding fee-payers
* Add utility functions

* Remove BN variant of themis
2020-10-27 16:57:09 -06:00
Paul cb9a94142a
add freeze and thaw account methods to module declaration in spl token library (#730) 2020-10-27 21:15:52 +08:00