975c942ea7
Bump version to v1.7.1
2021-06-02 05:21:14 +00:00
2798271da0
Add memory operation syscalls (backport #16447 ) ( #17648 )
...
* Add memory operation syscalls (#16447 )
(cherry picked from commit 2b50529265
)
# Conflicts:
# programs/bpf/Cargo.lock
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
v1.7.0
2021-06-01 18:43:50 -07:00
dc258cebab
Add create-stake command to solana-tokens CLI ( #17550 ) ( #17649 )
...
* Add create-stake command to solana-tokens CLI
* Add --unlocked-sol arg
Thanks @CriesofCarrots!
(cherry picked from commit 1b7f8777d6
)
Co-authored-by: Greg Fitzgerald <greg@solana.com >
2021-06-02 01:16:48 +00:00
4b8c5194c7
Purge expired BlockHeight data from blockstore (backport #17634 ) ( #17641 )
...
* Purge expired BlockHeight data from blockstore (#17634 )
* Purge expired BlockHeight data from blockstore
* Also call compact_storage and add comment....
(cherry picked from commit 96cdbfdcc0
)
# Conflicts:
# ledger/src/blockstore_db.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-06-02 01:04:11 +00:00
3c7c6dacfb
Add BPF rustc option to reduce the optimizations to safer level ( #17590 ) ( #17594 )
...
(cherry picked from commit 831e87c65d
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-05-31 19:15:56 +00:00
e36337a764
Make the sys-tuner oneliner actually copy-pastable ( #17615 ) ( #17619 )
...
* Make the sys-tuner oneliner actually copy-pastable
* Use `command -v`
(cherry picked from commit 41975016b9
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-05-31 18:13:47 +00:00
a49856b898
Rework #17486 (backport #17566 ) ( #17597 )
...
* Revert "Improve missing default signer error messaging (#17486 )"
This reverts commit 6d40d0d141
.
(cherry picked from commit ca8c1c6c42
)
* Improve missing default filepath signer error messaging
(cherry picked from commit 06a926f2f4
)
* CI: temporarily skip spl downstream build
(cherry picked from commit d01b4f80f9
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-05-31 17:28:06 +00:00
8ca2f52041
Make initialize
public ( #17605 ) ( #17607 )
...
(cherry picked from commit 2896fc3987
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-31 08:51:05 +00:00
2f7f243022
Always bail if program modifies a ro account (backport #17569 ) ( #17584 )
...
* Always bail if program modifies a ro account (#17569 )
(cherry picked from commit a3240aebde
)
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-05-28 20:34:10 +00:00
7e443770d7
test-validator: add an arg to control faucet genesis balance ( #17582 )
...
(cherry picked from commit 974a96738a
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-05-28 17:50:44 +00:00
8ec09884b8
Revert bpf-tools to version 1.8 because of a codegen bug suspicion ( #17568 ) ( #17577 )
...
(cherry picked from commit 2316ddb90a
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-05-28 11:10:14 +00:00
88c7e636d6
Bump console from 0.11.3 to 0.14.1 ( #16301 ) ( #17552 )
...
* Bump console from 0.11.3 to 0.14.1
Bumps [console](https://github.com/mitsuhiko/console ) from 0.11.3 to 0.14.1.
- [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/0.11.3...0.14.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit ec1a307a7c
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 21:30:17 +00:00
add3fd479d
chore: bump chrono-humanize from 0.1.1 to 0.2.1 ( #16895 ) ( #17549 )
...
* chore: bump chrono-humanize from 0.1.1 to 0.2.1
Bumps [chrono-humanize](https://gitlab.com/imp/chrono-humanize-rs ) from 0.1.1 to 0.2.1.
- [Release notes](https://gitlab.com/imp/chrono-humanize-rs/tags )
- [Commits](https://gitlab.com/imp/chrono-humanize-rs/compare/0.1.1...0.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <anatoly+githubjenkins@solana.io >
(cherry picked from commit 4f74c77146
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 20:37:42 +00:00
70410536b9
Bump serde_bytes from 0.11.4 to 0.11.5 ( #16299 ) ( #17546 )
...
* Bump serde_bytes from 0.11.4 to 0.11.5
Bumps [serde_bytes](https://github.com/serde-rs/bytes ) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/serde-rs/bytes/releases )
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.4...0.11.5 )
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
(cherry picked from commit 6e2ae68643
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 20:04:59 +00:00
6f3f9b485c
Allow configuring testnet slots-per-epoch ( #17545 ) ( #17551 )
...
(cherry picked from commit cb1fb28247
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-05-27 19:46:49 +00:00
bd9ce3590d
Remove redundant copy from RocksDB get_cf() wrapper ( #17529 ) ( #17543 )
...
(cherry picked from commit 983828a2a9
)
Co-authored-by: steviez <steven@solana.com >
2021-05-27 18:58:47 +00:00
49402b7d82
Only add keys with multiple index entries to the clean set ( #17473 )
2021-05-27 16:31:24 +02:00
3973bf08f1
move local out of call ( #17519 )
2021-05-27 08:53:11 -05:00
dd3cf27ab0
chore:(deps): bump @project-serum/serum in /explorer ( #17539 )
...
Bumps [@project-serum/serum](https://github.com/project-serum/serum-ts ) from 0.13.37 to 0.13.38.
- [Release notes](https://github.com/project-serum/serum-ts/releases )
- [Commits](https://github.com/project-serum/serum-ts/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 09:03:41 +00:00
02a433307c
chore:(deps): bump typescript from 4.2.4 to 4.3.2 in /explorer ( #17538 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 08:55:42 +00:00
44f7fd5eef
chore: bump sinon from 11.1.0 to 11.1.1 in /web3.js ( #17537 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v11.1.0...v11.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 08:47:14 +00:00
a47d55c75c
chore: bump eslint-plugin-mocha from 8.2.0 to 9.0.0 in /web3.js ( #17535 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/8.2.0...9.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 08:20:57 +00:00
c4c2beca19
chore: bump rollup from 2.49.0 to 2.50.1 in /web3.js ( #17511 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.49.0 to 2.50.1.
- [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.49.0...v2.50.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 22:52:45 -07:00
ab581dafc2
Add block height to ConfirmedBlock structs ( #17523 )
...
* Add BlockHeight CF to blockstore
* Rename CacheBlockTimeService to be more general
* Cache block-height using service
* Fixup previous proto mishandling
* Add block_height to block structs
* Add block-height to solana block
* Fallback to BankForks if block time or block height are not yet written to Blockstore
* Add docs
* Review comments
2021-05-26 22:16:16 -06:00
9541411c15
Plumb transaction-level rewards (aka "rent debits") into the getTransaction
RPC method
2021-05-27 03:05:05 +00:00
7dfc1d9790
Fix typo in docs
2021-05-26 19:49:23 -07:00
52dccc656a
Purge slots greater than new last index ( #16071 )
2021-05-26 16:12:57 -07:00
cbce440af4
simulateTransaction can now return accounts modified by the simulation
2021-05-26 14:20:23 -07:00
54f0fc9f0f
Use type alias for DownloadProgress callback ( #17518 )
...
Convert to use type alias for the callback and cascade the changes to callers. Thanks @jeffwashington for the help making it possible.
Changed the closure for the progress update in the validator main to FnMut and modify the abort count in the closure which is more reliable.
2021-05-26 13:26:07 -07:00
6abe089740
Add custom error for tx-history queries when node does not support ( #17494 )
2021-05-26 13:27:41 -06:00
3f9e3c7375
Remove copied shrink code ( #17385 )
2021-05-26 19:27:18 +02:00
6b9d8d41a3
add --limit_load_slot_count_from_snapshot to ledger-tool ( #17417 )
2021-05-26 10:36:12 -05:00
bb72ab7f1b
docs: Add find_program_address
and example ( #17515 )
2021-05-26 15:25:05 +00:00
179856c13a
explorer: Display correct list of block programs ( #17489 )
2021-05-26 08:21:07 -07:00
9a5330b7eb
Move gossip modules into solana-gossip crate ( #17352 )
...
* Move gossip modules to solana-gossip
* Update Protocol abi digest due to move
* Move gossip benches and hook up CI
* Remove unneeded Result entries
* Single use statements
2021-05-26 09:15:46 -06:00
752cd7d15e
feat: use specialized explorer endpoints ( #17516 )
2021-05-26 07:09:35 -07:00
302b83a198
chore: bump @types/sinon from 10.0.0 to 10.0.1 in /web3.js ( #17514 )
...
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 09:40:02 +00:00
0bb8c4f3ea
chore: bump sinon from 11.0.0 to 11.1.0 in /web3.js ( #17512 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 11.0.0 to 11.1.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sinonjs/sinon/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 08:40:40 +00:00
37c2a2810f
chore:(deps): bump @types/react from 17.0.6 to 17.0.8 in /explorer ( #17510 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.6 to 17.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 08:22:39 +00:00
aed8e4c242
chore: bump eslint-plugin-mocha from 8.1.0 to 8.2.0 in /web3.js ( #17509 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/8.1.0...8.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 08:19:36 +00:00
2a6c5ed0ac
add tests from RentDebits
2021-05-26 08:19:10 +00:00
97eab7edf9
runtime: add rent debit charges to block metadata
2021-05-26 08:19:10 +00:00
e9bc1c6b07
Add last valid block height to rpc Fees ( #17506 )
...
* Add last_valid_block_height to fees rpc
* Add getBlockHeight rpc
* Update docs
2021-05-26 07:26:19 +00:00
7ce910f459
Add a hacky shell for fun code reading ( #17503 )
2021-05-26 14:39:57 +09:00
3d40ec3c88
Add missing fields from getClusterNodes documentation
2021-05-26 02:00:30 +00:00
6d40d0d141
Improve missing default signer error messaging ( #17486 )
2021-05-25 18:31:27 -07:00
660d37aadf
sigVerify conflicts with replace, add tests
2021-05-25 17:32:00 -07:00
e14f3eb529
rename flag
2021-05-25 17:32:00 -07:00
96cef5260c
Add a flag to simulateTransaction to use most recent blockhash
2021-05-25 17:32:00 -07:00
4eb6deee2d
Update sysvar docs ( #17493 )
2021-05-25 16:57:53 -07:00