Trent Nelson
84f2f33f49
spl-token-cli: Use CLI config wallet for nonce authority fallback
2021-04-01 01:41:24 -06:00
Trent Nelson
25a6a6e923
spl-token-cli: Sort multisigners
2021-04-01 01:41:13 -06:00
Michael Vines
eb6cd994b8
More variable renaming
2021-04-01 07:40:18 +00:00
Michael Vines
48ab307cad
Reboot program address derivation helpers
2021-03-31 23:57:44 -07:00
Trent Nelson
8b989d562b
spl-token-cli: Simplify owner resolution
2021-03-31 23:52:16 -06:00
Michael Vines
67cb90f39c
De-tangle processor/state dependencies
2021-03-31 22:00:20 -07:00
Michael Vines
b97849d206
Code cleanup v2
2021-03-31 19:52:17 -07:00
Michael Vines
2cd7adbf87
Code cleanup v1
2021-03-31 15:37:50 -07:00
Michael Vines
eb1bf2eb44
Code cleanup v0
2021-03-31 12:28:08 -07:00
dependabot[bot]
7d4873c617
build(deps-dev): bump @types/eslint in /token-lending/js ( #1547 )
...
Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint ) from 7.2.7 to 7.2.8.
- [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-31 09:56:16 +00:00
dependabot[bot]
ffae874369
build(deps): bump @solana/web3.js in /token-lending/js ( #1548 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 1.2.0 to 1.2.4.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Changelog](https://github.com/solana-labs/solana-web3.js/blob/master/.releaserc.json )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.2.0...v1.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 09:53:02 +00:00
dependabot[bot]
b81e945c21
build(deps): bump @solana/spl-token in /token-lending/js ( #1545 )
...
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library ) from 0.0.13 to 0.1.3.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases )
- [Commits](https://github.com/solana-labs/solana-program-library/commits/@solana/spl-token@v0.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 08:47:53 +00:00
Ryo Onodera
b5522ef510
Add basic release docs ( #1542 )
...
* Add basic release docs
* Update docs
* Further enrish the steps after interviews
* fix shifted number...
* more tweaks
* Update README.md
* Update README.md
2021-03-31 17:18:20 +09:00
Ryo Onodera
0cfc42eeed
Bump @solana/spl-token to v0.1.3 ( #1543 )
2021-03-31 15:42:15 +09:00
Jack May
f390e12311
Allow for fixed error mappings ( #1541 )
2021-03-30 17:30:44 -07:00
Tyera Eulberg
936ecef809
Bump spl-token-cli to 2.0.10 ( #1540 )
2021-03-30 17:22:17 -06:00
Jon Cinque
9f38a6f4b2
Rework create validator stake account ( #1539 )
2021-03-31 00:54:15 +02:00
Tyera Eulberg
f2de73da8e
spl-token-cli: support ATA in close, balance, and account-info ( #1537 )
...
* Use ATA by default in close command
* Use ATA by default in balance/account-info queries
* Add Aux tag and gc messaging to spl-token account-info
* Recommend 'token' only if no args provided
2021-03-30 22:31:54 +00:00
Michael Vines
19e1161be2
Minor config -> rpc_client refactor
2021-03-30 15:29:55 -07:00
Jon Cinque
9e4f190633
stake-pool: Rename instructions / structs ( #1536 )
...
* stake-pool: Rename instructions / structs
* Cargo fmt
* Fix proptest
2021-03-30 23:54:06 +02:00
Michael Vines
024766161c
Automatically update the stake pool if needed, use the `--no-update` flag to disable
2021-03-30 12:56:30 -07:00
Michael Vines
8ad223ac4e
add-validator-stake now cleanly errors if non-active stake is provided
2021-03-30 11:44:24 -07:00
Michael Vines
a029447484
Move to positional parameters
2021-03-30 09:40:23 -07:00
Michael Vines
448be67cfa
Update to Solana 1.6.2
2021-03-30 09:38:04 -07:00
dependabot[bot]
150c20a564
build(deps-dev): bump @rollup/plugin-commonjs in /token-lending/js ( #1532 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 17.1.0 to 18.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v17.1.0...commonjs-v18.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 16:34:42 +00:00
dependabot[bot]
c9f8930722
build(deps-dev): bump @types/node in /token-lending/js ( #1531 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.36 to 14.14.37.
- [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-30 15:31:54 +00:00
dependabot[bot]
bf2fc4e3ea
build(deps-dev): bump rollup from 2.43.1 to 2.44.0 in /token-lending/js ( #1530 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.43.1 to 2.44.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.43.1...v2.44.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 14:45:18 +00:00
dependabot[bot]
48dc861257
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #1529 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.17.0 to 4.20.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.20.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-30 14:05:12 +00:00
Ryo Onodera
96215957d8
Remove unconditional hidden commitment override for sanity ( #1528 )
2021-03-30 22:37:56 +09:00
dependabot[bot]
3f9a7ee560
build(deps-dev): bump eslint from 7.22.0 to 7.23.0 in /token-lending/js ( #1527 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.22.0 to 7.23.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.22.0...v7.23.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 10:27:44 +00:00
dependabot[bot]
fd04684e94
build(deps-dev): bump @typescript-eslint/parser in /token-lending/js ( #1526 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.17.0 to 4.20.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.20.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-30 09:47:09 +00:00
Ryo Onodera
0500f5fb02
Add spl-token transfer --no-wait ( #1525 )
2021-03-30 16:25:21 +09:00
Justin Starry
7550748bd2
Bump @solana/spl-token to v0.1.2 ( #1520 )
2021-03-30 10:40:00 +08:00
Justin Starry
5473494f24
spl-token: Bump web3.js to v1.2.2 ( #1516 )
2021-03-30 00:11:12 +08:00
dependabot[bot]
c5e4f64351
build(deps-dev): bump rollup from 2.41.2 to 2.43.1 in /token-lending/js ( #1518 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.41.2 to 2.43.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.2...v2.43.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 11:40:50 +00:00
dependabot[bot]
b43cf9ff5c
build(deps): bump @solana/web3.js in /token-lending/js ( #1517 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.94.2 to 1.2.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Changelog](https://github.com/solana-labs/solana-web3.js/blob/master/.releaserc.json )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.94.2...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 10:55:05 +00:00
Justin Starry
03b44da260
Add solana-vote-program to update script
2021-03-29 14:46:27 +08:00
Jon Cinque
d815ba9b8e
stake-pool: Add borsh support and specify size on creation ( #1505 )
...
* lending: Update JS tests to solana-test-validator
* Add solana tools install
* Fix oopsie on the path
* Move where deployed programs go
* stake-pool: Add borsh support and size on creation
We can't specify the size in the instruction unfortunately, since we'd
only have 10kb max for the validator list. At roughly 50 bytes per
validator, that only gives us 200 validators.
On the flip side, using Borsh means we can allow the validator stake list
to be any size!
* Add AccountType enum
* Remove V1 everywhere
* Add max validators as parameter and get_instance_packed_len
* Add test for adding too many validators
* Clippy
2021-03-27 13:42:29 +01: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
d54fe03181
Add more solana crates to patch scripts
2021-03-26 20:17:44 -07:00
Derek Anderson
938dd01e9b
bumped version of cli-tools
2021-03-26 11:12:47 -07:00
Derek Anderson
914b65d52c
adding a dep i needed when building on Ubuntu 20.10
...
when building for the first time:
```
error: failed to run custom build command for `hidapi v1.2.5`
Caused by:
process didn't exit successfully: `solana-program-library/target/debug/build/hidapi-81175f45ee69e1c2/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=LIBUDEV_STATIC
cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at 'Unable to find libudev: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n" } }', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/hidapi-1.2.5/build.rs:53:54
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
```
2021-03-26 11:12:47 -07:00
dependabot[bot]
0a25996efa
build(deps-dev): bump @types/node in /token-lending/js ( #1509 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.34 to 14.14.36.
- [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-26 09:46:40 +00:00
B
76f0523e60
Add pausable proposal ( #1506 )
...
* feat: add pausable proposal
* fix: update proposal
2021-03-25 16:38:36 -05:00
Derek Anderson
3858d0ae25
fixed formula to match referenced doc [1] + formatting ( #1474 )
...
`P_{margin}=iRP` didn't make sense, as P isn't defined, and i is already defined as the price (from the oracle).
the references doc contains `P_{margin}=iR`, so I assume this is a typo.
2021-03-25 09:31:25 -05:00
B
bec876dcdc
Proposal for token-swap curve using stake pool account ( #1504 )
...
* feat: add new curve proposal
* Update StakePoolStableCurve.md
2021-03-24 11:07:00 -05:00
Tyera Eulberg
6969ad199a
Add separate docs workflow ( #1491 )
2021-03-23 23:27:48 -06:00
Tyera Eulberg
75e122061e
Accounts: check mint if provided, use helper ( #1503 )
2021-03-24 00:06:39 +00:00
Tyera Eulberg
a3e8af2068
spl-token-cli: use ATA by default in wrap/unwrap commands ( #1492 )
...
* Wrap to ATA by default
* Unwrap ATA by default
* Review comments
2021-03-23 15:48:27 -06:00
dependabot[bot]
5df346163f
build(deps-dev): bump @babel/node in /token-swap/js ( #1489 )
...
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node ) from 7.12.17 to 7.13.12.
- [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.12/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-23 10:42:30 +00:00