dependabot-preview[bot]
f03e066ec5
Bump log from 0.4.7 to 0.4.8 ( #5382 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-01 14:31:18 -07:00
Rob Walker
f7d3f55566
fix epoch_stakes again ( #5396 )
2019-08-01 14:27:47 -07:00
Justin Starry
3ab1b46ef7
Fix vote metrics ( #5377 )
2019-08-01 09:11:49 -04:00
Rob Walker
9278201198
fix epoch_stakes ( #5355 )
...
* fix epoch_stakes
* fix stake_state to use stakers_epoch
* don't allow withdrawal before deactivation
2019-07-31 15:13:26 -07:00
Patrick Amato
0b0b679120
exchange update: replace direction ( #5362 )
...
* replace direction with OrderSide
* bench exchange: update direction uses to OrderSide
2019-07-31 11:19:09 -06:00
Jack May
6d7cb23c61
Add command to create genesis accounts ( #5343 )
2019-07-30 23:43:12 -07:00
dependabot-preview[bot]
af733a678a
Bump serde_derive from 1.0.97 to 1.0.98 ( #5314 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 21:45:34 -07:00
dependabot-preview[bot]
b7e08052ae
Bump serde from 1.0.97 to 1.0.98 ( #5315 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.97 to 1.0.98.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.97...v1.0.98 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 19:46:50 -07:00
Greg Fitzgerald
68b11c1c29
Pull all libra crates from crates.io ( #5306 )
2019-07-27 15:06:27 -06:00
sakridge
c209718a6f
Add libray_api ( #5304 )
...
Simple move-based payment api
2019-07-27 12:11:51 -07:00
Dan Albert
b8835312bb
Update cargo.toml files to 0.18.0-pre0 ( #5303 )
2019-07-27 11:42:06 -06:00
Greg Fitzgerald
64c770275b
Integrate Move VM into main build ( #5229 )
...
* Integrate Move VM into top-level build
* Switch to protoc-free libra
2019-07-27 06:59:46 -06:00
Greg Fitzgerald
855f7ff352
Move Move deps from a branch to a tag ( #5300 )
2019-07-26 23:51:42 -06:00
Jack May
e2c9d87d91
Move verify to finalize ( #5297 )
...
automerge
2019-07-26 17:51:07 -07:00
Patrick Amato
33de2cad6d
Replace TokenPair in exchange ( #5292 )
...
* simplify token pair representation, rename to AssetPair for forward compat.
* update bench exchange TokenPair use
2019-07-26 14:31:08 -06:00
dependabot-preview[bot]
349ebec629
Bump serde from 1.0.94 to 1.0.97 ( #5285 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-26 07:22:25 -06:00
Rob Walker
f4554be72c
add vote withdraw ( #5284 )
2019-07-25 23:20:47 -07:00
Jack May
27bc0a22dd
Add support for invoking and publishing Move modules ( #5278 )
2019-07-25 09:30:24 -07:00
dependabot-preview[bot]
7ee8383e02
Bump serde_derive from 1.0.94 to 1.0.97 ( #5279 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.94 to 1.0.97.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.94...v1.0.97 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-25 06:47:24 -06:00
Jack May
bab0f6be1e
Store Move account data in a deterministic order ( #5276 )
2019-07-24 21:43:14 -07:00
Patrick Amato
39d29fab82
Exchange update cont. ( #5272 )
...
* Trade -> Order for keyedAcct indices
* rename deserialize_trade -> deserialize_order
* rename do_order_cancel params
* rename vars *_trade -> *_order
2019-07-24 17:49:10 -06:00
Greg Fitzgerald
83540087c3
Switch to forked libra packages ( #5270 )
...
* Switch to forked libra packages
* Don't Cargo.lock lib crates
2019-07-24 14:21:22 -06:00
Jack May
c3a941086d
Remove more unwraps ( #5267 )
...
automerge
2019-07-24 12:30:43 -07:00
Jack May
1046c5e32c
Adjust log levels ( #5265 )
...
automerge
2019-07-24 10:15:49 -07:00
Greg Fitzgerald
baac8d2590
Upgrade libra ( #5264 )
...
automerge
2019-07-24 09:56:29 -07:00
Jack May
7afc61e0b9
Cap Move program's execution ( #5259 )
2019-07-24 08:06:03 -07:00
Jack May
536b4c1a25
Export genesis creation function ( #5252 )
2019-07-23 21:34:17 -07:00
Jack May
5608af0246
Cleanup and fix Move account invoking ( #5244 )
...
* Remove deps, geneerate genesis, cleanup
* Fix tests, specify sender in ix data
* nits
2019-07-23 08:54:34 -06:00
TristanDebrunner
038c6ea0a7
Bump solana_libra to v0.0.0.1 ( #5225 )
...
automerge
2019-07-22 14:17:06 -07:00
sakridge
baec17fdf4
Fix some nightly warnings ( #5218 )
2019-07-22 12:51:02 -07:00
Greg Fitzgerald
186b514ebb
Embed Move ( #5150 )
...
automerge
2019-07-22 12:01:52 -07:00
Rob Walker
b766ac0899
rent ( #5205 )
2019-07-20 16:28:17 -07:00
dependabot-preview[bot]
bbd0455418
Bump log from 0.4.6 to 0.4.7 ( #5144 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-17 09:25:57 -06:00
Greg Fitzgerald
77ea8b9b3e
Add LoaderInstruction::InvokeMain ( #5116 )
...
* Remove unreachable, untested runtime check
* tx_data -> ix_data
* Add LoaderInstruction::InvokeMain
* Add test and allow loaders to be registered statically.
* Fix clippy error
2019-07-16 10:45:32 -06:00
Greg Fitzgerald
04649de6a6
Boot remote native loads, take 2 ( #5106 )
...
* Drop dependencies on remote native loads
* Remove remote native loads
2019-07-15 13:16:09 -06:00
Greg Fitzgerald
6c49b10784
Purge remaining uses of Locktower ( #5076 )
...
automerge
2019-07-13 00:24:15 -07:00
Michael Vines
d2b21ce8d0
Stop trying to publish crates that are unpublishable
2019-07-12 21:53:09 -07:00
Rob Walker
0d27515d09
tmp dirs target to farf ( #5079 )
2019-07-12 18:28:42 -07:00
Rob Walker
d2b6c2e0ce
syscall work, rename syscall to sysvar, rename current to clock ( #5074 )
...
* syscall work, rename syscall to sysvar, rename current to clock
* missed one
* nit
2019-07-12 16:38:15 -07:00
Jack May
2860d2fe27
Pull in support for Rust-BPF stack argument passing ( #5038 )
2019-07-11 14:27:18 -08:00
Rob Walker
a191f3fd90
add node_pubkey to vote warning ( #5033 )
2019-07-11 13:12:26 -07:00
Patrick Amato
bd92f37553
Terminology ( #4995 )
...
* update exchange program: tradeOrder->Order, tradeRequest->OrderRequest, tradeCancel->OrderCancel
* Update bench-exchange: tradeOrder -> Order
* update bench exchange Readme
2019-07-10 23:22:33 -06:00
Tyera Eulberg
dbe533385e
Improve signature checks in config_api ( #5001 )
...
automerge
2019-07-10 01:00:49 -07:00
Sagar Dhawan
b8e7736af2
Move SLOTS_PER_SEGMENT to genesis ( #4992 )
...
automerge
2019-07-09 16:48:40 -07:00
Jack May
bc8f435d45
Shell script nits ( #4982 )
2019-07-09 12:09:13 -08:00
Tyera Eulberg
5e221bf219
Make config_api more robust ( #4980 )
...
* Make config_api more robust
* Add test and update store instruction
2019-07-09 13:37:18 -06:00
Jack May
50c6b5d62d
Work around missing lib on linux (Issue #4972 ) ( #4975 )
2019-07-08 22:24:57 -08:00
Jack May
f9a2254688
Split out Rust BPF no-std stuff ( #4968 )
2019-07-08 20:28:05 -08:00
Jack May
563c42b829
Consistant message format ( #4965 )
2019-07-08 16:07:45 -08:00
Jack May
841e5e326c
Program mutable lamports ( #4964 )
2019-07-08 15:52:25 -08:00
Tyera Eulberg
281deae102
Update config program to accommodate multiple signers ( #4946 )
...
* Update config program to accommodate multiple signers
* Update install CLI
* Remove account_type u32; add handling for unsigned keys in list
* ConfigKeys doc
2019-07-08 18:33:56 -05:00
Pankaj Garg
bf319ab06d
Convert syscall accounts to credit only accounts ( #4915 )
2019-07-02 15:17:28 -07:00
Rob Walker
12ef0c25b5
change vote commission to u8 (from u32) ( #4887 )
...
automerge
2019-07-02 14:18:11 -07:00
TristanDebrunner
091999a17e
fix Instruction and CompiledInstruction field names ( #4895 )
...
* s/program_ids_index/program_id for Instruction
* s/program_ids_index/program_id_index for CompiledInstruction
2019-07-01 18:34:22 -06:00
carllin
0c8f187993
remove syscall tick height ( #4891 )
2019-07-01 16:21:51 -07:00
dependabot-preview[bot]
f0191a98ab
Bump serde from 1.0.93 to 1.0.94 ( #4864 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-28 15:07:16 -07:00
Tyera Eulberg
278614fc7c
Impl credit-only accounts in Budget ( #4862 )
2019-06-27 19:22:21 -04:00
dependabot-preview[bot]
979df17328
Bump serde_derive from 1.0.93 to 1.0.94 ( #4856 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.93...v1.0.94 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-27 13:18:19 -07:00
Sagar Dhawan
850f77ab3b
Minor refactor of duplicated reward claim logic ( #4835 )
...
automerge
2019-06-26 15:01:45 -07:00
Sagar Dhawan
df1c473341
Add storage point tracking and tie in storage rewards to economics ( #4824 )
...
* Add storage point tracking and tie in storage rewards to epochs and economics
* Prevent validators from updating their validations for a segment
* Fix test
* Retain syscall scoping for readability
* Update Credits to own epoch tracking
2019-06-26 10:40:03 -07:00
dependabot-preview[bot]
eb47538a82
Bump chrono from 0.4.6 to 0.4.7 ( #4812 )
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.6...v0.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-26 07:58:41 -06:00
Pankaj Garg
30592f2b12
Integration tests for stake API ( #4811 )
...
* more tests for rewards redemption
* break circular deps
* code review
2019-06-25 23:00:35 -07:00
Rob Walker
70f93cc126
remove mining_pool from stake_state ( #4804 )
2019-06-24 16:01:02 -07:00
dependabot-preview[bot]
4e78354ab6
Bump serde_derive from 1.0.92 to 1.0.93 ( #4790 )
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.92...v1.0.93 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-23 20:23:41 -07:00
dependabot-preview[bot]
0e1480b84e
Bump serde from 1.0.92 to 1.0.93 ( #4791 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.92...v1.0.93 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-23 17:23:41 -07:00
Sagar Dhawan
11992946a4
Add storage reward pools ( #4779 )
2019-06-22 17:18:35 -07:00
Pankaj Garg
405ca1bcb2
Add instructions and processor for stake deactivation ( #4781 )
...
automerge
2019-06-21 23:45:03 -07:00
Pankaj Garg
b7f169e06e
Program instruction to withdraw un-staked lamports from stake account ( #4780 )
2019-06-21 22:28:34 -07:00
Dan Albert
9911942dbd
Increment cargo.toml files to v0.17.0
2019-06-22 04:35:25 +00:00
Rob Walker
a49f5378e2
rewrite vote credits redemption to eat from rewards_pools on an epoch-sensitive basis ( #4775 )
...
* move redemption to rewards pools
* rewrite redemption, touch a few other things
* re-establish test coverage
2019-06-21 20:43:24 -07:00
Jack May
a38e1a81ef
Call do.sh from anywhere ( #4771 )
2019-06-21 12:26:17 -07:00
Jack May
5feeb257bb
Seperate out BPF Loader helpers ( #4768 )
2019-06-21 11:08:50 -07:00
Sagar Dhawan
a40c5cf185
Update storage contract to use a deterministic BTreeMap ( #4763 )
2019-06-21 09:51:05 -07:00
Jack May
407db65336
Add 128bit Rust BPF test ( #4766 )
...
automerge
2019-06-21 02:43:50 -07:00
Jack May
4177c56c51
Use real panic that reports file/line ( #4758 )
2019-06-20 19:10:03 -07:00
Jack May
425ac8d520
Remove need to use null when passing Rust strings ( #4756 )
2019-06-20 19:09:50 -07:00
Jack May
e59b53dfa8
BPF rust language updates ( #4752 )
2019-06-20 16:07:12 -07:00
Rob Walker
1f0f947ed2
add validator rewards pools ( #4742 )
...
* add validator rewards pools
* populate rewards syscall
2019-06-20 12:22:29 -07:00
Jack May
b430762a23
check rust programs ( #4688 )
2019-06-20 07:43:31 -07:00
Rob Walker
41fbdc6e08
use stake ( #4721 )
2019-06-19 11:54:52 -07:00
Jack May
fdb57bc5db
Add Rust BPF Tick Height test ( #4718 )
2019-06-18 15:56:24 -07:00
Rob Walker
0ff9c4cd8e
add stake warmup and cool down ( #4711 )
2019-06-17 19:34:21 -07:00
Rob Walker
d86358eedc
add Account::new_data ( #4701 )
...
* add account_new_data
* fixup
* fixup
2019-06-17 15:58:05 -07:00
Jack May
2a7a9fdf03
Re-org SDK dir ( #4690 )
2019-06-17 11:04:38 -07:00
Rob Walker
4c6a6d63bf
add MiningPools, fund validator MiningPools from inflation ( #4676 )
...
* add MiningPool fund validator MinigPools from inflation
* fixup
* finish rename of MINIMUM_SLOT_LENGTH to MINIMUM_SLOTS_PER_EPOCH
* deterministic miningpool location
* point_value, not credit_value... use f64
2019-06-14 11:38:37 -07:00
Sagar Dhawan
119467df59
Add storage mining pool to genesis and implement automatic reward redeeming ( #4683 )
...
* Add storage mining pool to genesis and implement automatic reward collection
* Address review comments
2019-06-13 22:30:51 -07:00
Greg Fitzgerald
c6b4a3a706
Witness account data in Budget ( #4650 )
...
* Add support for contracts based on account data to Budget
* Add program_id to account constraints
* No longer require a signature for the account data witness
* Rename bank::store to store_account
* fmt
* Add a doc
* clippy
2019-06-13 18:20:28 -07:00
Sagar Dhawan
b1ac8f933b
Fix storage program space issues and limit storage transaction data ( #4677 )
2019-06-13 17:53:54 -07:00
Jack May
bc44516eb4
Add test to exercise more args then registers ( #4661 )
2019-06-12 13:04:53 -07:00
Jack May
b78a13d42c
Nits ( #4662 )
2019-06-12 13:04:24 -07:00
Jack May
0dcdc37fec
Split BPF loader to match the rest of the programs ( #4636 )
2019-06-12 08:49:59 -07:00
Sagar Dhawan
8019bff391
Fixes for storage program and rework storage stage ( #4654 )
...
automerge
2019-06-11 18:27:47 -07:00
Jack May
439e7cc26a
Add dependent crate test ( #4647 )
...
automerge
2019-06-11 11:45:12 -07:00
dependabot-preview[bot]
1d957b6b80
Bump byteorder from 1.3.1 to 1.3.2 ( #4641 )
...
Bumps [byteorder](https://github.com/BurntSushi/byteorder ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases )
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-11 11:21:26 -07:00
Rob Walker
e56430c9fb
make runtime depend on bpf_loader ( #4601 )
...
* make runtime depend on bpf_loader
* remove vote redundancy, move bpf_loader to genesis, export program\! from bpf_loader crate
* move bpf_loader specification into genesis
* bpf tests to use genesis with bpf
* need to avoid depending on programs, except for macros
2019-06-11 10:27:22 -07:00
Rob Walker
d1d53c3fb6
calculate stake from activated amount ( #4630 )
2019-06-10 16:17:29 -07:00
Rob Walker
a18c0e34f4
add activate_stake to stake_api ( #4600 )
2019-06-10 12:17:29 -07:00
Jack May
be3a0b6b10
Build/clean all ( #4626 )
...
automerge
2019-06-10 11:15:28 -07:00
Jack May
9f6496d38a
Panic filename ( #4625 )
...
automerge
2019-06-10 11:00:15 -07:00
Jack May
1fa31c9410
.iter fixed, drop enumerate where not needed ( #4624 )
...
automerge
2019-06-10 10:19:58 -07:00