Commit Graph

184 Commits

Author SHA1 Message Date
Michael Vines 211f92e8c6 Groom Cargo.tomls 2020-10-25 07:52:33 +00:00
Michael Vines 47d31cc6f2 tmp: bpf first 2020-10-24 19:21:38 -07:00
Michael Vines 80e29ef6b9 Port SPL to solana-program and `cargo build-bpf` 2020-10-24 19:21:38 -07:00
dependabot[bot] 14d102b86a
Bump solana-cli-config from 1.4.1 to 1.4.2 (#704)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.4.1 to 1.4.2.
- [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.4.1...v1.4.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 13:29:32 +00:00
dependabot[bot] 1f0bf3bacb
Bump solana-logger from 1.4.1 to 1.4.2 (#705)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.4.1 to 1.4.2.
- [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.4.1...v1.4.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 12:13:37 +00:00
dependabot[bot] 1dfebe929d
Bump serde from 1.0.116 to 1.0.117 (#660)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 13:47:45 +00:00
dependabot[bot] 1af2292021
Bump console from 0.12.0 to 0.13.0 (#659)
Bumps [console](https://github.com/mitsuhiko/console) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/console/compare/v0.12.0...v0.13.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 12:18:56 +00:00
Justin Starry 9a8fa8e845
Update SDK version to v1.3.17 (#649)
* Update SDK version to v1.3.17

* Fix clients
2020-10-19 18:07:45 +08:00
Greg Fitzgerald 2ec3b3fa4f
Upgrade solana-sdk in themis (#636)
* Upgrade solana-sdk in themis

* Fix build

* Bump Token CLI dependencies
* Remove Cargo.lock files

* Fix BN build

* Upgrade BN client too
2020-10-16 16:28:07 -06:00
anatoly yakovenko 44b95aecdb
Token stake pool (#493)
* init

* instructions

* instruction progress

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* update

* wip

* update

* wip

* clippy

* builds

* builds

* wip test

* init testcargo fmt

* update

* wip stake instructions

* wip

* comment

* update

* update

* update

* init cli

* Address review comments

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2020-10-16 19:38:12 +02:00
dependabot[bot] edc03f23c1
Bump solana-cli-config from 1.4.0 to 1.4.1 (#644)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 13:37:30 +00:00
dependabot[bot] 86c0182ec4
Bump solana-logger from 1.4.0 to 1.4.1 (#645)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 12:20:02 +00:00
Tyera Eulberg 6718d42e34
Bump memo and token versions (#627) 2020-10-15 12:20:23 -06:00
Jack May 08d9999f99
add shared-memory program (#611)
* add shared-memory program

* add offset and reduce shared object size
2020-10-14 23:50:57 +00:00
Michael Vines 9324154df2 Bump version 2020-10-14 08:41:52 -07:00
dependabot[bot] 3d01a16746
Bump solana-logger from 1.3.15 to 1.4.0 (#621)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.15 to 1.4.0.
- [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.15...v1.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 13:59:38 +00:00
dependabot[bot] 535b2f0942
Bump solana-cli-config from 1.3.17 to 1.4.0 (#620)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.17 to 1.4.0.
- [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.17...v1.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 12:39:20 +00:00
Yutaro Mori 5f56635fde
Pass TokenSwap state into the constructor to simplify function calls (#586)
* Pass TokenSwap state into the constructor to simplify function calls

* WIP: Update program to return token_program_id

* Add tokenProgramId to js TokenSwapInfo object

* Address pr comments

* Remove TokenSwapInfo and use loadTokenSwap as the primary way to fetch TokenSwap metadata

* Fix module.d.ts

* Address pr comments

* Clarification on comments

Co-authored-by: Yutaro Mori <yutaro@umaproject.org>
2020-10-14 12:37:58 +02:00
dependabot[bot] 304c6400fa
Bump serde_json from 1.0.58 to 1.0.59 (#610)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 13:23:28 +00:00
dependabot[bot] 120731e78e
Bump solana-cli-config from 1.3.16 to 1.3.17 (#609)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.16 to 1.3.17.
- [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.16...v1.3.17)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 12:12:58 +00:00
dependabot[bot] 6b06db1787
Bump solana-cli-config from 1.3.15 to 1.3.16 (#603)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.15 to 1.3.16.
- [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.15...v1.3.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 12:21:31 +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
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
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] 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
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
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
Trent Nelson 0b995a293b Re-add spl-token-cli to workspace 2020-10-01 11:47:12 -06: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
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 c4cf9ffef4 token: Bump solana crates to 1.3.14 2020-09-30 20:17:53 +00:00
dependabot[bot] 8c777f25a9
Bump solana-logger from 1.3.13 to 1.3.14 (#553)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.13 to 1.3.14.
- [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.13...v1.3.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 09:16:41 +00:00
dependabot[bot] 449c4b95d6
Bump solana-cli-config from 1.3.13 to 1.3.14 (#552)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.13 to 1.3.14.
- [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.13...v1.3.14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:38:55 +00:00
Trent Nelson ec9961cd7f spl-token-cli: Add 'account-info' subcommand 2020-09-24 20:38:28 -06:00
Tyera Eulberg 9a7d5949c6
Bump spl-token-cli, and solana versions (#523)
* Bump spl-token-cli, incl solana versions

* Pin exact solana versions
2020-09-24 08:35:58 +00:00
dependabot[bot] e8bb772dba
Bump console from 0.11.3 to 0.12.0 (#518)
Bumps [console](https://github.com/mitsuhiko/console) from 0.11.3 to 0.12.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Commits](https://github.com/mitsuhiko/console/compare/v0.11.3...v0.12.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-23 13:05:51 +00:00
Tyera Eulberg 4c93e07ec9
Add freeze and thaw functionality to spl-token cli (#511)
* Add arg to enable token mint to freeze

* Add freeze/thaw subcommands

* Add frozen marker to spl-token accounts

* Add todos to simplify args
2020-09-22 10:54:51 -06:00
dependabot[bot] fcb1130573
Bump cbindgen from 0.14.5 to 0.14.6 (#515)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.5 to 0.14.6.
- [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.5...v0.14.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 08:40:59 +00:00
Jack May 759fe1487e Switch to solana_sdk Pack and COption 2020-09-21 17:08:37 -07:00
Jack May 08fe8307f0
Bump solana-sdk to v1.3.12 (#484) 2020-09-21 08:38:29 -07:00
dependabot[bot] d03aad8464
Bump cbindgen from 0.14.4 to 0.14.5 (#489)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.4 to 0.14.5.
- [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.4...v0.14.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:43:37 +00:00
dependabot[bot] bc0e3b9b5b
Bump solana-logger from 1.3.11 to 1.3.12 (#487)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.11 to 1.3.12.
- [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.11...v1.3.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:42:11 +00:00
Tyera Eulberg 70009b3bc3
Bump spl-token v2 (#480) 2020-09-19 00:37:21 +00:00
dependabot[bot] 4bacef3e19
Bump solana-client from 1.3.9 to 1.3.11 (#472)
Bumps [solana-client](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:42:12 +00:00
dependabot[bot] ef31275709
Bump solana-clap-utils from 1.3.9 to 1.3.11 (#460)
Bumps [solana-clap-utils](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 09:27:13 +00:00
dependabot[bot] 6716e0f09f
Bump solana-account-decoder from 1.3.9 to 1.3.11 (#461)
Bumps [solana-account-decoder](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:40:45 +00:00
dependabot[bot] 9d9545c98d
Bump solana-sdk from 1.3.9 to 1.3.11 (#454)
Bumps [solana-sdk](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 09:22:53 +00:00
dependabot[bot] 75145e1ada
Bump solana-logger from 1.3.9 to 1.3.11 (#453)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:42:08 +00:00
dependabot[bot] f229456e15
Bump solana-cli-config from 1.3.9 to 1.3.11 (#451)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.9 to 1.3.11.
- [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.9...v1.3.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:41:57 +00:00
Jon Cinque 759cbb3866
Pack instructions and state more efficiently (#420)
* Pack instructions and state more efficiently

* SwapInfo and SwapInstruction are more memory-efficient, following the
  example from SPL Token
* Remove unnecessary helper structs to make instructions clearer
* Error -> SwapError
* Update JS tests to reflect the change

* Integrate review feedback
2020-09-11 18:19:06 +02:00
Tyera Eulberg a8df113101
Add token/program2 for next changeset (#412)
* Add token/program2 for next changeset

* Use version number instead of index
2020-09-10 16:04:50 -06:00
Justin Starry 708bb430ab
Bump dependencies from 1.3.8 to 1.3.9 (#415) 2020-09-10 17:25:43 +08:00
Trent Nelson 72fc795f90 Bump SPL Token CLI version to 2.0.1 2020-09-09 17:14:13 +00:00
dependabot[bot] f842f276e5
Bump solana-cli-config from 1.3.8 to 1.3.9 (#402)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.8 to 1.3.9.
- [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.8...v1.3.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:45:25 +00:00
dependabot[bot] 5bb0a04960
Bump solana-logger from 1.3.8 to 1.3.9 (#403)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.8 to 1.3.9.
- [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.8...v1.3.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 08:45:19 +00:00
Trent Nelson e00a6f1add Bump Token version to 2.0.4 2020-09-04 01:18:44 -06:00
Trent Nelson b15eb09cfb Bump solana crates to 1.3.8 2020-09-04 01:18:44 -06:00
Jack May 0637e358bc
Add back token perf monitor (#380) 2020-09-01 17:27:11 -07:00
dependabot[bot] 92457f774c
Bump cbindgen from 0.14.2 to 0.14.4 (#372)
Bumps [cbindgen](https://github.com/eqrion/cbindgen) from 0.14.2 to 0.14.4.
- [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.2...v0.14.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 08:26:09 +00:00
Michael Vines 858dd64f6b Update to solana 1.3.6 2020-08-29 14:37:10 -07:00
Michael Vines 51b3465b17 Bump spl-token-cli version 2020-08-29 08:41:25 -07:00
Tyera Eulberg 510d34198b
Bump token program id, version (#361) 2020-08-29 02:44:03 -06:00
Tyera Eulberg d11dbba955
Bump version (#357) 2020-08-28 19:34:29 +00:00
Michael Vines 0a47a3127c Move c header generation out of build.rs 2020-08-27 23:32:07 -07:00
Tyera Eulberg 13a279c0b4
Bump spl-token to v2 (#352) 2020-08-28 00:29:55 -06:00
Jack May 2a5acff2d8
Safer pack/unpack (#349)
* Safer pack/unpack

* fix cli

* clippy

* fix swap

* nit

* clippy

Co-authored-by: Michael Vines <mvines@gmail.com>
2020-08-27 21:19:15 -07:00
Michael Vines c63e1f0f97 Cargo.lock 2020-08-27 09:40:15 -07:00
dependabot[bot] 4893198a68 Bump solana-account-decoder from 1.3.2 to 1.3.4
Bumps [solana-account-decoder](https://github.com/solana-labs/solana) from 1.3.2 to 1.3.4.
- [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.2...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-27 09:38:45 -07:00
Michael Vines 2815165c14 Relocate program2 into program 2020-08-26 23:10:18 -07:00
dependabot[bot] 9b59d4e52e
Bump num-derive from 0.3.1 to 0.3.2 (#321)
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.3.1 to 0.3.2.
- [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.1...num-derive-0.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:37:14 +00:00
dependabot[bot] b0cebcf4bb
Bump solana-clap-utils from 1.3.2 to 1.3.4 (#318)
Bumps [solana-clap-utils](https://github.com/solana-labs/solana) from 1.3.2 to 1.3.4.
- [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.2...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:33:05 +00:00
dependabot[bot] 40b43f3ebe
Bump solana-cli-config from 1.3.2 to 1.3.4 (#292)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.2 to 1.3.4.
- [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.2...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 16:37:47 +00:00
dependabot[bot] 036cca36b6 Bump solana-sdk from 1.3.2 to 1.3.4
Bumps [solana-sdk](https://github.com/solana-labs/solana) from 1.3.2 to 1.3.4.
- [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.2...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-25 09:05:29 -07:00
Michael Vines ca0e33fdd7 Cargo.lock 2020-08-20 17:45:42 -07:00
Michael Vines e1cedf4e04 Cargo.lock 2020-08-14 22:50:18 +00:00
dependabot[bot] c3e80d401f
Bump clap from 2.33.2 to 2.33.3 (#274)
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 08:44:28 +00:00
Michael Vines a8915b5850 Cargo.lock 2020-08-14 01:22:11 +00:00
dependabot[bot] 5bf7742620
Bump solana-cli-config from 1.3.1 to 1.3.2 (#263)
Bumps [solana-cli-config](https://github.com/solana-labs/solana) from 1.3.1 to 1.3.2.
- [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.1...v1.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 08:44:29 +00:00
dependabot[bot] 0c5f3979c3
Bump solana-logger from 1.3.1 to 1.3.2 (#264)
Bumps [solana-logger](https://github.com/solana-labs/solana) from 1.3.1 to 1.3.2.
- [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.1...v1.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 08:43:30 +00:00
Michael Vines 90cc4d3e74 Cargo.lock 2020-08-08 08:05:00 -07:00
Michael Vines c6042f68f7 Add top-level workspace 2020-08-08 08:05:00 -07:00