Commit Graph

1266 Commits

Author SHA1 Message Date
Michael Vines 995d4a029f Remove tokio dev-dependency 2021-03-16 18:33:37 -07:00
Michael Vines c63d854ac7 Switch to Instruction::new_with_bincode 2021-03-16 18:33:37 -07:00
Tyera Eulberg 82a385b7c3
Bump spl-token-cli for new release (#1463) 2021-03-16 18:24:04 -06:00
Justin Starry 4107c17a3b
Bump token-cli to v2.0.8 (#1458) 2021-03-16 17:44:36 -06:00
Tyera Eulberg 81ad7407d0
Remove debug dir between bpf and host crates (#1461) 2021-03-16 22:51:45 +00:00
Michael Vines 723aacadb7 Pin Solana versions used by spl-token-cli 2021-03-16 15:07:56 -07:00
Tyera Eulberg d65d2eac41
Token cli: Improve authorize command (#1445)
* Return clear error message if auth type is incompatible with account

* Report real current authority

* Prevent reauth of owner's ATA

* Fix typo, messaging improvements

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-03-16 13:59:21 -06:00
Michael Vines 7886d62488 Bump max BPF compute units 2021-03-16 09:08:59 -07:00
dependabot[bot] 425c6be077
build(deps-dev): bump @types/prettier in /token-lending/js (#1459)
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-16 09:42:02 +00:00
Justin Starry 5aa60dd892
token-cli: Don't sign with owner when creating an associated token account (#1449) 2021-03-16 15:59:38 +08:00
Jon Cinque 6db3b29066
stake-pool: Add usage docs (#1277)
* stake-pool: Add usage docs

* More instructions

* Update for adding validator stake accounts

* Review feedback

* Update command output

* Add note about credits observed

* Finish stake pool docs

* Integrate review feedback

* Add motivation and design sections

* Add rebalancing example
2021-03-15 19:05:33 +01:00
dependabot[bot] 4656bbc8f3
build(deps-dev): bump rollup from 2.41.1 to 2.41.2 in /token-lending/js (#1454)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.1 to 2.41.2.
- [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.41.1...v2.41.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 11:14:18 +00:00
dependabot[bot] f0a75999d5
build(deps-dev): bump @types/node in /token-lending/js (#1453)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.33 to 14.14.34.
- [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>
2021-03-15 10:40:13 +00:00
dependabot[bot] a6fda91912
build(deps-dev): bump eslint from 7.21.0 to 7.22.0 in /token-lending/js (#1452)
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 10:07:09 +00:00
Justin Starry e99dc71ec7
lending: fix flaky program test (#1448) 2021-03-15 09:01:27 +00:00
Tyera Eulberg 5aa0341478
Token cli: spl-token accounts improvements (#1440)
* Swap token/account to prep for display changes

* Refactor accounts parsing for deterministic order and to batch by mint

* Add Aux tags and gc alert

* Hide account addresses for non-verbose returns

* Review nits

* Set balance display len dynamically

* Bump solana version to reduce Account parse failures

* Fix aux width
2021-03-12 19:34:14 -07:00
Justin Starry 57d5b56208
lending: Add program addresses to docs (#1442) 2021-03-12 22:16:30 +08:00
dependabot[bot] 2121951f92
build(deps-dev): bump mocha from 8.3.1 to 8.3.2 in /token/js (#1443)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.1...v8.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:36:28 +00:00
Tyera Eulberg 123f0daffe
Allow pubkey owner for accounts subcommand (#1439) 2021-03-11 15:40:47 -07:00
Justin Starry 90b4b33775
lending: Add SetLendingMarketOwner instruction (#1434) 2021-03-11 16:02:50 +00:00
Justin Starry e7d7db12bd
lending: Update test fixtures to v3 accounts (#1435) 2021-03-11 23:28:52 +08:00
dependabot[bot] 73b8fe0334
build(deps-dev): bump @types/node in /token-lending/js (#1438)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.32 to 14.14.33.
- [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>
2021-03-11 11:07:42 +00:00
dependabot[bot] 001bbc35f5
build(deps-dev): bump rollup from 2.41.0 to 2.41.1 in /token-lending/js (#1437)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.0 to 2.41.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.41.0...v2.41.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 10:35:01 +00:00
dependabot[bot] 3b97752e7d
build(deps-dev): bump rollup from 2.41.0 to 2.41.1 in /token/js (#1436)
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.0 to 2.41.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.41.0...v2.41.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 09:35:27 +00:00
Tyera Eulberg 7a2d17b57f
Enable short arg, monikers (#1433) 2021-03-11 06:44:00 +00:00
Jack May 7567b41bce
Float perf feedback (#1428) 2021-03-10 22:04:30 +00:00
Jon Cinque 78f7f7f5de
stake-pool-cli: Fix withdraw calc for CLI / program consistency (#1422)
* stake-pool-cli: Fix withdraw calc for CLI / program consistency

* Run cargo fmt

* Integrate review feedback
2021-03-10 13:45:42 +01:00
dependabot[bot] c75e0a8040
build(deps-dev): bump @types/eslint in /token-lending/js (#1426)
Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) from 7.2.6 to 7.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 10:36:29 +00:00
Jon Cinque 2217950da1
stake-pool-cli: Rename burn -> withdraw (#1423) 2021-03-10 10:38:44 +01:00
Jack May d87dc5be11
Add bpf float performance tests (#1425) 2021-03-10 01:40:39 +00:00
dependabot[bot] 694c8c27c6
build(deps-dev): bump typescript from 4.2.2 to 4.2.3 in /token/js (#1417)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:58:20 +00:00
dependabot[bot] 39f3f48446
build(deps-dev): bump @typescript-eslint/parser in /token/js (#1416)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.16.1 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:20:13 +00:00
dependabot[bot] e262412a01
build(deps-dev): bump @babel/plugin-transform-runtime in /token/js (#1415)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-plugin-transform-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 16:41:38 +00:00
dependabot[bot] b24bf6f670
build(deps-dev): bump flow-remove-types in /token/js (#1414)
Bumps [flow-remove-types](https://github.com/facebook/flow) from 2.145.0 to 2.146.0.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 16:04:52 +00:00
dependabot[bot] bf261ff025
build(deps-dev): bump @babel/cli from 7.13.0 to 7.13.10 in /token/js (#1413)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-cli)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 15:26:13 +00:00
dependabot[bot] c06fe8862c
build(deps-dev): bump mocha from 8.3.0 to 8.3.1 in /token/js (#1411)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.0...v8.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:45:42 +00:00
dependabot[bot] 8921507e12
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1410)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.2 to 4.17.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.17.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:42:16 +00:00
dependabot[bot] df6791b655
build(deps-dev): bump @babel/preset-env in /token/js (#1409)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:13:08 +00:00
dependabot[bot] ffb0818b3b
build(deps): bump @solana/web3.js in /token-lending/js (#1408)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.93.0 to 0.94.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.93.0...v0.94.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 14:06:29 +00:00
dependabot[bot] f380f0a41a
build(deps-dev): bump @babel/register from 7.13.0 to 7.13.8 in /token/js (#1348)
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register) from 7.13.0 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-register)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 13:35:11 +00:00
dependabot[bot] 4782be178c
build(deps-dev): bump @types/prettier in /token-lending/js (#1406)
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 13:31:39 +00:00
dependabot[bot] 1bd6dead50
build(deps-dev): bump @babel/node from 7.13.0 to 7.13.10 in /token/js (#1405)
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:57:02 +00:00
dependabot[bot] 624dc5a474
build(deps-dev): bump @types/node in /token-lending/js (#1403)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.31 to 14.14.32.
- [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>
2021-03-09 12:26:15 +00:00
dependabot[bot] 68e9441c5e
build(deps-dev): bump eslint-plugin-mocha in /token/js (#1404)
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/8.0.0...8.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 12:23:24 +00:00
dependabot[bot] 2199453264
build(deps-dev): bump rollup from 2.39.1 to 2.41.0 in /token-lending/js (#1400)
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.1 to 2.41.0.
- [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.39.1...v2.41.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:48:15 +00:00
dependabot[bot] 43b65c93c9
build(deps): bump @babel/runtime from 7.13.9 to 7.13.10 in /token/js (#1401)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:47:46 +00:00
dependabot[bot] 55896bc1d8
build(deps-dev): bump @babel/plugin-transform-runtime in /token-swap/js (#1399)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.13.7 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-plugin-transform-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:34:53 +00:00
dependabot[bot] 7475b1b94a
build(deps-dev): bump @typescript-eslint/eslint-plugin in /token/js (#1397)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.16.1 to 4.17.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.17.0/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:12:42 +00:00
dependabot[bot] b21ac5619e
build(deps-dev): bump typescript in /token-lending/js (#1398)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 11:10:56 +00:00
dependabot[bot] 0e5429d454
build(deps-dev): bump @typescript-eslint/parser in /token-lending/js (#1396)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.2 to 4.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.17.0/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 10:37:04 +00:00