Commit Graph

5 Commits

Author SHA1 Message Date
Michael Vines 9f4e6d8beb Update to solana v1.4.4 2020-11-01 20:48:15 -08:00
Michael Vines 80e29ef6b9 Port SPL to solana-program and `cargo build-bpf` 2020-10-24 19:21:38 -07: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
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
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