Greg Fitzgerald
4e51a444f4
Simplify TransactionBuilder::new_with_instructions
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
48d86683e2
Abuse KeypairUtil
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
42d5dde5b1
new_singleton -> new_with_instruction
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
142eeffe5d
Add BankClient to minimize copypasta
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
6a68df3ebd
Don't resign airdrop requests with the keypair asking for an airdrop
...
The correct thing to do here is retry until you get a
BlockhashNotFound error, and then send another request
to the drone for a new signed transaction.
Also, this test is an integration test masquerading as a unit-test..
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
8306c1841c
Fix build
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
73bd396dfb
Rewrite system integration test
...
Create Client helpers instead of Bank helpers.
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
36fb0a0aef
Add new preferred transaction constructors
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
4d53be8350
Make it unappealing to build and sign transactions at the same time
...
Use a client to sign transactions. It'll need that keypair anyway
to resign new blockhashes on retries.
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
f8bf9ca218
Make safe transaction signing the default
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
7b4568b9bf
Migrate to sign_checked()
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
bd8502e87e
Implement Transaction::new_unsigned with TransactionBuilder
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
21815f26d5
Implement signed transaction using unsigned transaction
2019-03-15 09:06:54 -06:00
Greg Fitzgerald
8ef5195037
Don't test a transaction with a duplicate key
2019-03-15 09:06:54 -06:00
Michael Vines
57606c6bf8
Bump log level for better CI logs
2019-03-15 07:48:23 -07:00
anatoly yakovenko
0465abf75b
move ( #2738 )
2019-03-15 06:58:45 -07:00
Michael Vines
8a142966be
Avoid stray '' when rust version is not specified
2019-03-14 21:30:24 -07:00
Michael Vines
7498488f5f
cloud_DeleteInstances() now waits for the instances to be terminated
2019-03-14 21:15:00 -07:00
Michael Vines
ede99d5913
Revert "Block until instances are confirmed to be deleted"
...
This reverts commit 47ddbbe53b
.
2019-03-14 20:53:10 -07:00
Michael Vines
3ced91319f
Upgrade nightly rust version
2019-03-14 20:22:46 -07:00
Michael Vines
3d1413e619
Preserve original nightly name
2019-03-14 20:22:46 -07:00
Michael Vines
8f25548781
Overhaul cargo/rustc version management
2019-03-14 20:22:46 -07:00
Michael Vines
47ddbbe53b
Block until instances are confirmed to be deleted
2019-03-14 16:20:18 -07:00
Rob Walker
5741400713
add support for finding the next slot a node will be leader ( #3298 )
2019-03-14 16:06:56 -07:00
Rob Walker
9f02a8d3d0
remove ticks_per_slot from blocktree ( #3297 )
2019-03-14 15:18:37 -07:00
Stephen Akridge
c208f4dbb5
Add option of replicators to local cluster test
2019-03-14 13:55:11 -07:00
Michael Vines
a17843c8f6
solana-install design proposal
2019-03-14 13:21:00 -07:00
Sagar Dhawan
3f2fc21bb3
Rename hash_queue and fix boundary condition ( #3289 )
2019-03-14 11:56:36 -07:00
Greg Fitzgerald
9fac3b26ee
Move the design proposals to a separate book
...
Fixes #3262
2019-03-14 10:08:43 -07:00
Greg Fitzgerald
c1eec0290e
Rename userdata to data ( #3282 )
...
* Rename userdata to data
Instead of saying "userdata", which is ambiguous and imprecise,
say "instruction data" or "account data".
Also, add `ProgramError::InvalidInstructionData`
Fixes #2761
2019-03-14 10:48:27 -06:00
Eric
de13082347
add economic design mvp to summary and overview
2019-03-14 09:42:19 -06:00
Eric
48b5d666d0
some economic mvp features
2019-03-14 09:42:19 -06:00
Eric
70bb49a46d
some economic mvp features
2019-03-14 09:42:19 -06:00
Eric
105fc7029e
create mvp section
2019-03-14 09:42:19 -06:00
dependabot[bot]
77a7ffe543
Bump hex-literal from 0.1.3 to 0.1.4
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.1.3...hex-literal-v0.1.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-14 07:21:32 -06:00
Michael Vines
7d593e6c61
Exit gracefully when no subcommand is specified
2019-03-14 00:35:34 -05:00
Michael Vines
bb420cb995
Use crate_description and crate_name Clap macros
2019-03-14 00:35:34 -05:00
Greg Fitzgerald
e58220282a
Move TransactionError into the SDK
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
4ca4038d54
Rename BankError to TransactionError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
150cd31ec0
Blur the line between Bank and Runtime
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6fd0d4dcf5
Boot error piggybacking on BankError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
296415945a
Generalize error codes
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
1de5ae1ef0
Remove SystemError from ProgramError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
6a89c68a1d
Add utility function to help get System error out of ProgramError
2019-03-13 21:26:57 -06:00
Greg Fitzgerald
c14cce4c85
Add InstructionError for runtime instruction errors
2019-03-13 21:26:57 -06:00
Stephen Akridge
959961b596
Modified test
2019-03-13 18:18:27 -07:00
Pankaj Garg
6f76c2da6c
Fix confirmation test
2019-03-13 17:50:53 -07:00
Pankaj Garg
8d2bd2b30f
Reduce ticks per second
...
- It's improving TPS. Temp fix for beacons timeframe
2019-03-13 17:50:53 -07:00
Michael Vines
34a8d591fa
Switch version file from .txt to .yaml; add target tuple to version.yml
2019-03-13 16:30:07 -07:00
dependabot[bot]
d94ff4bf4a
Bump tokio from 0.1.15 to 0.1.17
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 0.1.15 to 0.1.17.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Changelog](https://github.com/tokio-rs/tokio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.1.15...tokio-0.1.17 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-13 15:45:33 -06:00