Vadim
cd57d1cf10
Binary oracle implementation ( #1347 )
...
* oracle pair init
* update
* updates
* progress
* update
* update
* progress
* builds
* update
* progress
* update
* copy pasta
* Refactor and add Instruction serializing/deserializing
* Add pack/unpack for Pool struct
* Implement InitPool instruction
* Add unit test and refactor InitPool instruction
* Minor changes
* Add using deposing token mint decimals in pass and fail mints
* Add Deposit instruction processing
* Add test for Deposit instruction
* Add Withdraw instruction processing
* Add test for Withdraw instruction
* Add Decide instruction with test
* Changes in Withdraw instruciton and add time travel to Decide instruction test
* Fix clippy warning
* Fix warning with if operator
* Fix clippy warnings
* Update libs version and minor fixes
* Minor changes
* Add user_transfer_authority to withdraw instruction and other minor changes
* Fix clippy warns
* Change return value after serialization
* Update tokio and solana-program-test libs version
Co-authored-by: Anatoly Yakovenko <anatoly@solana.com>
2021-03-18 18:18:20 +01:00
Yuriy Savchenko
d0bf7157cf
Set staking authority instruction removed ( #1469 )
...
* Set staking authority instruction removed
* Fixed fmt errors
2021-03-18 12:21:01 +01:00
Michael Vines
662f38f939
Bump Solana version to 1.6.1
2021-03-18 04:07:16 +00:00
Michael Vines
0a63d33988
Detect pinned versions
2021-03-18 04:07:16 +00:00
Michael Vines
eb163ab0c7
Bump lending compute units more
2021-03-17 13:04:55 -07:00
Michael Vines
52e4ccee5b
Relax some `set_bpf_compute_max_units` to unblock testing against the solana master
2021-03-17 09:31:37 +00:00
Michael Vines
a156a10051
Adjust test_memo_compute_limits to account for toolchain differences
2021-03-17 00:37:20 -07:00
Michael Vines
58807c5f8b
Back out clippy::manual_map for now
2021-03-16 22:22:59 -07:00
Michael Vines
af5fdb3146
Bump Rust version to 1.50.0
2021-03-16 22:22:59 -07:00
Michael Vines
ced24cb55a
Adapt to AccountSharedData
2021-03-16 20:07:33 -07:00
Michael Vines
626376653d
Clippy
2021-03-16 18:33:37 -07:00
Michael Vines
686444088b
Bump Solana version to 1.5.15
2021-03-16 18:33:37 -07:00
Michael Vines
1bc52c30fd
Remove yelling
2021-03-16 18:33:37 -07:00
Michael Vines
64edd0ba76
Remove unknown_clippy_lints
2021-03-16 18:33:37 -07:00
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