dependabot[bot]
f07e4ed931
Bump @solana/web3.js from 0.79.0 to 0.80.0 in /token-swap/js ( #602 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.79.0 to 0.80.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.79.0...v0.80.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 11:39:37 +00:00
dependabot[bot]
91a240b9c1
Bump eslint from 7.10.0 to 7.11.0 in /token-lending/js ( #598 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.10.0 to 7.11.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.10.0...v7.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 11:25:39 +00:00
dependabot[bot]
b42e12eded
Bump @solana/web3.js from 0.78.4 to 0.80.0 in /token-lending/js ( #599 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.4 to 0.80.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.4...v0.80.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 10:20:45 +00:00
dependabot[bot]
26950bb2a5
Bump @types/prettier from 2.1.1 to 2.1.2 in /token-lending/js ( #600 )
...
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier ) from 2.1.1 to 2.1.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>
2020-10-12 10:13:45 +00:00
dependabot[bot]
553e7b9346
Bump @solana/web3.js from 0.79.0 to 0.80.0 in /token/js ( #597 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.79.0 to 0.80.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.79.0...v0.80.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 09:10:09 +00:00
dependabot[bot]
b3119a6031
Bump eslint from 7.10.0 to 7.11.0 in /token/js ( #596 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.10.0 to 7.11.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.10.0...v7.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 09:09:01 +00:00
Greg Fitzgerald
b4bbe11568
Use ristretto_mul builtin to stay below BPF instruction limit ( #575 )
...
* Use ristretto_mul builtin to stay below BPF instruction limit
* Test against a full local validator
There's now three levels of integration test:
* local_e2e uses a native program and tests with a single Bank instance.
This configuration is simplest to compile and offers the best error
messages.
* validator_e2e uses a BPF program and tests with a single Validator
instance.
This configuration allows us to test new validator functionality
before it's released without having to spin up nodes manually.
* examples/tps.rs uses whatever cluster the Solana CLI points to,
which may be devnet, testnet, mainnet-beta or a cluster of your
own.
2020-10-09 16:55:45 -06:00
Daniel Kelleher
2fb7df6922
Standardise datatypes of amount parameters to accept u64s across the board in the token program JS client. ( #594 )
2020-10-09 19:36:38 +02:00
Jon Cinque
423d8b1ae9
Add checks for 0 token output and tests ( #595 )
2020-10-09 19:23:43 +02:00
dependabot[bot]
a965c4aa68
Bump rollup from 2.28.2 to 2.29.0 in /token-lending/js ( #590 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.28.2 to 2.29.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.28.2...v2.29.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 10:53:18 +00:00
dependabot[bot]
20f1ebb152
Bump rollup-plugin-sourcemaps from 0.6.2 to 0.6.3 in /token-lending/js ( #593 )
...
Bumps [rollup-plugin-sourcemaps](https://github.com/maxdavidson/rollup-plugin-sourcemaps ) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/maxdavidson/rollup-plugin-sourcemaps/releases )
- [Changelog](https://github.com/maxdavidson/rollup-plugin-sourcemaps/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maxdavidson/rollup-plugin-sourcemaps/compare/v0.6.2...v0.6.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 09:59:16 +00:00
dependabot[bot]
d5431db289
Bump @types/node from 14.11.5 to 14.11.8 in /token-lending/js ( #592 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.5 to 14.11.8.
- [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-10-09 09:29:34 +00:00
dependabot[bot]
2648113e40
Bump @types/eslint from 7.2.3 to 7.2.4 in /token-lending/js ( #591 )
...
Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint ) from 7.2.3 to 7.2.4.
- [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>
2020-10-09 08:34:34 +00:00
dependabot[bot]
4b1655c3ac
Bump @types/node from 14.11.5 to 14.11.7 in /token-lending/js ( #589 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.5 to 14.11.7.
- [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-10-09 07:35:56 +00:00
dependabot[bot]
c61305675a
Bump @solana/web3.js from 0.78.3 to 0.79.0 in /token/js ( #587 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.3 to 0.79.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.3...v0.79.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 07:35:48 +00:00
dependabot[bot]
d5c99b35bc
Bump @solana/web3.js from 0.78.3 to 0.79.0 in /token-swap/js ( #588 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.3 to 0.79.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.3...v0.79.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 07:35:05 +00:00
Justin Starry
a4f09fe05e
SPL token lending scaffolding ( #582 )
...
* Scaffolding for spl-token-lending program
* Scaffolding for TS client
2020-10-09 13:29:51 +08:00
Jon Cinque
5bd2e1c98c
Update token / token-swap npm package version ( #585 )
2020-10-09 01:03:09 +02:00
dependabot[bot]
31161eac67
Bump rollup from 2.28.2 to 2.29.0 in /token-swap/js ( #580 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.28.2 to 2.29.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.28.2...v2.29.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 10:27:36 +00:00
Justin Starry
9e76189a42
Clean up JS test getConnection function ( #577 )
2020-10-08 09:27:06 +00:00
dependabot[bot]
08eb665e81
Bump cbindgen from 0.14.6 to 0.15.0 ( #578 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.14.6 to 0.15.0.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.14.6...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 09:07:41 +00:00
dependabot[bot]
d06081934c
Bump rollup from 2.28.2 to 2.29.0 in /token/js ( #579 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.28.2 to 2.29.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.28.2...v2.29.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 09:03:33 +00:00
Justin Starry
451452feac
Allow ../../do.sh build <program> ( #576 )
2020-10-08 04:34:20 +00:00
Jack May
a7b121074d
Remove skip-no-mangle entirely
2020-10-07 09:13:59 -07:00
dependabot[bot]
2b3f71c1ae
Bump @solana/web3.js from 0.78.2 to 0.78.3 in /token-swap/js ( #571 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.2 to 0.78.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.2...v0.78.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 10:21:39 +00:00
dependabot[bot]
923676fae2
Bump thiserror from 1.0.20 to 1.0.21 ( #573 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 09:06:05 +00:00
dependabot[bot]
bd6279eead
Bump @solana/web3.js from 0.78.2 to 0.78.3 in /token/js ( #572 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.2 to 0.78.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.2...v0.78.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 09:02:42 +00:00
Michael Vines
aa9984e0d0
Replace mkdirp-promise with mkdirp
2020-10-06 18:01:48 -07:00
Jack May
daca3588a6
nit
2020-10-06 11:03:14 -07:00
Jack May
c574597d71
solana sdk does not need skip-no-mangle
2020-10-06 11:03:14 -07:00
Tyera Eulberg
8131bec332
Bump token to published version
2020-10-05 21:12:45 -06:00
Greg Fitzgerald
b020dd29c1
Add Ristretto version of THEMIS ( #566 )
...
* Add Ristretto version of THEMIS
BN BPF instruction counts:
CalculateAggregate: 83,511
SubmitProofDecryption: 33,755,027
Ristretto BPF instruction counts:
CalculateAggregate: 13,049,558
SubmitProofDecryption: 13,149,232
* Fix CI script
2020-10-05 18:49:38 -06:00
dependabot[bot]
66f334bc8e
Bump solana-logger from 1.3.14 to 1.3.15 ( #564 )
...
Bumps [solana-logger](https://github.com/solana-labs/solana ) from 1.3.14 to 1.3.15.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.14...v1.3.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:56:41 +00:00
dependabot[bot]
12c43abb68
Bump solana-cli-config from 1.3.14 to 1.3.15 ( #565 )
...
Bumps [solana-cli-config](https://github.com/solana-labs/solana ) from 1.3.14 to 1.3.15.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.14...v1.3.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:56:34 +00:00
Greg Fitzgerald
3260644b38
Incremental aggregation in Themis ( #563 )
...
* Move interactions PublicKey to User constructor
* Permit incremental interaction submissions
* Split InitializePoliciesAccount into two instructions
* Clean up BPF instruction count output
* Update Themis program
* Get submit_interactions() working on testnet
* Fix build
2020-10-02 21:57:54 -06:00
Jon Cinque
2b07fc1064
token-swap: Assess swap fee on input token ( #562 )
...
* token-swap: Assess swap fee on input token
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update token-swap/program/src/curve.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Fix new var name everywhere
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2020-10-02 22:47:39 +02:00
dependabot[bot]
b33bf9c460
Bump serde_json from 1.0.57 to 1.0.58 ( #561 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 08:56:06 +00:00
Jon Cinque
bbc5f57dcc
token-swap: Add slippage to swap / withdraw / deposit ( #560 )
...
* token-swap: Add slippage to swap / withdraw / deposit
* Update JS snake_case -> camelCase
* Run prettier
2020-10-02 10:40:33 +02:00
Trent Nelson
f4917395be
themis-test: Bump proof-decryption ix count to 60M
2020-10-01 11:47:12 -06:00
Trent Nelson
a9e5ec45ff
CI: Run THEMIS tests
2020-10-01 11:47:12 -06:00
Trent Nelson
0b995a293b
Re-add spl-token-cli to workspace
2020-10-01 11:47:12 -06:00
Trent Nelson
16677f9b19
CI: Make script.sh less spammy when run locally
2020-10-01 11:47:12 -06:00
Jon Cinque
5e1c2bb34d
token-swap: Use sdk version of Pack ( #554 )
...
* token-swap: Use sdk version of Pack
* Update to get_packed_len per review
2020-10-01 11:02:31 +02:00
dependabot[bot]
01e3c193f1
Bump flow-bin from 0.134.0 to 0.135.0 in /token-swap/js ( #557 )
...
Bumps [flow-bin](https://github.com/flowtype/flow-bin ) from 0.134.0 to 0.135.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-10-01 08:43:15 +00:00
dependabot[bot]
7a90c53557
Bump getrandom from 0.1.14 to 0.1.15 ( #559 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.1.14 to 0.1.15.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.14...v0.1.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 08:42:48 +00:00
dependabot[bot]
1393e632b4
Bump flow-bin from 0.134.0 to 0.135.0 in /token/js ( #556 )
...
Bumps [flow-bin](https://github.com/flowtype/flow-bin ) from 0.134.0 to 0.135.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-10-01 08:42:23 +00:00
Greg Fitzgerald
acc0c62f9b
Add Themis using the BN curve ( #549 )
...
* Add THEMIS Policy Contract
* Add test with 128 ads
* Add instructions
* Allow clients to work concurrently
* pub(crate) utils to find unused code
* Remove serde_json dep
* Drop dependency on primitive_types
* Add a simpler inner_product
* Use elgamal for proof verification
* Migrate to Ristretto
Also, use Serde for instruction serialization
* Add remaining instructions to processor
* Remove rand 0.6 dependency
* Add instruction constructors
* Add e2e test
* Move client test out of BPF build
* Add BPF instruction count test
Shows us that serde makes too many recursive calls and causes
a very high instruction count (Vec<U256> becomes impractical).
* Use Borsh serialization and test calculate_aggregate()
Bump BPF instruction count limits after upgrading compiler
* Test SubmitProofDecryption BPF instruction count
* Remove CompressedRistretto
This drops SubmitProofDecryption instructions by ~2.5M.
Also, box up more RistrettoPoints, because they're huge (120 bytes) and
blow up the BPF stack.
* Add transaction size metrics and update BPF counts
* Switch back to BN
* Add benchmarking
* Use configured keypair path
* Make num_users configurable
* Make testnet benchmark an example, not a test
* Exclude themis client from CI build
Because of Travis failure on itertools dependency
2020-09-30 21:33:29 -06:00
Trent Nelson
748ff6c7d8
spl-token-cli: Consolidate TX construction/signing
2020-09-30 20:17:53 +00:00
Trent Nelson
e0fb75d134
spl-token-cli: Use signer-based arg validators/parsers
2020-09-30 20:17:53 +00:00
Trent Nelson
c4cf9ffef4
token: Bump solana crates to 1.3.14
2020-09-30 20:17:53 +00:00