mergify[bot]
aae51925c1
patches bug in turbine's neighbors computation ( #14565 ) ( #14569 )
...
Removing local node's index early from the set here:
https://github.com/solana-labs/solana/blob/e1b59ded4/core/src/retransmit_stage.rs#L346
distorts the order of nodes depending on which node is computing the
turbine fan-out tree, and results in incorrect neighbors computation.
(cherry picked from commit cfcca1cd3c
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-13 23:52:14 +00:00
mergify[bot]
00626fbf4c
Add --rpc-threads argument ( #14568 )
...
(cherry picked from commit 11daaadc93
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-13 22:52:15 +00:00
mergify[bot]
14ffc05fd4
Use leader_forward_count for tx retries too ( #14547 ) ( #14564 )
...
(cherry picked from commit e1b59ded4b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-13 19:30:55 +00:00
mergify[bot]
6e5c9a1b1c
adds pubkey for behzad@solana.com ( #14558 ) ( #14563 )
...
(cherry picked from commit 673cb39975
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-13 18:57:10 +00:00
mergify[bot]
1276b92462
Don't stop to find newer cluster-confirmed roots ( #14557 ) ( #14560 )
...
* Don't stop to find newer cluster-confirmed roots
* Fix and add new tests
* nits
(cherry picked from commit e95ebcf864
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-13 17:05:46 +00:00
Alexander Meißner
89241cedba
Bump RBPF version to v0.2.3
...
(cherry picked from commit 0d26cb6d37
)
2021-01-12 09:47:28 -08:00
mergify[bot]
0e3e3a03cc
Cache account stores, flush from AccountsBackgroundService ( #13140 ) ( #14542 )
...
(cherry picked from commit 6dfad0652f
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-12 06:12:18 +00:00
Jack May
25fe93e9fb
Check native account owner ( #14535 )
...
(cherry picked from commit 8ad5931bfc
)
2021-01-11 21:29:53 -08:00
mergify[bot]
4440a8d9fa
Update timestamp max allowable drift to 50% of PoH ( #14531 ) ( #14539 )
...
* Repurpose warp-timestamp feature for general bump
* Change max_allowable_drift to 50%
* Fill in PR#
* Fix rpc test setup
(cherry picked from commit b0e6e29527
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-12 02:03:41 +00:00
Michael Vines
b737e562ab
Use standard tmp-snapshot- file prefix for the "new_state" archive for better cleanup/consistency
2021-01-11 17:33:10 -08:00
Michael Vines
9cb32b2105
Restore snapshot hard linking
2021-01-11 17:33:03 -08:00
Michael Vines
f46ad1b7b7
Avoid tmp snapshot backlog in SnapshotPackagerService under high load ( #14516 )
2021-01-11 17:32:58 -08:00
mergify[bot]
b15603b4eb
Add rocskdb high priority threads ( #14515 ) ( #14536 )
...
Without them, memtable writes can stall on compactions.
(cherry picked from commit d8105bb7d7
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-11 23:07:59 +00:00
Michael Vines
c7267799ce
Clarify log message, the remote snapshot might not actually be newer
2021-01-11 11:53:55 -08:00
mergify[bot]
ed0a083cd9
Cli: Implement OutputFormat for some missing subcommands ( #14518 ) ( #14520 )
...
* Implement OutputFormat for solana leader-schedule
* Implement OutputFormat for solana inflation
(cherry picked from commit e4cf845974
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-10 01:20:39 +00:00
mergify[bot]
484bd48b35
Various snapshot-related code clean up (bp #14487 ) ( #14513 )
...
* Create account paths once
(cherry picked from commit fe0ba4a429
)
* Replace incorrect symlink_dir usage with symlink_file
(cherry picked from commit f2a7f561a0
)
* Reduce TempDir exposure
(cherry picked from commit 9f70f7dc3e
)
* Rename AccountsPackage::root to AccountsPackage::slot
(cherry picked from commit 141e6706e6
)
* Rename CompressionType to ArchiveFormat
(cherry picked from commit 7be6770808
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-09 18:29:09 +00:00
mergify[bot]
ae73cc8d05
Humanize the 'ledger processed...' time ( #14511 )
...
(cherry picked from commit 86c81a0ba2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-09 08:14:14 +00:00
mergify[bot]
fc59a08f0e
Bail on all CPI errors ( #14500 ) ( #14507 )
...
* Bail on all CPI errors
* whitespace
(cherry picked from commit ec48631fc5
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 04:44:14 +00:00
mergify[bot]
15da7968c5
Add cli command to query upgradeable account authorities ( #14491 ) ( #14499 )
...
(cherry picked from commit 638f225dc4
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 01:13:20 +00:00
mergify[bot]
b58a6e2b6e
Report correct program id ( #14486 ) ( #14498 )
...
(cherry picked from commit 9d53eca6e3
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 01:00:42 +00:00
Michael Vines
ec15ea079f
Bump version to 1.5.3
2021-01-08 16:19:27 -08:00
mergify[bot]
4b5a05bf38
limits number of crds values associated with a pubkey (bp #14467 ) ( #14490 )
...
* limits number of crds values associated with a pubkey (#14467 )
(cherry picked from commit 766195dded
)
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-08 21:52:40 +00:00
mergify[bot]
7dd7141307
Suppress cargo audit failure for difference
crate (bp #14488 ) ( #14493 )
...
* Suppress cargo audit failure for `difference` crate, there's no newer crate to upgrade to yet
(cherry picked from commit 3eaa826ad9
)
* Bump smallvec version
(cherry picked from commit 21a0a83543
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-08 21:52:28 +00:00
mergify[bot]
e5175c843d
Add buffer authority to upgradeable loader ( #14482 ) ( #14485 )
...
(cherry picked from commit 58487c6360
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-08 18:54:11 +00:00
mergify[bot]
d5ff64b0d7
docs: Validator tuning improvements (bp #14478 ) ( #14480 )
...
* docs: wrap lines
(cherry picked from commit 140642ea21
)
* docs: Prefer `dd` to `fallocate` when creating swap file
(cherry picked from commit c035f2a745
)
* docs: Add RUST_LOG explainer
(cherry picked from commit 30038a8849
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-07 19:41:45 +00:00
mergify[bot]
0fbdc7e152
Enable program upgrades via CPI ( #14449 ) ( #14469 )
...
(cherry picked from commit 5eacc5d08d
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-06 23:45:10 +00:00
Tyera Eulberg
49aca9ecd8
Add fixed tick rate adjustment ( #14447 ) ( #14464 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-06 21:44:06 +00:00
mergify[bot]
fcc147b4f2
Gate cpi program account passing ( #14443 ) ( #14446 )
...
(cherry picked from commit a8b5a32b50
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-06 19:20:49 +00:00
mergify[bot]
c455d1b1c5
Enable program-id account index for supply calculations ( #14444 ) ( #14456 )
...
* Enable program-id account index for supply calculations
* Fixup comments
(cherry picked from commit ce1766d798
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-06 04:04:44 +00:00
mergify[bot]
e9b29fc697
Bump serum-dex pegged commit ( #14448 ) ( #14454 )
...
(cherry picked from commit d2b0fd973f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-05 19:17:03 -07:00
Ryo Onodera
fdea6fad26
Save 7G mem on mainnet fixing AccIndex overalloc. ( #14435 )
...
(cherry picked from commit c9df6134fa
)
2021-01-05 17:55:44 -08:00
mergify[bot]
a4bc31341a
Lower recycle store count ( #14429 ) ( #14442 )
...
Too many stores can cause swap usage which
is detrimental to account store times.
(cherry picked from commit 53d65009a0
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-05 21:39:31 +00:00
mergify[bot]
4af797c0a2
Introduce rpc url monikers for cli ( #14409 ) ( #14433 )
...
* Introduce rpc url monikers for cli
* Use https:// and support initials as well
(cherry picked from commit 54a5876c48
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 12:16:11 +00:00
mergify[bot]
a1e06df4a8
Add validator --account-index docs ( #14418 ) ( #14428 )
...
(cherry picked from commit efd9b769fc
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-01-05 03:06:15 +00:00
mergify[bot]
1f2480fd9f
Fix pre-merge old name in the docs ( #14425 ) ( #14427 )
...
(cherry picked from commit 974eb6e1ef
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:55:02 +00:00
mergify[bot]
8587bd0d69
Improve solana catchup ( #14313 ) ( #14424 )
...
* Improve solana catchup
* Overidable port, retry, args error clean up
* print cleanup
* Reduce diff
* Tweak warns a bit
(cherry picked from commit aa4da339ff
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:34:53 +00:00
mergify[bot]
0063a58e95
Upgradeable programs needs program account's address as program id ( #14417 ) ( #14420 )
...
(cherry picked from commit 0619805806
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-04 23:00:36 +00:00
mergify[bot]
9aeb3bc5d6
docs: Use "msg!" instead of "info!" ( #14411 ) ( #14416 )
...
* docs: Use "msg!" instead of "info!"
* Update docs/src/developing/deployed-programs/developing-rust.md
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix typo / format
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit a41b5137f6
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-01-04 20:02:09 +00:00
Michael Vines
97665b977e
Bump version to v1.5.2
2021-01-04 06:44:52 +00:00
Michael Vines
c45ed29cf4
Use max commitment when fetching epoch info for block production
...
(cherry picked from commit 2724f37d0e
)
2021-01-03 21:05:13 -08:00
mergify[bot]
635afbabff
snapshot_utils: Don't bother restoring snapshots, they're never used (bp #14392 ) ( #14396 )
...
* Remove dead code
(cherry picked from commit b6dcdb90e8
)
* Don't bother restoring snapshots, they're never used
(cherry picked from commit db6ee289c9
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 05:20:26 +00:00
mergify[bot]
98afdad1dd
Tune rewards output ( #14395 )
...
(cherry picked from commit 560ed90168
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 02:39:35 +00:00
mergify[bot]
c085b94b43
docs: Update tmpfs partition guidance to include swap (bp #14387 ) ( #14397 )
...
* Update tmpfs partition guidance to include swap
(cherry picked from commit 68a84cf581
)
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
(cherry picked from commit 9bb08ce75e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-03 01:45:07 +00:00
Michael Vines
a53946c485
Use singleGossip for program deployment
...
(cherry picked from commit c63e14dd0e
)
2021-01-02 09:21:36 -08:00
mergify[bot]
f6de92c346
Add secondary indexes ( #14212 ) ( #14382 )
...
(cherry picked from commit 5affd8aa72
)
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:42:47 +00:00
mergify[bot]
46f9822d62
Only initialize BigTable upload service when requested ( #14380 )
...
(cherry picked from commit 4a3d217839
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-01-01 03:06:34 +00:00
mergify[bot]
6dad84d228
Add --ignore-http-bad-gateway flag ( #14377 )
...
(cherry picked from commit 6c167615ad
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-31 22:00:29 +00:00
mergify[bot]
3582607aa0
solana-test-validator: bind RPC and faucet to 0.0.0.0 (bp #14369 ) ( #14370 )
...
* Minor help improvements
(cherry picked from commit 04bf5ce830
)
* Bind RPC and faucet to 0.0.0.0
(cherry picked from commit 0b23abd479
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-31 09:10:07 +00:00
Michael Vines
f051077350
Require tokio 0.3.5
2020-12-30 22:25:23 -08:00
Michael Vines
ffd6f3e6bf
Revert "Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )"
...
This reverts commit 6c5be574c8
.
2020-12-30 22:25:23 -08:00
mergify[bot]
c6b2eb07ee
Gate CPI authorized programs ( #14361 ) ( #14365 )
...
(cherry picked from commit 2d8dacb72b
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-31 03:29:46 +00:00
mergify[bot]
7a3e1f9826
Remove assert ( #14356 ) ( #14360 )
...
(cherry picked from commit 1c5427ff17
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 22:39:55 +00:00
mergify[bot]
8a690b6cf7
nit: clarify loader id ( #14355 ) ( #14358 )
...
(cherry picked from commit 6c6095abe7
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 21:25:41 +00:00
mergify[bot]
8688efa89b
Speed up UDP reachable port checks ( #14351 )
...
(cherry picked from commit 71b88da48e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-30 19:00:28 +00:00
mergify[bot]
3b047e5b99
Port ip-echo-server to tokio 0.3 (bp #14345 ) ( #14350 )
...
* Port ip-echo-server to tokio 0.3
(cherry picked from commit fb6c660cfd
)
# Conflicts:
# net-utils/Cargo.toml
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-30 18:55:24 +00:00
mergify[bot]
3cddc731b2
Add --test arg to cargo-test-bpf ( #14342 ) ( #14344 )
...
(cherry picked from commit 3d0cd2cdb0
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-12-30 07:55:38 +00:00
mergify[bot]
1d29a583c6
Rewrite faucet with tokio v0.3 (bp #14336 ) ( #14343 )
...
* Rewrite faucet with tokio v0.3 (#14336 )
* Rewrite faucet for contemporary tokio
* Move away from framed decoder
(cherry picked from commit d63dd95806
)
# Conflicts:
# faucet/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-12-30 05:09:00 +00:00
mergify[bot]
b5335edb35
Add experimental knob for tuning PoH pinned CPU core (bp #14330 ) ( #14341 )
...
* core: Update stale error message
(cherry picked from commit 82f61c0c4a
)
* validator: Add experimental flag to select PoH pinned core
(cherry picked from commit fe667db910
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-30 03:33:39 +00:00
mergify[bot]
abee1e83eb
Add poh speed check and tick speed calibration ( #14292 ) ( #14328 )
...
(cherry picked from commit 2074e407cd
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-29 19:40:49 +00:00
mergify[bot]
6c5be574c8
Upgrade in-tree tokio 0.2 usage to tokio 0.3 ( #14326 )
...
(cherry picked from commit 444ed768dc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-29 19:03:18 +00:00
mergify[bot]
c1f993d2fc
Retry durable-nonce transactions ( #14308 ) ( #14325 )
...
* Retry durable-nonce transactions
* Add metric to track durable-nonce txs in queue
* Populate send-tx-service initial addresses with tpu_address if empty (primarily for testing)
* Reinstate last_valid_slot check for durable-nonce txs; use arbitrary future slot
(cherry picked from commit 3f10fb993b
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-29 18:03:04 +00:00
mergify[bot]
e2ddb2f0ea
Limit CPI instruction size ( #14317 ) ( #14321 )
...
(cherry picked from commit 5524938a50
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 02:38:22 +00:00
mergify[bot]
f3faba5ca9
Remove Testnet-specific old code ( #14305 ) ( #14315 )
...
(cherry picked from commit 7893e2e307
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 22:18:33 +00:00
mergify[bot]
3a6fd91739
Log error from AppendVec removal & a panic clean ( #14302 ) ( #14310 )
...
(cherry picked from commit addffd7694
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 22:08:22 +00:00
mergify[bot]
2d2b3d8287
CLI: Support retrieving past leader schedules (bp #14304 ) ( #14312 )
...
* clap-utils: Add epoch validator
(cherry picked from commit a709850ee4
)
* CLI: Support displaying past leader schedules
(cherry picked from commit bd761e2a52
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-28 21:41:55 +00:00
mergify[bot]
6e47b88399
run.sh: add env knob for solana-validor ( #14303 ) ( #14307 )
...
(cherry picked from commit 4af33674a7
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-28 20:48:03 +00:00
Michael Vines
941e56c6c7
Avoid creating "..tmp" files
2020-12-28 08:58:41 -08:00
Michael Vines
d1adc2a446
Persist gossip contact info
...
(cherry picked from commit 9ddd6f08e8
)
2020-12-27 22:09:00 -08:00
Michael Vines
02da7dfedf
Bump version to v1.5.1
2020-12-27 21:57:43 -08:00
mergify[bot]
eb0fd3625a
Fix subtraction overflow in metrics ( #14290 ) ( #14296 )
...
(cherry picked from commit c693ffaa08
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-28 02:34:58 +00:00
mergify[bot]
b87e606626
Fix download speed ( #14291 ) ( #14295 )
...
(cherry picked from commit 7b49c85aa7
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-28 02:21:40 +00:00
mergify[bot]
1c91376f78
obtains staked-nodes from the root-bank ( #14257 ) ( #14293 )
...
... as opposed to the working bank
(cherry picked from commit 49019c6613
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:29 +00:00
mergify[bot]
10067ad07b
indexes votes in crds table ( #14272 ) ( #14294 )
...
(cherry picked from commit 2fd38d9912
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-27 14:49:23 +00:00
Michael Vines
eb76289107
Fix windows build
2020-12-24 17:49:41 -08:00
Michael Vines
8926736e1c
Remove stray dbg
2020-12-24 10:45:34 -08:00
mergify[bot]
bf4c169703
Prevent bpf loader impersonators ( #14278 ) ( #14279 )
...
(cherry picked from commit ee0a80a092
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-24 04:24:30 +00:00
mergify[bot]
0020e43476
Don't use caller passed executable account ( #14276 ) ( #14277 )
...
(cherry picked from commit b1d702a618
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 23:52:04 +00:00
mergify[bot]
a9a2c76221
Limit CPI from calling loader or native programs ( #14252 ) ( #14275 )
...
(cherry picked from commit 0b479ab180
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 20:01:56 +00:00
mergify[bot]
4754b4e871
Save cloning program account data ( #14251 ) ( #14274 )
...
(cherry picked from commit 5945305b1d
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-23 19:35:09 +00:00
mergify[bot]
52ffb9a64a
Add accounts shrink paths (bp #14238 ) ( #14270 )
...
* Add shrink paths (#14238 )
(cherry picked from commit baa9602411
)
* Ignore long/hanging test (#14261 )
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-23 08:03:33 +00:00
Trent Nelson
bd0b1503c6
Deinitialize stake data upon zero balance
2020-12-23 06:17:59 +00:00
Trent Nelson
10e7fa40ac
Deinitialize vote data upon zero balance
2020-12-23 06:17:59 +00:00
Trent Nelson
198ed407b7
vote: Add helper for creating current-versioned states
2020-12-23 06:17:59 +00:00
Trent Nelson
d96af2dd23
Deinitialize nonce data upon zero balance
2020-12-23 06:17:59 +00:00
mergify[bot]
192cca8f98
validator: Multiple --entrypoint support (bp #14256 ) ( #14264 )
...
* Update entrypoint contact info even when shred version adoption is not requested
(cherry picked from commit 3373082ffa
)
* Multiple entrypoint support
(cherry picked from commit ace360ade2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-23 04:15:44 +00:00
Michael Vines
ee716e1c55
Add log message for when a local snapshot is too old
...
(cherry picked from commit 65dcb3dc81
)
2020-12-22 19:58:29 -08:00
mergify[bot]
6dd3c7c2dd
removes &Arc<Self> receivers ( #14234 ) ( #14262 )
...
(cherry picked from commit a14cfd660a
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-23 02:11:08 +00:00
mergify[bot]
582b4c9edf
Upgradeable programs called same as non-upgradeable ( #14239 ) ( #14254 )
...
* Upgradeable programs called same as non-upgradeable
* nudge
(cherry picked from commit ab205b682a
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-22 21:17:18 +00:00
mergify[bot]
f15add2a74
Feature-gate stake-program-v3 ( #14232 ) ( #14250 )
...
* Remove deprecated legacy stake program
* Add legacy stake program
* Strip out duplicative legacy code
* Feature-deploy stake-program-v3
* Add ownership check in stake processor
(cherry picked from commit 7042f11791
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-22 19:42:30 +00:00
mergify[bot]
74d48910e2
Rework upgradeable loader cli ( #14209 ) ( #14236 )
...
(cherry picked from commit 3316e7166c
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-21 22:26:11 +00:00
mergify[bot]
c53e8ee3ad
improves performance in replay-stage ( #14217 ) ( #14233 )
...
bank::vote_accounts returns a hash-map which is slow to iterate, but all uses
only require an iterator:
https://github.com/solana-labs/solana/blob/b3dc98856/runtime/src/bank.rs#L4300-L4306
Similarly, calculate_stake_weighted_timestamp takes a hash-map whereas it only
requires an iterator:
https://github.com/solana-labs/solana/blob/b3dc98856/sdk/src/stake_weighted_timestamp.rs#L21-L28
(cherry picked from commit 7b08cb1f0d
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-21 21:23:35 +00:00
Michael Vines
c5e5fedc47
Allow multiple --accounts arguments
...
(cherry picked from commit 8082a2454c
)
2020-12-21 11:43:04 -08:00
Tyera Eulberg
b9929dcd67
Warp-timestamp pr#
2020-12-21 10:53:43 -07:00
sakridge
554a158443
Fix test_max_hashes ( #14189 )
...
(cherry picked from commit a5db6399ad
)
2020-12-21 09:05:26 -08:00
behzad nouri
b7fa4b7ee1
caches staked nodes computed from vote-accounts ( #13929 )
...
(cherry picked from commit d6d76219b6
)
2020-12-21 09:05:17 -08:00
behzad nouri
fd44cee8cc
limits number of crds values returned when responding to pull requests ( #13739 )
...
Crds values buffered when responding to pull-requests can be very large taking a lot of memory.
Added a limit for number of buffered crds values based on outbound data budget.
(cherry picked from commit 691031fefd
)
2020-12-21 09:04:50 -08:00
mergify[bot]
c6a362cce2
Do not delete ALL other snapshots before downloading a new snapshot ( #14227 )
...
(cherry picked from commit 93ae177503
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-21 10:27:25 +00:00
mergify[bot]
252180c244
Restore Content-Length header for streaming snapshot download ( #14222 )
...
(cherry picked from commit 57b03c5bc1
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-21 08:41:02 +00:00
mergify[bot]
e02b4e698e
Fix timestamp handling on ledger warp ( #14210 ) ( #14218 )
...
* Reset timestamp for slot and epoch-start on warp
* Fix genesis timestamp metric source
* Remove check that timestamp > unix_timestamp_from_genesis
Default to previous timestamp, not genesis timestamp
* Move timestamp metrics to report even on warp
* Initialize slot 0 timestamps correctly
* Add feature gate to warp testnet timestamp
* Review suggestion: simplify warp-timestamp slot check
(cherry picked from commit e15f95a36f
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-20 22:52:23 +00:00
mergify[bot]
4811afe8eb
Stream RPC snapshot downloads (bp #14213 ) ( #14215 )
...
* Stream RPC snapshot downloads
(cherry picked from commit b3dc988564
)
# Conflicts:
# core/Cargo.toml
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-20 01:28:41 +00:00
Michael Vines
bc4568b10f
Update Cargo.toml
2020-12-18 20:16:48 -08:00
Michael Vines
d59c131e90
Create a random -keypair.json
file alongside the program deploy artifact for easy upgrades
...
(cherry picked from commit 636a455790
)
2020-12-18 20:16:48 -08:00
Michael Vines
825027f9f7
Use AsRef
...
(cherry picked from commit 9993d2c623
)
2020-12-18 20:16:48 -08:00
mergify[bot]
9b8f0bee99
adds crds-value for broadcasting duplicate shreds through gossip (bp #14133 ) ( #14203 )
...
* adds crds-value for broadcasting duplicate shreds through gossip (#14133 )
In gossip, the header overhead we get from:
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/cluster_info.rs#L434-L435
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L31-L36
https://github.com/solana-labs/solana/blob/de9ac43eb/core/src/crds_value.rs#L73
already exceeds SIZE_OF_NONCE in shreds. We also need aditional
meta-data (wallclock, source pubkey, ...). Which means that given the
SHRED_PAYLOAD_SIZE, we cannot fit all these in PACKET_DATA_SIZE:
https://github.com/solana-labs/solana/blob/de9ac43eb/ledger/src/shred.rs#L80
On top of that, we need 2 shred payloads as the proof of duplicate. So
each DuplicateShred crds value includes only a chunk of the payload,
along with the meta-data to reconstruct the full payload from the chunks
on the receiving end.
(cherry picked from commit 6a3797e164
)
# Conflicts:
# Cargo.lock
# ledger/Cargo.toml
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-12-18 22:54:50 +00:00
mergify[bot]
fc13c1d654
getBlockTime RPC method now falls back to BigTable in all cases ( #14207 )
...
(cherry picked from commit 0090106f60
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-18 22:23:35 +00:00
mergify[bot]
a57758e9c9
Add CPI support for upgradeable loader (bp #14193 ) ( #14199 )
2020-12-18 11:23:00 -08:00
Michael Vines
564590462a
Add transactionCount field to GetEpochInfo
...
(cherry picked from commit efc091e28a
)
2020-12-18 10:09:30 -08:00
Michael Vines
269f6af97e
fix: add transactionCount field to GetEpochInfo
...
(cherry picked from commit 01fe835e73
)
2020-12-18 10:09:30 -08:00
mergify[bot]
57b8a59632
Reject invalid --expected-shred-version ( #14183 ) ( #14202 )
...
* Reject invalid --expected-shred-version
* less code
(cherry picked from commit 3c9b853268
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-18 19:19:57 +09:00
Trent Nelson
4289f52d2b
net/gce.sh: Upgrade to Ubuntu 20.04
...
(cherry picked from commit 3322b83183
)
2020-12-17 18:17:01 -07:00
Trent Nelson
573f68620b
net/gce.sh: Switch to SSD boot disks
...
(cherry picked from commit a0507505f4
)
2020-12-17 18:17:01 -07:00
Trent Nelson
4bfe64688b
net/gce.sh: Bump machine type to 24-core, 64GB RAM
...
(cherry picked from commit ffe0532ded
)
2020-12-17 18:17:01 -07:00
mergify[bot]
50034848a5
Improved Transaction Forwarding ( #13944 ) ( #14195 )
...
* Forwarding
* Dedupe leaders
* Use consistent commitment for last_valid_slot in rpc send_transaction
* Plumb rpc send_transaction options into solana-validator
* Extend num slots banking-stage holds forwarded txs
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit da7d1e2302
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-17 18:14:06 -07:00
Michael Vines
981294cbc6
Don't require increased open file limit at ledger creation
...
Follow-up to 0b92720fdb
, `create_new_ledger()` does not require a higher fd limit
2020-12-17 08:49:23 -08:00
mergify[bot]
ff728e5e56
Fix program account rent exemption ( #14176 ) ( #14180 )
...
(cherry picked from commit 593ad80954
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-17 03:46:43 -08:00
Michael Vines
9aaf41bef2
Don't require increased open file limit in solana-test-validator
...
Travis CI in particular does not allow the open file limit to be
increased.
(cherry picked from commit 0b92720fdb
)
2020-12-16 22:59:56 -08:00
Michael Vines
271eec656c
Use an ephemeral mint address if the client keypair is not available
...
Typically this can occur in a CI environment
(cherry picked from commit 8d700c3b94
)
2020-12-16 22:59:56 -08:00
Trent Nelson
13d071607f
Revert "Ignore RUSTSEC-2020-0077 until next 1.4 release"
...
This reverts commit 1792100e2b
.
2020-12-17 01:54:26 +00:00
Trent Nelson
ffe35d9a10
Bump SPL crates
2020-12-17 01:54:26 +00:00
mergify[bot]
bb2fb07b39
Add blockstore skipped api ( #14145 ) ( #14167 )
...
* Add blockstore api to determine if a slot was skipped
* Return custom rpc error if slot is skipped
(cherry picked from commit ac0d32bc7e
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-16 22:26:54 +00:00
mergify[bot]
85fc51dc61
fix formatting error in docs ( #14163 )
...
(cherry picked from commit 41a93ced23
)
Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com >
2020-12-16 18:51:24 +00:00
mergify[bot]
0276b6c4c2
Correctly show reward percent changes ( #14161 )
...
(cherry picked from commit bebfa6e93c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-16 18:15:36 +00:00
mergify[bot]
c481e4fe7f
Partial shred deserialize cleanup and shred type differentiation ( #14094 ) ( #14139 )
...
* Partial shred deserialize cleanup and shred type differentiation in retransmit
* consolidate packet hashing logic
(cherry picked from commit d4a174fb7c
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-12-16 08:57:21 -08:00
mergify[bot]
76a3b3ad11
Remove lock files from programs/bpf/rust ( #14148 ) ( #14158 )
...
(cherry picked from commit 49c3f14016
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 11:56:48 +00:00
mergify[bot]
356c663e88
check for resize access violations ( #14142 ) ( #14152 )
...
(cherry picked from commit 025f886e10
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 10:28:27 +00:00
mergify[bot]
015bbc1e12
Fix up upgradeable bpf loader activation ( #14149 )
...
(cherry picked from commit 501fd83afd
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-16 07:54:44 +00:00
mergify[bot]
454a9f3175
Switch solana deploy
commitment default from "max" to "singleGossip" ( #14146 )
...
(cherry picked from commit db4ac17259
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-16 04:46:45 +00:00
mergify[bot]
485b3d64a1
Add Program loader/environment instruction errors ( #14120 ) ( #14143 )
...
(cherry picked from commit d513b0c4ca
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 03:50:04 +00:00
Michael Vines
5d170d83c0
Remove stray println
2020-12-15 16:44:56 -08:00
mergify[bot]
f54d8ea3ab
solana-test-validator usability improvements (bp #14129 ) ( #14136 )
...
* Clean up Cargo.toml
(cherry picked from commit d2af09a647
)
* Prevent multiple test-validators from using the same ledger directory
(cherry picked from commit f3272db7f7
)
* Add --reset flag to allow for easy ledger reset
(cherry picked from commit 00c46c528e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-15 23:21:21 +00:00
mergify[bot]
ef9f54b3d4
Fix race between setting tick height and calculating accounts hash ( #14101 ) ( #14132 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 75e9e321de
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-12-15 22:05:44 +00:00
mergify[bot]
8d0b102b44
Cleanup ledger builtins ( #14083 ) ( #14130 )
...
(cherry picked from commit 582418de5e
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-15 21:45:44 +00:00
Jack May
03fc031611
Update serialization docs
2020-12-15 08:53:51 -08:00
sakridge
53fe0bb5eb
Remove regular expressions, speeds up untar ( #14119 )
2020-12-15 08:48:21 -08:00
Jack May
ab98c1f2d4
Add try_find_program_address syscall ( #14118 )
2020-12-15 08:15:01 -08:00
dependabot[bot]
8dc5f6327c
chore: bump rollup from 2.34.2 to 2.35.1 in /web3.js ( #14122 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.34.2 to 2.35.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.34.2...v2.35.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 09:25:36 +00:00
dependabot[bot]
833cbf27b1
chore:(deps): bump prettier from 2.2.0 to 2.2.1 in /explorer ( #14121 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 09:10:08 +00:00
Josh
7c8276d2ac
fix: coerce partially decoded instructions on parsed confirmed transactions ( #13979 )
...
* feat: coerce partially decoded instructions on parsed confirmed transactions
* fix: flow tests
* fix: need to check this again
2020-12-14 19:22:22 -08:00
behzad nouri
c2b7115031
indexes crds values associated with a pubkey ( #14088 )
...
record_labels returns all the possible labels for a record identified by
a pubkey, used in updating timestamp of crds values:
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds_value.rs#L560-L577
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds.rs#L240-L251
The code relies on CrdsValueLabel to be limited to a small deterministic
set of possible values for a fixed pubkey. As we expand crds values to
include duplicate shreds, this limits what the duplicate proofs can be
keyed by in the table.
In addition the computation of these labels is inefficient and will
become more so as duplicate shreds and more types of crds values are
added. An alternative is to maintain an index of all crds values
associated with a pubkey.
2020-12-15 01:49:22 +00:00
sakridge
5294f70189
Remove some non-warnings ( #14115 )
2020-12-14 16:26:17 -08:00
Jack May
9e90394583
Upgradeable loader ( #13689 )
2020-12-14 15:35:10 -08:00
Michael Vines
79fb646872
Restore coverage build
2020-12-14 22:17:33 +00:00
Michael Vines
6fa492b580
Revert "Temporarily disable coverage"
...
This reverts commit 17ecb8b614
.
2020-12-14 22:17:33 +00:00
Michael Vines
24be4fc8f8
Add v1.5 and v1.6 backport support
2020-12-14 13:28:01 -08:00
Dan Albert
64ae82f681
Update validator_list.rs
2020-12-14 14:24:08 -07:00
Michael Vines
e907510a1a
clippy
2020-12-14 13:11:50 -08:00
Jeff Washington (jwash)
42be09afb6
Terminology fixes ( #14112 )
2020-12-14 13:04:26 -08:00
DR497
eb35c03bef
Fida token ( #14111 )
2020-12-14 08:11:13 -08:00
Michael Vines
9593ba9092
Temporarily disable coverage
2020-12-14 08:03:29 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Michael Vines
0d139d7ef3
Upgrade to Rust 1.48.0
2020-12-14 08:03:29 -08:00
Ryo Onodera
de9ac43ebf
Simple cap by including sysvars and native programs ( #13884 )
...
* Simpler cap by including sysvars and native programs
* Fix tests
* Add comment
* revert some unrelated code
* Update test_bank_update_sysvar_account for cap.
* Test cap. for add_native_program using new helper
* Improve the cap adjustment with new tests
* Fix typo...
* Adjust test for improved code coverage
* Rename simpler_capitalization => simple_capitalization
* More rename and bonus commenting
2020-12-14 21:03:24 +09:00
dependabot[bot]
4bcc8afdc0
chore: bump typescript from 4.1.2 to 4.1.3 in /web3.js ( #14109 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:48:13 +00:00
dependabot[bot]
0302d24893
chore: bump eslint-plugin-prettier from 3.2.0 to 3.3.0 in /web3.js ( #14108 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.2.0...v3.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:25:14 +00:00
dependabot[bot]
c2ac15d68f
chore:(deps): bump @types/jest from 26.0.15 to 26.0.19 in /explorer ( #14106 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.15 to 26.0.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 09:27:08 +00:00
Michael Vines
cdd3e7d856
Remove solana-vote-signer ( #14099 )
2020-12-13 19:12:20 -08:00
Yihau Chen
deaa27fbdb
fix the typo in developing-rust.md ( #14098 )
2020-12-13 17:21:17 -08:00
Ryo Onodera
5788e75188
Shrink slots by sparseness of written data size ( #14072 )
2020-12-14 02:58:38 +09:00
Michael Vines
9f2d154588
Rework TestValidator API to be more like ProgramTest
2020-12-13 07:45:55 +00:00
Michael Vines
5237da4e01
spelling
2020-12-12 22:36:10 -08:00
dependabot[bot]
88d950e5a8
chore: bump log from 0.4.8 to 0.4.11 ( #13691 )
...
* chore: bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log ) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11 )
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 >
2020-12-13 13:48:23 +09:00
Jack May
1d95b5476e
Add next_account_infos helper ( #14087 )
2020-12-12 20:12:56 -08:00
dependabot[bot]
8df9bcc784
chore: bump libc from 0.2.80 to 0.2.81 ( #14092 )
...
* chore: bump libc from 0.2.80 to 0.2.81
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.80 to 0.2.81.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.80...0.2.81 )
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 >
2020-12-13 12:13:17 +09:00
carllin
55fc963595
Move slot cleanup to AccountsBackgroundService ( #13911 )
...
* Move bank drop to AccountsBackgroundService
* Send to ABS on drop instead, protects against other places banks are dropped
* Fix Abi
* test
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-13 01:22:34 +00:00
dependabot[bot]
549a3107cb
chore: bump env_logger from 0.7.1 to 0.8.2 ( #14093 )
...
* chore: bump env_logger from 0.7.1 to 0.8.2
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.7.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.2 )
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 >
2020-12-13 05:59:54 +09:00
dependabot[bot]
a9185d4ea1
chore: bump rustversion from 1.0.3 to 1.0.4 ( #14022 )
...
* chore: bump rustversion from 1.0.3 to 1.0.4
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.3...1.0.4 )
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 >
2020-12-13 03:56:27 +09:00
Ryo Onodera
e7c85571c7
Follow new dependabot's commit author name ( #14091 )
2020-12-13 02:27:59 +09:00
Michael Vines
52c2cbd630
stake-account command no longer errors when time goes backwards over an epoch
2020-12-12 03:31:09 +00:00
Tyera Eulberg
8541ffa328
Add subscription cap ( #14011 )
...
* Add subscription cap
* Elide unwraps
2020-12-12 01:57:40 +00:00
Trent Nelson
1792100e2b
Ignore RUSTSEC-2020-0077 until next 1.4 release
2020-12-11 23:44:03 +00:00
Trent Nelson
c20ac62c54
Override yanked arc-swap crate to 0.4.8
2020-12-11 23:44:03 +00:00
Trent Nelson
546c6a4531
Override yanked miow crate to 0.2.2
2020-12-11 23:44:03 +00:00
Trent Nelson
277b6790c7
Override yanked net2 0.2.37
2020-12-11 23:44:03 +00:00
Trent Nelson
8b380ec364
Override yanked mio crate to 0.7.6
2020-12-11 23:44:03 +00:00
Trent Nelson
edff62af3d
Switch to memmap2 fork
2020-12-11 23:44:03 +00:00
Trent Nelson
730cb3b7cc
Bump socket2 crate to 0.3.17
2020-12-11 23:44:03 +00:00
Tyera Eulberg
d6eff3d62c
Filter out stake and vote accounts with incorrect owners ( #14062 )
...
* Add failing test
* Check stake/vote accounts for validity
* Feature gate change
* Add datapoint
* Add test realism
2020-12-11 12:21:25 -07:00
Ryo Onodera
2d3a337200
Increase another snapshot limit: UNPACKED_COUNT ( #14071 )
2020-12-11 11:01:22 +00:00
dependabot[bot]
53c4fd5f09
chore: bump @babel/plugin-transform-runtime in /web3.js ( #14069 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.12.1 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 09:36:42 +00:00
dependabot[bot]
dfc727296e
chore: bump marked from 1.2.5 to 1.2.6 in /web3.js ( #14067 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.5...v1.2.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 09:23:25 +00:00
Ryo Onodera
7078a6ac61
Add more comments in Stakes::store for its subtlety ( #14065 )
...
* Add more comments in Stakes::store for its subtlety
* more comment tweak
2020-12-11 18:13:36 +09:00
Ryo Onodera
09bd412b13
Wrong rpc inflation rate ( #14063 )
...
* Fix wrong inflation calculation in rpc
* Reorder
* Fix test
2020-12-11 07:42:39 +00:00
Michael Vines
4fba7e6865
Move validator_block_0_fee_workaround into TestValidator
2020-12-11 04:17:38 +00:00
Michael Vines
bbad3fe501
TestValidator now implements Drop, no need to close() it
2020-12-11 04:17:38 +00:00
Michael Vines
0a9ff1dc9d
Initial solana-test-validator command-line program
2020-12-11 04:17:38 +00:00
Josh
13db3eca9f
SPL token balance in transaction metadata ( #13673 )
...
* feat: store pre / post token balances
* move helper functions into separate include
* move token balance functionality to transaction-status crate
* fix blockstore processor test
* fix bigtable legacy test
* add caching to decimals
2020-12-10 19:25:07 -08:00
Jack May
83fda2d972
Clean invoke in prep for native invoke ( #14055 )
2020-12-10 18:25:57 -08:00
sakridge
aa2751e614
Check shred type in is_duplicate ( #14050 )
2020-12-10 18:20:08 -08:00
Ryo Onodera
164b7895b3
Tiny add_native_program bug fixes with cleanups ( #14042 )
...
* Tiny add_native_program bug fixes with cleanups
* Fix typo
2020-12-11 11:03:31 +09:00
Leopold Schabel
d33ab34d75
Remove "Timezone For Log Messages" section ( #14014 )
...
To my understanding, the Solana process always logs a UTC timestamp
anyway, so this is not needed. Plus, using PST on servers is really
weird from a systems engineering point of view.
2020-12-10 17:51:11 -08:00
Jack May
d9655ea507
Add message helpers to get program info ( #14047 )
2020-12-10 16:39:43 -08:00
Jack May
7abd8084b6
Add get_minimum_balance_for_rent_excemption to Client ( #14048 )
2020-12-10 16:39:28 -08:00
Jack May
5ea80e673f
Fix priv escalation test ( #14046 )
2020-12-10 22:36:33 +00:00
sakridge
68109a46e0
Lower priority for hashing threads. ( #14043 )
2020-12-10 12:26:47 -08:00
behzad nouri
409fe3bca1
adds the instance token to crds-labels for node-instance crds-values ( #14037 )
...
If a node "a" receives instance-info from node "b1" it will override any
instance-info associated with "b1" pubkey in its crds table. This makes
it less likely that when "b1" receives crds values from "a" (either
through pull or push), it sees other instances of itself (because node
"a" discarded them when it received "b1" instance info).
In order for the crds table to contain all instance-info associated with
the same pubkey at the same time, we need to add the instance tokens to
the keys in the crds table (i.e. the CrdsValueLabel).
2020-12-10 17:01:55 +00:00
sakridge
5c95d8e963
Shred filter ( #14030 )
2020-12-10 07:54:15 -08:00
Alexander Meißner
201637b326
Updates rbpf to v0.2.2 ( #14036 )
...
* Updates rbpf to v0.2.2
2020-12-10 16:32:54 +01:00
dependabot[bot]
f02d4cdb37
chore: bump @babel/core from 7.12.9 to 7.12.10 in /web3.js ( #14035 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.9 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 09:29:18 +00:00
dependabot[bot]
4bcff89b3c
chore: bump @babel/preset-env from 7.12.7 to 7.12.10 in /web3.js ( #14034 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.7 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 09:21:28 +00:00
sakridge
c5fe076432
Better dupe detection ( #13992 )
2020-12-09 23:14:31 -08:00
Josh
8d1651c8ad
explorer: hotfix - undefined nonce instruction check ( #14029 )
2020-12-09 12:00:40 -08:00
behzad nouri
1d267eae6b
std::process::exit to kill all threads
2020-12-09 10:24:23 -08:00
behzad nouri
895d7d6a65
removes RwLock on ClusterInfo.instance
2020-12-09 10:24:23 -08:00
behzad nouri
542198180a
pushes node-instance along with version early in gossip
2020-12-09 10:24:23 -08:00
behzad nouri
8cd5eb9863
checks for duplicate validator instances using gossip
2020-12-09 10:24:23 -08:00
Ryo Onodera
14e241be35
Increase snapshot file size limits ( #14024 )
...
* Increase snapshot file size limits
* Fix test
* Reorder code a bit
2020-12-10 02:46:33 +09:00
Jack May
e1a4251b07
Cap CPI signers ( #14021 )
2020-12-09 02:14:53 -08:00
publish-docs.sh
e1872a450a
Add more TdS 10 validators
2020-12-08 20:29:53 -07:00
behzad nouri
f6a7732ff9
adds ledger-tool mode to print raw shred metadata ( #13962 )
2020-12-08 17:31:24 +00:00
Ryo Onodera
28b014ccf4
Add tests for store_account_and_update_capitalization ( #14008 )
2020-12-09 00:46:28 +09:00
dependabot[bot]
c494346887
chore: bump rollup from 2.34.1 to 2.34.2 in /web3.js ( #14013 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.34.1 to 2.34.2.
- [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.34.1...v2.34.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 09:25:18 +00:00
dependabot[bot]
ba475e1112
chore: bump eslint-config-prettier from 6.15.0 to 7.0.0 in /web3.js ( #14012 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 09:20:20 +00:00
Trent Nelson
845c783b0e
Docs: Correct the system.conf NOFILE variable name
2020-12-08 07:44:43 +00:00
sakridge
f6600810d7
Use LRU cache and blake3 hash of shreds to filter duplicates ( #13976 )
2020-12-07 16:42:39 -08:00
Michael Vines
6e9dbb4f6e
Add --rpc-max-multiple-accounts to override the getMultipleAccounts JSON RPC maximum
2020-12-07 16:31:01 -08:00
Jack May
1dc71fb5aa
Bump criterion to v2.3.3 ( #14002 )
2020-12-07 21:53:28 +00:00
carllin
239a191612
Remove unneeded BankWeight fork choice ( #13978 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-07 13:47:14 -08:00
Jack May
20c0e8793e
Rent account passed to loader can be read-only ( #13997 )
2020-12-07 19:44:32 +00:00
Jack May
dca579851c
Cannot change owner if account is executable ( #13977 )
2020-12-07 11:37:07 -08:00
Tyera Eulberg
6ae4d2e5cb
Fix logsSubscribe ( #13996 )
2020-12-07 19:00:52 +00:00
Ryo Onodera
3d9d7557c8
core/validator: Wrap std::process:exit(1) for easier testing ( #13990 )
2020-12-07 16:43:03 +00:00
Ryo Onodera
82c75c3786
genesis, ledger-tool: --inflation/--vote-commission-percentaage ( #13989 )
2020-12-07 16:21:16 +00:00
Ryo Onodera
2f374df494
Don't show confusing message for blacklist expires ( #13983 )
2020-12-07 12:47:27 +00:00
Ryo Onodera
26df122386
solana ping: add --blockhash and --print-timestamp ( #13980 )
...
* solana ping: add --blockhash and --print-timestamp
* fix typo in hash...
2020-12-07 21:10:50 +09:00
dependabot[bot]
9da3de5861
chore: bump eslint from 7.14.0 to 7.15.0 in /web3.js ( #13982 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.14.0 to 7.15.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.14.0...v7.15.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:19:08 +00:00
dependabot[bot]
0720589767
chore: bump ws from 7.4.0 to 7.4.1 in /web3.js ( #13981 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:18:59 +00:00
Alexander Meißner
a706706572
Validator CLI option to enable just-in-time compilation of BPF ( #13789 )
...
* Adds a CLI option to the validator to enable just-in-time compilation of BPF.
* Refactoring to use bpf_loader_program instead of feature_set to pass JIT flag from the validator CLI to the executor.
2020-12-07 09:49:55 +01:00
sakridge
3425e98a6b
Plumb args for validator boot disk size and client machine type ( #13975 )
2020-12-06 12:37:46 -08:00
behzad nouri
6706f2b3bb
removes recursive read-locks on gossip ( #13973 )
...
ClusterInfo::tvu_peers acquires a read-lock on gossip:
https://github.com/solana-labs/solana/blob/f0e934145/core/src/cluster_info.rs#L1171-L1185
and so, ClusterInfo::repair_peers is recursively locking gossip for
read twice:
https://github.com/solana-labs/solana/blob/f0e934145/core/src/cluster_info.rs#L1202-L1223
But std::sync::RwLock is not re-entrant (recursive).
2020-12-06 15:14:49 +00:00
sakridge
f0e9341450
Add dropped hash to dashboard ( #13972 )
2020-12-05 18:02:01 -08:00
Michael Vines
c59cb28bbf
Add --remove-account option to create-snapshot command
2020-12-05 08:57:00 +00:00
Jack May
882d033233
Don't use stale executor cache ( #13966 )
2020-12-05 05:54:42 +00:00
carllin
51d8f36dae
Ledger-tool recreate snapshot of starting snapshots
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-04 21:14:59 -08:00
Tyera Eulberg
ca35bb3ac8
Report highest_confirmed_root and _slot in commitment metric ( #13964 )
2020-12-05 00:50:00 +00:00
publish-docs.sh
e3a31d896a
Cleanup validator list
2020-12-04 16:28:52 -07:00
Josh
08674b8388
hotfix: manually coerce some inner instructions ( #13963 )
2020-12-04 14:47:17 -08:00
Josh
ed15ce0bbe
explorer: infinity stats issue hotfix ( #13959 )
2020-12-04 10:36:06 -08:00
Jack May
f1fd999bb0
Translate data length as mutable ( #13956 )
2020-12-04 05:47:22 +00:00
carllin
5dceddd21d
Remove associated functions on AccountsDb, replace with methods ( #13953 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-03 17:53:42 -08:00
Josh
f2b31c3a89
explorer: prevent raw details from showing on inner instructions ( #13951 )
2020-12-03 14:31:45 -08:00
behzad nouri
4e8565253c
verifies that serialized size of transactions does not exceed packet data size ( #13945 )
2020-12-03 22:24:32 +00:00
Michael Vines
ced9f889a4
Refresh testnet restart instructions
2020-12-03 14:17:56 -08:00
Tyera Eulberg
85aa632be0
Blockstore exact purge cleanup ( #13946 )
...
* Add failing test
* Clean up signature get
2020-12-03 21:49:07 +00:00
carllin
34b68288c8
Fix propagation skip check ( #13933 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-12-03 12:31:38 -08:00
Josh
d3a4140899
Explorer: Display CPI details for transaction ( #13801 )
...
* explorer: show inner instructions on token history
* resolve warnings
* show inner instructions on transaction details page
* adjust contrast and add inner instructions row
* show inner instructions after slot 46915769
* token history show inner instructions after 46915769
* restrict early slots only on mainnet
* self nit naming
* self nit: better name for constant
* add signature-truncate class
* resolve incoming raw transaction on transactions details
2020-12-03 12:23:28 -08:00
Jack May
661ca52135
Cap seeds not signers ( #13941 )
2020-12-03 09:58:25 -08:00
Jack May
1c51711c75
Invoke with empty account slice ( #13931 )
2020-12-03 07:06:26 -08:00
behzad nouri
c3048b451d
samples repair peers using WeightedIndex ( #13919 )
...
To output one random sample, weighted_best generates n random numbers:
https://github.com/solana-labs/solana/blob/f751a5d4e/core/src/weighted_shuffle.rs#L38-L63
WeightedIndex does so with only one random number:
https://github.com/rust-random/rand/blob/eb02f0e46/src/distributions/weighted_index.rs#L223-L240
Additionally, if the index is already constructed, it only does a total
of O(log(n)) amount of work; which can be achieved if RepairCache,
caches the weighted index:
https://github.com/solana-labs/solana/blob/f751a5d4e/core/src/serve_repair.rs#L83
Also, the repair-peers code can be reorganized to have fewer redundant
unlock-then-lock code.
2020-12-03 14:26:07 +00:00
dependabot[bot]
b4c24bfa42
chore: bump rollup from 2.34.0 to 2.34.1 in /web3.js ( #13936 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.34.0 to 2.34.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.34.0...v2.34.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 09:20:42 +00:00
dependabot[bot]
04adf12d89
chore: bump eslint-plugin-prettier from 3.1.4 to 3.2.0 in /web3.js ( #13934 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.1.4 to 3.2.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.4...v3.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-03 09:18:22 +00:00
publish-docs.sh
932d5fbf0c
Add more TdS 10 validators
2020-12-02 20:29:22 -07:00
Michael Vines
3b39e98298
BankServer::send_transaction_with_context() now performs signature verification
2020-12-02 18:07:40 -08:00
Dan Albert
de6ecdf590
Update validator_list.rs
2020-12-02 17:26:18 -07:00
Michael Vines
81f38738e8
Use add_builtin, as user-supplied builtins may not yet exist
2020-12-02 14:31:06 -08:00
Jack May
3f841df7cf
Cap number of program address seeds ( #13924 )
2020-12-02 22:25:06 +00:00
kev zettler
9b143f030e
explorer: Restore readonly / signer raw insturction fields ( #13909 )
...
This is a follow up to #13855 It consolidates the RawParsedDetails and
RawDetails fields so that readonly/ signer instruction fields are
availalbe to parsed-raw instructions
2020-12-02 14:19:45 -08:00
Tyera Eulberg
a877f347f4
Cli: output stake account credits-observed for verbose/json ( #13923 )
...
* Add credits_observed to verbose and json CliStakeStake prints
* Review comments
2020-12-02 22:02:52 +00:00
Michael Vines
5bfe93e74c
Add a ramdisk section to the validator start guide
2020-12-02 13:31:01 -08:00
Trent Nelson
17defbff13
Make Accounts::is_non_loader_key()
a method on Message
2020-12-02 20:10:08 +00:00
Trent Nelson
404fc1570d
runtime: Replace HashAgeKind
with NonceRollbackInfo
2020-12-02 20:10:08 +00:00
Trent Nelson
274312ebb5
sdk: Check owner when verifying nonce accounts
2020-12-02 20:10:08 +00:00
Trent Nelson
be7760caa1
accounts: Replace nonce_rollback unreachable block with descriptive panic
2020-12-02 20:10:08 +00:00
Trent Nelson
47af5933ca
accounts: Don't assume fee-payer is the first account
2020-12-02 20:10:08 +00:00
Trent Nelson
8df2a4bac0
runtime: Factor out DurableNoncePartial
finishing logic and add tests
2020-12-02 20:10:08 +00:00
Jack May
841c7a0f71
Cleanup memory translation APIs ( #13921 )
2020-12-02 20:03:36 +00:00
Jack May
85bec37be4
Translate data length and owner as writable ( #13914 )
2020-12-02 09:05:42 -08:00
dependabot[bot]
f751a5d4e2
chore: bump cross-env from 7.0.2 to 7.0.3 in /web3.js ( #13915 )
...
Bumps [cross-env](https://github.com/kentcdodds/cross-env ) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases )
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.2...v7.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 09:18:58 +00:00
dependabot[bot]
3e3a54b717
chore:(deps): bump @sentry/react from 5.27.4 to 5.28.0 in /explorer ( #13916 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.27.4 to 5.28.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.4...5.28.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 09:09:40 +00:00
Ryo Onodera
480dd15b1e
Ledger tool cap basic columns ( #13904 )
...
* ledger-tool cap: Add more basic columns
* simplify InflationRecord::rewarded_epoch type
2020-12-02 07:10:03 +00:00
Tyera Eulberg
0f76daaf7a
Add specific page for rpc endpoints ( #13899 )
2020-12-01 21:19:15 -07:00
Tyera Eulberg
10c81a2448
Remove rpc_banks from validator ( #13882 )
...
* Remove rpc_banks from validator
* Bump abi-digest
2020-12-02 03:25:09 +00:00
Tyera Eulberg
8c40dd34b2
solana-tokens: optimize PickleDb dumps ( #13879 )
...
* Dump PickleDb after transaction sends/confirmation
* Dump PickleDb on ctrlc
* Don't exit during tests
* Add build_messages helper and test db dump
* Add send_messages helper and test db dump
* Add combined test
* Add log_transaction_confirmations helper and test db dump
* Add update_finalized_transactions test
* Return error instead of process::exit
* Close TestValidator
2020-12-01 19:22:27 -07:00
Michael Vines
0a8bc347a1
Restore discover_cluster to avoid test panics
2020-12-01 17:58:28 -08:00
Michael Vines
3eece38ffa
Add expects() to improve error logs on join failures
2020-12-01 17:58:28 -08:00
Michael Vines
4e90a9f5fd
Lock serum-dex to older version to avoid build failures
2020-12-01 22:50:23 +00:00
Dan Albert
1a7413d8c9
Update validator_list.rs
2020-12-01 13:48:36 -07:00
Dan Albert
d22df1227f
Update validator_list.rs
2020-12-01 13:32:15 -07:00
Dan Albert
2f9df2a52f
Update validator_list.rs
2020-12-01 13:16:50 -07:00
Dan Albert
fb4153b7fb
Update validator_list.rs
2020-12-01 13:13:13 -07:00
Michael Vines
73111b005f
Reduce the number of snapshots
2020-12-01 11:13:37 -08:00
Alexander Meißner
aebc3a17ce
Fix undefined symbol "custom panic" in BPF test programs ( #13840 )
...
* Implements missing "custom_panic" symbol
2020-12-01 16:52:20 +01:00
Dan Albert
83aaf18d6e
Update validator_list.rs
2020-12-01 08:46:55 -07:00
Jack May
733fcbaa6c
Check that the program was granted access to program_id ( #13890 )
2020-12-01 07:35:07 -08:00
Jack May
57dd60f671
Use msg! in program entrypoint ( #13889 )
2020-12-01 10:56:26 +00:00
Tyera Eulberg
8fd1e55805
Add logging in check_blockstore_max_root ( #13887 )
2020-12-01 07:44:18 +00:00
Michael Vines
6705b5a98c
Add msg! macro for program logging, deprecate info! macro
2020-11-30 20:39:42 -08:00
Michael Vines
254790f8c8
Fully clean up temporary snapshot staging directories
2020-11-30 19:40:06 -08:00
Tyera Eulberg
c59e088142
solana-tokens: enable confirmation of many transactions ( #13876 )
...
* Update comment
* Chunk signature status checks to handle distributions greater than 256 tx
2020-12-01 02:55:18 +00:00
Michael Vines
4a4a4d8e49
Disable snapshot compression for run.sh to reduce system load
2020-12-01 02:22:04 +00:00
publish-docs.sh
75704f34ba
Add TdS 10 validators
2020-11-30 17:48:09 -07:00
Michael Vines
90d557d916
Strengthen EpochSlots sanitization
2020-11-30 14:40:25 -08:00
Jack May
2d62f2ad03
Re-fix arithmetic overflow and add better test ( #13870 )
2020-11-30 22:39:03 +00:00
kev zettler
75e3f5cd48
Explorer: add Raw instruction data to parsed instructions ( #13855 )
...
This commit allows users to click the "raw" button on transaction
instructions and fetch the raw hex or base64 representations of the instruction.
Adds a fetch action to the click event of the "raw" button on the
instruction UI.
adds a fetchRawTransaction hook that is passed down to the
instruction UI components. Adds addition `rawFetchTrigger` and `raw`
props passed to the instruction card components.
2020-11-30 13:35:33 -08:00
Jack May
40dd46680e
Cleanup bpf test's Cargo.toml files ( #13867 )
...
* Cleanup bpf test's Cargo.toml files
* lock file
2020-11-30 21:16:37 +00:00
Jack May
b47bd0a296
Add program id spoof tests ( #13866 )
2020-11-30 21:06:11 +00:00
Josh
6cf6cd2fba
Explorer: introduce Memo Program to search bar ( #13865 )
2020-11-30 12:09:59 -08:00
behzad nouri
e1793e5a13
caches vote-state de-serialized from vote accounts ( #13795 )
...
Gossip and other places repeatedly de-serialize vote-state stored in
vote accounts. Ideally the first de-serialization should cache the
result.
This commit adds new VoteAccount type which lazily de-serializes
VoteState from Account data and caches the result internally.
Serialize and Deserialize traits are manually implemented to match
existing code. So, despite changes to frozen_abi, this commit should be
backward compatible.
2020-11-30 17:18:33 +00:00
Jon Cinque
6203d1c94c
Add flatten
to logs_subscribe commitment
...
Currently, commitment for `logs_subscribe` must be specified using the
non-flattened form in JSON, ie `{"commitment":{"commitment":"max}}`.
This brings the commitment in line with documentation.
2020-11-30 08:40:32 -08:00
Ryo Onodera
e81c2c826c
Don't reset credits_observed due to stale voters ( #13836 )
...
* Don't reset credits_observed due to stale voters
* Add tests
* Fix comment
2020-11-30 22:47:34 +09:00
dependabot[bot]
aa78fa0647
chore: bump prettier from 2.2.0 to 2.2.1 in /web3.js ( #13857 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 09:20:43 +00:00
dependabot[bot]
52a2f41f59
chore: bump rollup from 2.33.3 to 2.34.0 in /web3.js ( #13856 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.33.3 to 2.34.0.
- [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.33.3...v2.34.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 09:19:15 +00:00
Tommy Johnson
daebade239
add zsh trouble shooting note to ledger docs
2020-11-29 19:26:52 -08:00
Jack May
ce4304cc9a
Add extra checks to verify_and_update ( #13848 )
...
* Add extra checks to verify_and_update
* nudge
2020-11-29 10:06:43 +00:00
Michael Vines
7cbc25a6fe
Add --unhealthy_threshold option
2020-11-28 23:51:07 -08:00
Michael Vines
d2a1ec3a05
Perform all RPC activity in the same place, also clean up Sol display
2020-11-28 23:51:07 -08:00
Michael Vines
f936ce02f8
Remove support to monitor all validators in a cluster for delinquency
...
This feature is no longer useful with hundreds of validators
2020-11-28 23:51:07 -08:00
Michael Vines
ec167aead9
Remove --notify-on-transaction support.
...
It's not longer useful due to the volume of transactions on mainnet-beta
and there are now other means of monitoring transactions
2020-11-28 23:51:07 -08:00
Michael Vines
cc78667118
Record instructions after account translation
2020-11-28 10:54:09 -08:00
Michael Vines
aebf12e28d
Add --maximum-local-snapshot-age argument
2020-11-28 09:09:55 +00:00
Ryo Onodera
6048342c57
Enhance ledger-tool for multi-epoch rewards ( #13837 )
...
* Support ledger-tool for multi-epoch rewards
* nits
* Ensure not to skip some records in csv
2020-11-27 04:20:47 +00:00
sakridge
008b56e535
Fix validator keys path ( #13772 )
2020-11-26 19:20:56 -08:00
Michael Vines
d18b417346
Update examples to use Tokenkeg
2020-11-26 18:26:57 -08:00
sakridge
0b00a1b4de
Add gce single region cpu-only ( #13832 )
2020-11-26 21:45:21 +00:00
carllin
955b99cf69
Fix roots_and_ref_count ( #13827 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-26 13:09:20 -08:00
Michael Vines
761499dfbf
Revert "hidapi 1.2.4 is broken, lock version to 1.2.3"
...
This reverts commit 9dc9a1ef6c
.
2020-11-26 20:07:50 +00:00
Dan Albert
df0be063d8
Update validator_list.rs
2020-11-26 11:06:04 -07:00
dependabot[bot]
db071303b4
chore: bump @babel/core from 7.12.3 to 7.12.9 in /web3.js ( #13825 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.3 to 7.12.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.9/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 09:20:17 +00:00
dependabot[bot]
6c608450fd
chore: bump buffer from 6.0.2 to 6.0.3 in /web3.js ( #13824 )
...
Bumps [buffer](https://github.com/feross/buffer ) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/feross/buffer/releases )
- [Commits](https://github.com/feross/buffer/compare/v6.0.2...v6.0.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-26 09:18:39 +00:00
Michael Vines
9dc9a1ef6c
hidapi 1.2.4 is broken, lock version to 1.2.3
2020-11-26 09:13:23 +00:00
Michael Vines
43b82b31e5
More TestValidator cleanup
2020-11-26 08:56:25 +00:00
Michael Vines
b5f7e39be8
TestValidator public interface cleanup
2020-11-25 17:04:37 -08:00
Tyera Eulberg
5e2d38227f
Use u64 behind the scenes for solana-tokens ( #13815 )
...
* Use u64 behind the scenes for Allocations
* Fixup readme
* Clippy and remove errant comments
2020-11-26 00:00:49 +00:00
Tyera Eulberg
4ff0f0949a
Separate blockstore checks for not (yet) rooted and cleaned up ( #13814 )
2020-11-25 22:59:38 +00:00
Michael Vines
0e2578a0b8
Add commonly-used SPL programs as a convenience to the user
2020-11-25 20:53:16 +00:00
Michael Vines
4ef2da0ff0
Add solana logs
command
2020-11-25 11:44:41 -08:00
dependabot[bot]
f96c4ec84e
chore: bump async-trait from 0.1.36 to 0.1.42
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.36 to 0.1.42.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.36...0.1.42 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-25 09:34:31 -08:00
dependabot[bot]
ccfde38f5e
chore: bump rpc-websockets from 7.4.6 to 7.4.8 in /web3.js ( #13807 )
...
Bumps [rpc-websockets](https://github.com/elpheria/rpc-websockets ) from 7.4.6 to 7.4.8.
- [Release notes](https://github.com/elpheria/rpc-websockets/releases )
- [Commits](https://github.com/elpheria/rpc-websockets/compare/v7.4.6...v7.4.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-25 09:25:42 +00:00
dependabot[bot]
d2fda9ada2
chore: bump eslint from 7.13.0 to 7.14.0 in /web3.js ( #13805 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.13.0 to 7.14.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.14.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-25 09:22:34 +00:00
sakridge
b70abdc645
Nonce updates ( #13799 )
...
* runtime: Add `FeeCalculator` resolution method to `HashAgeKind`
* runtime: Plumb fee-collected accounts for failed nonce tx rollback
* runtime: Use fee-collected nonce/fee account for nonced TX error rollback
* runtime: Add test for failed nonced TX accounts rollback
* Fee payer test
* fixup: replace nonce account when it pays the fee
* fixup: nonce fee-payer collect test
* fixup: fixup: clippy/fmt for replace...
* runtime: Test for `HashAgeKind::fee_calculator()`
* Clippy
Co-authored-by: Trent Nelson <trent@solana.com >
2020-11-24 23:53:51 -08:00
Ryo Onodera
42421e77a9
Add stake calculation tests with inflation/slashing ( #13605 )
...
* Add stake calculation tests with inflation/slashing
* Clean up the test
2020-11-25 12:49:35 +09:00
Michael Vines
215ddecaa5
Add base64+zstd encoding for RPC account data
2020-11-25 02:03:23 +00:00
Tyera Eulberg
465ab490e1
Revert "Check out specific downstream commit ( #13787 )" ( #13793 )
...
This reverts commit 630288c1cc
.
2020-11-24 22:35:00 +00:00
Michael Vines
bee9998e91
tiny doc fix
2020-11-24 12:27:40 -08:00
Tyera Eulberg
630288c1cc
Check out specific downstream commit ( #13787 )
2020-11-24 18:13:03 +00:00
Tyera Eulberg
c930f92411
Restore bank feature used to deprecate Rewards sysvar ( #13786 )
2020-11-24 10:22:31 -07:00
Dan Albert
4c4c6572e7
Update validator_list.rs
2020-11-24 10:05:19 -07:00
Alexander Meißner
c833ede4af
Rbpf v0.2.1 ( #13732 )
...
* Refactoring to match rbpf-v0.2.1 and add JIT compilation caching.
* Removes obsolete bpf-trace.py which has been replaced by the rbpf CLI tool.
2020-11-24 18:00:19 +01:00
dependabot[bot]
32cb8d1462
chore: bump @babel/preset-env from 7.12.1 to 7.12.7 in /web3.js ( #13785 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.1 to 7.12.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.7/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:24:08 +00:00
dependabot[bot]
7678e097fd
chore:(deps): bump react-scripts from 4.0.0 to 4.0.1 in /explorer ( #13784 )
...
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/facebook/create-react-app/releases )
- [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@4.0.1/packages/react-scripts )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:20:47 +00:00
dependabot[bot]
cfb7bb5319
chore: bump prettier from 2.1.2 to 2.2.0 in /web3.js ( #13783 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:20:17 +00:00
dependabot[bot]
8e6a54deeb
chore:(deps): bump react-select from 3.1.0 to 3.1.1 in /explorer ( #13782 )
...
Bumps [react-select](https://github.com/JedWatson/react-select ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@3.1.0...react-select@3.1.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-24 09:09:43 +00:00
Michael Vines
61ab2072bd
Clean up default commitment handling for subscriptions
2020-11-23 22:54:47 -08:00
Tyera Eulberg
7befad2f6d
Check SlotNotRooted if confirmed block not found in blockstore or bigtable ( #13776 )
2020-11-24 03:36:20 +00:00
Tyera Eulberg
e3a92d6905
Prevent splitting when either source or split stake will equal zero ( #13775 )
2020-11-24 02:48:56 +00:00
Michael Vines
60ce6f1a9b
Truncate logs immediately upon collection. Also reduce limit from 100k to 10k
2020-11-23 17:20:02 -08:00
Trent Nelson
488ce982f0
stake: Disallow stakes merging with themselves
2020-11-23 14:32:02 -07:00
Trent Nelson
6b9a019c0a
stake: Remove disused test helper function
2020-11-23 14:32:02 -07:00
Trent Nelson
8e73187990
stake: Allow compatible, fully-active stake accounts to be merged
2020-11-23 14:32:02 -07:00
Trent Nelson
bb2772d068
stake: Cosmetic - rename variable
2020-11-23 14:32:02 -07:00
Trent Nelson
dc7f89715a
stake: De-replicode mergable info extraction
2020-11-23 14:32:02 -07:00
sakridge
dcbb1dca8a
Primordial stake debug ( #13756 )
2020-11-23 13:01:00 -08:00
Tyera Eulberg
38a3ed96bb
Fail stake init if account data is the wrong size ( #13767 )
2020-11-23 20:13:38 +00:00
Tyera Eulberg
f0f99ffc7e
Cap split stake at source stake when splitting entire balance ( #13754 )
2020-11-23 10:11:10 -07:00
dependabot[bot]
879646dee9
chore: bump typescript from 4.0.5 to 4.1.2 in /web3.js ( #13763 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 09:23:27 +00:00
dependabot[bot]
c900b76dbb
chore: bump semantic-release from 17.2.4 to 17.3.0 in /web3.js ( #13761 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.4 to 17.3.0.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.4...v17.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 09:20:14 +00:00
dependabot[bot]
13682007bb
chore:(deps): bump @testing-library/react in /explorer ( #13762 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.2.0 to 11.2.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.2.0...v11.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 09:12:44 +00:00
dependabot[bot]
1d36a84a2e
chore:(deps): bump @types/react-dom from 16.9.9 to 17.0.0 in /explorer ( #13760 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 16.9.9 to 17.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-23 09:10:35 +00:00
sakridge
1c7dd0ae14
Enable log to see stake progress ( #13755 )
2020-11-22 18:34:05 -08:00
behzad nouri
26bf2b7e45
processes pull-request callers only once per unique caller ( #13750 )
...
process_pull_requests acquires a write lock on crds table to update
records timestamp for each of the pull-request callers:
https://github.com/solana-labs/solana/blob/3087c9049/core/src/crds_gossip_pull.rs#L287-L300
However, pull-requests overlap a lot in callers and this function ends
up doing a lot of redundant duplicate work.
This commit obtains unique callers before acquiring an exclusive lock on
crds table.
2020-11-22 17:51:14 +00:00
sakridge
a13083aa65
Ignore errors from subshell correctly ( #13752 )
2020-11-22 07:27:26 -08:00
Jack May
1d008bab4a
Guard against bsd sed ( #13735 )
2020-11-21 17:56:23 -08:00
Michael Vines
3087c90490
Add make to list of packages to instal
2020-11-21 09:21:25 -08:00
Ryo Onodera
3bc7d85986
ledger-tool cap: output credits_observed ( #13746 )
2020-11-21 16:13:07 +00:00
Trent Nelson
13aa38d307
stake: Don't pay out rewards for epochs where inflation was not enabled
2020-11-21 04:16:27 +00:00
sakridge
0ec8069348
Fix escaping in wait-for-stake automation_utils function ( #13743 )
2020-11-20 18:55:09 -08:00
sakridge
c1eb350c47
Allow contact debug interval to be adjusted ( #13737 )
2020-11-20 14:47:37 -08:00
Josh
ed82bf70f5
hotfix: customUrl effect is preventing redirects, add check ( #13742 )
2020-11-20 14:02:11 -08:00
carllin
791fb17437
Prevent scans on unrooted slots from seeing partial clean ( #13628 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-20 13:01:04 -08:00
Michael Vines
62fa8b0ed8
Demote bank-process_transactions-error counters to info!
2020-11-20 10:43:07 -08:00
Tyera Eulberg
c75d97e3f2
Add new inflation feature-ids ( #13671 )
...
* Add new inflation feature-ids, and full_inflation default values
* Compute inflation start from full_inflation activation
* Include pico_inflation in inflation start computation
* Add full-inflation constructor
* Align inflation taper with rewards accrual start and catch overflow edge case
2020-11-20 09:54:41 -07:00
Michael Vines
11e92f0c9f
Snapshot archives are now cleaned up when --snapshot-compression none
is used
2020-11-20 08:41:17 -08:00
sakridge
e4216c3ff8
Check for DO_NOT_PUBLISH_TAR before uploading to CI ( #13700 )
2020-11-20 08:27:34 -08:00
Michael Vines
8808a74593
--vote-account doesn't support ASK but --authorized-voter does
2020-11-20 15:17:18 +00:00
dependabot[bot]
2cab684ffb
chore: bump pretty-hex from 0.1.1 to 0.2.1
...
Bumps [pretty-hex](https://github.com/wolandr/pretty-hex ) from 0.1.1 to 0.2.1.
- [Release notes](https://github.com/wolandr/pretty-hex/releases )
- [Commits](https://github.com/wolandr/pretty-hex/compare/v0.1.1...v0.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-20 07:12:22 -08:00
carllin
9bb11a2dcc
Cleanup ( #13728 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-20 03:17:19 -08:00
dependabot[bot]
87d907db74
chore: bump marked from 1.2.4 to 1.2.5 in /web3.js ( #13727 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.4...v1.2.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 09:24:49 +00:00
dependabot[bot]
10ef38c4bb
chore: bump semantic-release from 17.2.3 to 17.2.4 in /web3.js ( #13723 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.3 to 17.2.4.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.3...v17.2.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 09:20:41 +00:00
dependabot[bot]
a0def4981d
chore:(deps): bump @types/node from 14.14.8 to 14.14.9 in /explorer ( #13726 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.8 to 14.14.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 09:12:25 +00:00
dependabot[bot]
95f061806a
chore:(deps): bump prettier from 2.1.2 to 2.2.0 in /explorer ( #13725 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 09:12:19 +00:00
Ryo Onodera
b74d7b5758
Fix fragile tests in prep of stake rewrite pr ( #13654 )
...
* Fix fragile tests in prep of stake rewrite pr
* Restore BOOTSTRAP_VALIDATOR_LAMPORTS where appropriate
* Further clean up
* Further clean up
* Aligh with other call site change
* Remove false warn!
* fix ci!
2020-11-20 17:21:03 +09:00
sakridge
2cb006fa44
Use info for failed to match slot vote error ( #13715 )
2020-11-19 16:01:37 -08:00
behzad nouri
a8c29505f0
sanitizes bloom filters to avoid division by zero ( #13714 )
...
Pull requests received over the wire can cause a validator to panic
because of division by zero in bloom filters:
https://github.com/solana-labs/solana/blob/af08ba93e/runtime/src/bloom.rs#L86-L88
2020-11-19 23:35:22 +00:00
dependabot[bot]
856693ac1f
chore: bump lru from 0.6.0 to 0.6.1
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.6.0...0.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-19 14:28:50 -08:00
Josh
c76cba465d
explorer: Rename SYSVARs to Title Case ( #13679 )
2020-11-19 14:06:24 -08:00
Josh
b33e5b87dd
explorer: introduce details card for memo instruction ( #13538 )
2020-11-19 14:05:55 -08:00
Michael Vines
f9acbd6e3f
Document get_account() gotcha
2020-11-19 14:02:34 -08:00
Jack May
af08ba93e6
fix doc redirects ( #13709 )
2020-11-19 21:34:21 +00:00
behzad nouri
b58f69297f
makes crds fields private ( #13703 )
...
Crds fields should maintain several invariants between themselves, so
exposing them as public fields can be bug prone. In addition these
invariants are asserted on every write:
https://github.com/solana-labs/solana/blob/9668dd85d/core/src/crds.rs#L138-L154
https://github.com/solana-labs/solana/blob/9668dd85d/core/src/crds.rs#L239-L262
which adds extra instructions and is not optimal. Should these fields be
private the asserts will be redundant.
2020-11-19 20:57:40 +00:00
Ryo Onodera
397cf726fc
Allow GNUSparse for genesis.bin ( #13704 )
2020-11-19 20:29:19 +00:00
Ryo Onodera
43d5e47ea9
Rewrite stake accounts for clear migration ( #13461 )
...
* Reduce overage stake by rewritng stake accounts
* Write tests and finish implemention
* Create and use new feature gate
* Clean up logging
* Fix typo
* Simplify enable_rewrite_stake
* Fix typo...
* Even simplify gating
* Add metrics
2020-11-20 05:15:06 +09:00
Jack May
9668dd85d4
fix rust example section link ( #13701 )
2020-11-19 18:07:00 +00:00
Tyera Eulberg
2ef4369237
Distribute spl tokens ( #13559 )
...
* Add helpers to covert between sdk types
* Add distribute-spl-tokens to args and arg-parsing
* Build spl-token transfer-checked instructions
* Check spl-token balances properly
* Add display handling to support spl-token
* Small refactor to allow failures in allocation iter
* Use Associated Token Account for spl-token distributions
* Add spl token support to balances command
* Update readme
* Add spl-token tests
* Rename spl-tokens file
* Move a couple more things out of commands
* Stop requiring lockup_date heading for non-stake distributions
* Use epsilon for allocation retention
2020-11-19 10:32:31 -07:00
behzad nouri
1ffab5de77
breaks prunes data into chunks to fit into packets ( #13613 )
...
Validator logs show that prune messages are dropped because they exceed
packet data size:
https://github.com/solana-labs/solana/blob/f25c969ad/perf/src/packet.rs#L90-L92
This can exacerbate gossip traffic by redundantly increasing push
messages across network. The workaround is to break prunes into smaller
chunks and send over in multiple messages.
2020-11-19 16:38:01 +00:00
Justin Starry
83799356dd
explorer: Add developer setting to enable customUrl param ( #13697 )
2020-11-19 08:03:20 -06:00
carllin
110acd20dc
Check for overflow in rent partition calculation ( #13569 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-19 04:17:00 -08:00
dependabot[bot]
1cd70edec0
chore:(deps): bump @testing-library/react in /explorer ( #13693 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.1.2 to 11.2.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.2...v11.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-19 09:11:10 +00:00
dependabot[bot]
a39b0f6ee5
chore:(deps): bump @project-serum/serum in /explorer ( #13692 )
...
Bumps [@project-serum/serum](https://github.com/project-serum/serum-ts ) from 0.13.11 to 0.13.12.
- [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>
2020-11-19 09:10:58 +00:00
Trent Nelson
f2a1a0ac5c
RPC: Demote missing block error to warning
...
It frightens the tourists
2020-11-19 04:54:49 +00:00
Michael Vines
9d75b82840
Add SPL Feature Proposal program
2020-11-19 04:27:44 +00:00
Trent Nelson
acc40b1c9e
audit: Ignore RUSTSEC-2020-0071, potential SEGV in time
2020-11-18 20:21:46 -07:00
Dan Albert
2aee43f3ce
Remove TdS validators from SoM with 14 day delinquency ( #13678 )
2020-11-18 19:41:14 -07:00
Dan Albert
d9a07e7ed9
Add new MB validators from TdS 7 and 8 ( #13676 )
2020-11-18 15:25:03 -07:00
Jack May
13a08c7f08
Fix doc proposal sidebar layout ( #13675 )
2020-11-18 22:22:11 +00:00
Jack May
15057b087c
Expand CPI returning error test ( #13672 )
2020-11-18 22:18:49 +00:00
Michael Vines
f25c969ad8
Disable publishing of cargo-build-bpf/cargo-test-bpf to crates.io
2020-11-18 19:09:04 +00:00
Michael Vines
31d2f445a2
Recommend --no-port-check to improve validator restart time
2020-11-18 09:25:45 -08:00
dr497
536becbfab
explorer: Add SRM tee-shirt NFT to the tokenRegistry
2020-11-18 09:14:35 -08:00
dependabot[bot]
892a2eacff
chore: bump nix from 0.17.0 to 0.19.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.17.0 to 0.19.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.17.0...v0.19.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-18 08:40:46 -08:00
dependabot[bot]
8ea6dd7513
chore: bump rollup from 2.33.2 to 2.33.3 in /web3.js ( #13663 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.33.2 to 2.33.3.
- [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.33.2...v2.33.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 09:20:31 +00:00
dependabot[bot]
75664cce59
chore:(deps): bump @types/node from 14.14.7 to 14.14.8 in /explorer ( #13664 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.7 to 14.14.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 09:10:47 +00:00
dependabot[bot]
7640841b02
chore: bump goauth from 0.7.2 to 0.8.1
...
Bumps [goauth](https://github.com/durch/rust-goauth ) from 0.7.2 to 0.8.1.
- [Release notes](https://github.com/durch/rust-goauth/releases )
- [Commits](https://github.com/durch/rust-goauth/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-17 23:30:51 -08:00
Michael Vines
78dc334afe
Add real --version
2020-11-17 17:59:33 -08:00
Greg Fitzgerald
47fbfc52de
Revert solana-tokens to RpcClient ( #13623 )
...
* Revert solana-tokens to RpcClient
* Fixup check_payer_balances tests
* Use RpcClient::new_with_commitment in other tests
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-17 21:53:49 +00:00
Tyera Eulberg
645598e615
Improve monitoring of timestamp correction and bounding ( #13656 )
...
* Include rejuvenated field in Clock parsing
* Expand timestamp-correction logging info
2020-11-17 21:51:43 +00:00
Tyera Eulberg
39932d7664
Update Initialized split rent-exempt value ( #13646 )
2020-11-17 19:03:00 +00:00
Tyera Eulberg
a7bed62af0
Remove overflow opportunities ( #13649 )
2020-11-17 12:01:11 -07:00
Jack May
df1f53950e
helloworld no longer supports program feature ( #13645 )
2020-11-17 17:10:10 +00:00
Michael Vines
c5299b60ed
Add RpcClient::new_with_commitment()
2020-11-17 07:55:43 -08:00
dependabot[bot]
3827739708
chore:(deps): bump @solana/web3.js from 0.87.0 to 0.87.1 in /explorer ( #13642 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.87.0 to 0.87.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.87.0...v0.87.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 09:20:00 +00:00
dependabot[bot]
808360d25b
chore:(deps): bump @types/chart.js from 2.9.27 to 2.9.28 in /explorer ( #13641 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.27 to 2.9.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 09:19:48 +00:00
dependabot[bot]
8d94ce4128
chore: bump semantic-release from 17.2.2 to 17.2.3 in /web3.js ( #13640 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.2 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.2...v17.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-17 09:19:41 +00:00
Jack May
3a9dca0c67
Add back BPF error logging ( #13633 )
...
* Add back BPF error logging
* Update programs/bpf_loader/src/lib.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-17 08:10:14 +00:00
Tyera Eulberg
3e4acba72f
Quiet notification logs when no subscriptions ( #13629 )
2020-11-17 06:37:38 +00:00
Tyera Eulberg
ef99689592
Improve TestValidator instantiation ( #13627 )
...
* Add TestValidator::new_with_fees constructor, and warning for low bootstrap_validator_lamports
* Add logging to solana-tokens integration test to help catch low bootstrap_validator_lamports in the future
* Reasonable TestValidator mint_lamports
2020-11-16 23:27:36 -07:00
Michael Vines
bde1e3d004
fix: default preflight commitment to confirmation commitment
2020-11-16 21:54:02 -08:00
Michael Vines
c2f77a3473
Default preflight_commitment to confirmation commitment
2020-11-16 21:54:02 -08:00
carllin
afc1b59475
Fix assertion failure ( #13626 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-16 21:30:38 -08:00
carllin
6276360468
Prevent scans from seeing root updates/clean ( #13464 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-16 17:23:11 -08:00
Jack May
8c922a0198
fix arithmetic overflow in slice translation ( #13624 )
...
* fix arithmetic overflow in slice translation
* nudge
2020-11-17 00:13:01 +00:00
Jack May
64a3cf03e2
Remove program cap from CLI checks ( #13617 )
2020-11-16 21:11:55 +00:00
Ryo Onodera
2b3faa1947
Reject faked stake/vote accounts in stake mgmt. ( #13615 )
...
* Reject faked stake/vote accounts in stake mgmt.
* Use clearer name
2020-11-17 05:42:59 +09:00
Michael Vines
e5f4442325
Build more of the SPL repo in CI
2020-11-16 11:57:43 -08:00
Michael Vines
b5820f9325
Use default client keypair for faucet to avoid the need for airdrops
2020-11-16 11:00:40 -08:00
Michael Vines
ab5814cd90
Cargo.lock
2020-11-16 11:00:40 -08:00
Michael Vines
4069e7b663
Use default client keypair if --faucet-keypair is not provided
2020-11-16 11:00:40 -08:00
Michael Vines
e9e5ee4362
Use default client keypair if --keypair argument is not provided
2020-11-16 11:00:40 -08:00
dependabot[bot]
6c5fb329b2
chore: bump marked from 1.2.3 to 1.2.4 in /web3.js ( #13612 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.3...v1.2.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 09:36:51 +00:00
dependabot[bot]
0970ed8fce
chore: bump rollup from 2.33.1 to 2.33.2 in /web3.js ( #13609 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.33.1 to 2.33.2.
- [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.33.1...v2.33.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 09:18:41 +00:00
dependabot[bot]
935b85c1de
chore:(deps): bump @testing-library/jest-dom in /explorer ( #13611 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.5 to 5.11.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.5...v5.11.6 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 09:17:33 +00:00
dependabot[bot]
0b64d28582
chore:(deps): bump @sentry/react from 5.27.3 to 5.27.4 in /explorer ( #13610 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.27.3 to 5.27.4.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.3...5.27.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 09:09:38 +00:00
Michael Vines
8761ce4691
Document feature-set field in getVersion
2020-11-15 18:01:47 -08:00
Ryo Onodera
bcd303a447
ledger-tool cap: delegation owner and stake v2 flag ( #13602 )
...
* Output delegation owner as well
* Add --enable-stake-program-v2
* Small cleanup and add sanity assertion
* Fix typo...
2020-11-15 19:38:46 +00:00
behzad nouri
5e8490ab9d
packs more crds-values in a single gossip packet ( #13500 )
...
split_gossip_messages:
https://github.com/solana-labs/solana/blob/a97c04b40/core/src/cluster_info.rs#L1536-L1574
splits crds-values into chunks to fit into a gossip packet. However it is
using a global upper-bound for the header-size across all protocols:
https://github.com/solana-labs/solana/blob/a97c04b40/core/src/cluster_info.rs#L90-L93
This can be wasteful as the specific gossip protocol can have smaller
header than this upper-bound (e.g. Protocol::PushMessage is 170 bytes
smaller). Adding more crds-values in one gossip packet can avoid the
overheads of separate packets and reduce total number of bytes sent over
the wire.
This commit updates the splitting function to take a max-chunk-size
argument. At call-site, this value is set to the size of the protocol
which the values are sent over.
2020-11-15 18:23:59 +00:00
behzad nouri
cbea9ebc34
indexes nodes' contact infos in crds table ( #13553 )
...
In several places in gossip code, the entire crds table is scanned only
to filter out nodes' contact infos. Currently on mainnet, crds table is
of size ~70k, while there are only ~470 nodes. So the full table scan is
inefficient. Instead we may maintain an index of only nodes' contact
infos.
2020-11-15 16:38:04 +00:00
Michael Vines
f5e0adc693
test: update expected program log messages
2020-11-14 20:49:30 -08:00
Michael Vines
5d72e52ad0
Disable the PubSub vote subscription by default
...
The --rpc-pubsub-enable-vote-subscription flag may be used to enable it.
The current vote subscription is problematic because it emits a
notification for *every* vote, so hundreds a second in a real cluster.
Critically it's also missing information about *who* is voting,
rendering all those notifications practically useless.
Until these two issues can be resolved, the vote subscription is not
much more than a potential DoS vector.
2020-11-14 12:36:37 -08:00
Tyera Eulberg
88ae321d3f
Add counter metrics to rpc-subscriptions ( #13596 )
2020-11-14 12:40:24 -07:00
dependabot[bot]
b37d73cd56
chore: bump ws from 7.3.1 to 7.4.0 in /web3.js
...
Bumps [ws](https://github.com/websockets/ws ) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-14 08:32:17 -08:00
dependabot[bot]
2b309ec046
chore: bump eslint from 7.12.1 to 7.13.0 in /web3.js
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-14 08:31:57 -08:00
dependabot[bot]
e57001e5cd
chore: bump buffer from 6.0.1 to 6.0.2 in /web3.js
...
Bumps [buffer](https://github.com/feross/buffer ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/feross/buffer/releases )
- [Commits](https://github.com/feross/buffer/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-14 08:31:45 -08:00
dependabot[bot]
fc54fb88ae
chore: bump futures from 0.3.5 to 0.3.8
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.5 to 0.3.8.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-14 08:31:19 -08:00
Michael Vines
baa6b3a261
Add stable program logging for BPF and native programs
2020-11-14 08:26:01 -08:00
sakridge
13f3043c8a
tell curl to follow redirects to fix net scripts ( #13589 )
2020-11-13 19:56:37 -08:00
Tyera Eulberg
34bf80ba9c
Send pubsub metrics to metrics server ( #13584 )
2020-11-13 19:31:23 +00:00
Jack May
887b0e4b72
Add doc content and feedback ( #13563 )
2020-11-13 10:18:04 -08:00
Justin Starry
01a4889b53
clippy
2020-11-13 07:21:38 -08:00
Justin Starry
d611337394
Fix overflow in entry hash count verification
2020-11-13 07:21:38 -08:00
Ryo Onodera
c97a7d1105
Small cleaning update_epoch_stakes ( #13576 )
2020-11-13 11:16:38 +00:00
joshua-maros
a8a77614fe
Fix potential undefined behavior ( #13555 )
...
* Switch to ouroboros 0.5.1
* Update other lock files
2020-11-13 18:12:41 +09:00
dependabot[bot]
cbcde43765
chore:(deps): bump @types/react-select in /explorer ( #13574 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.25 to 3.0.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-13 09:09:33 +00:00
Trent Nelson
6dc735e996
ip-echo-server: Don't use framed decoder, it can't be read-limited
2020-11-13 07:53:19 +00:00
Michael Vines
328f59ebef
--gossip-host may now be specified with --entrypoint
2020-11-13 06:20:15 +00:00
Michael Vines
9f95704706
Add --offline flag
2020-11-12 20:03:12 -08:00
Jack May
48dd9f7efd
Move secp256k1 instruction helper to the sdk ( #13560 )
2020-11-12 16:58:40 -08:00
sakridge
c1f3f9d27b
Stop searching for incorrect shred version after a minute ( #13512 )
2020-11-12 14:01:13 -08:00
sakridge
598e5f58d5
Add wait for max stake command ( #13532 )
2020-11-12 13:48:34 -08:00
Jack May
30ef53cb13
fix bpf lddw check ( #13554 )
2020-11-12 13:13:42 -08:00
behzad nouri
4e4e12b384
filters out offline nodes from pull options ( #13533 )
...
Inactive nodes are still observing incoming gossip traffic:
https://discord.com/channels/428295358100013066/670512312339398668/776140351291260968
likely because of pull-requests.
Previous related issues and commits:
https://github.com/solana-labs/solana/issues/12409
https://github.com/solana-labs/solana/pull/12620
https://github.com/solana-labs/solana/pull/12674
This commit implements same logic as
https://github.com/solana-labs/solana/pull/12674
to exclude inactive nodes from pull options, with the same periodic
retry logic for offline staked nodes in order to mitigate eclipse
attack.
2020-11-12 16:09:37 +00:00
carllin
9821a7754c
Discard pre hard fork persisted tower if hard-forking ( #13536 )
...
* Discard pre hard fork persisted tower if hard-forking
* Relax config.require_tower
* Add cluster test
* nits
* Remove unnecessary check
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-12 23:29:04 +09:00
dependabot[bot]
cfa598616e
chore:(deps): bump @testing-library/react in /explorer ( #13549 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.1...v11.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:43 +00:00
dependabot[bot]
76b5066dc9
chore:(deps): bump @solana/web3.js from 0.86.4 to 0.87.0 in /explorer ( #13548 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:34 +00:00
DR497
554060b3c5
explorer: Add additional tokens and icons to registry ( #13544 )
...
* Add NFTs to the explorer
* Add missing tokens
2020-11-11 22:19:42 -08:00
Trent Nelson
d2cfeb31b9
ip-echo-server: Limit socket read to expected reply length
2020-11-12 05:53:18 +00:00
Trent Nelson
7481ba5618
ip-echo-server: Add helper to compute reply length
2020-11-12 05:53:18 +00:00
Trent Nelson
aab5f24518
ip-echo-server: Name the header length magic number
2020-11-12 05:53:18 +00:00
Michael Vines
114b91afe6
program-test now generates new blockhashes for test usage
2020-11-11 20:29:00 -08:00
Greg Fitzgerald
dadea873a9
Send BanksClient RPC requests before returning futures ( #13539 )
...
* Send RPC requests before returning futures
* Add process_transactions()
2020-11-11 18:56:26 -07:00
Jack May
eb306da148
Report and bail on broken links ( #13540 )
2020-11-11 17:46:24 -08:00
Ryo Onodera
89b474e192
Fix slow/stuck unstaking due to toggling in epoch ( #13501 )
...
* Fix slow/stuck unstaking due to toggling in epoch
* nits
* nits
* Add stake_program_v2 feature status check to cli
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-11 14:11:57 -07:00
Trent Nelson
38f15e41b5
Validator: Periodically log what we're waiting for during --wait-for-supermajority
2020-11-11 20:03:26 +00:00
Jon Cinque
58354d166b
feat: increase timeout in confirmTransaction
( #13478 )
...
Developers have reported needing to change the timeout to suit their
use cases, or not completely understanding what the timeout meant for
their transaction, since it could timeout and still get processed. This
increases the default timeout to `confirmTransaction` and adds more
information to the error message.
2020-11-11 13:12:09 +01:00
dependabot[bot]
ab70c15709
chore:(deps): bump @testing-library/user-event in /explorer ( #13526 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.2.0 to 12.2.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.2.0...v12.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 09:10:00 +00:00
Michael Vines
58724cb687
Use a non-zero fee_calculator for a more realistic test environment
2020-11-11 00:46:28 -08:00
Jack May
e390c8cb7f
Add stubs and heap region definitions ( #13521 )
...
* Add stubs and heap region definitions
* nudge
2020-11-11 05:50:16 +00:00
Greg Fitzgerald
2660b44d91
Remove need for BanksClientExt trait ( #13519 )
2020-11-10 19:30:25 -07:00
carllin
2c2432fddc
Refactor function ( #13294 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-11-10 17:20:35 -08:00
Tyera Eulberg
91f4e99b4c
Fix parsing CreateAccountWithSeed instructions ( #13513 )
...
* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
2020-11-10 23:51:53 +00:00
Jack May
9ca8e98525
Add printf declaration ( #13514 )
2020-11-10 23:40:48 +00:00
Jack May
23c558510a
add missing c logging stubs ( #13511 )
2020-11-10 22:19:54 +00:00
Justin Starry
2a96e722b4
watchtower: Fix all clear duration message
2020-11-10 09:20:39 -08:00
Tyera Eulberg
599dae8f09
Make testnet section less ambiguous ( #13504 )
2020-11-10 10:03:57 -07:00
Tyera Eulberg
3282334741
Bump token version fetched for localnet ( #13490 )
2020-11-10 10:00:08 -07:00
sakridge
70c4626efe
Fix signature access ( #13491 )
2020-11-10 08:35:03 -08:00
Justin Starry
a97c04b400
Send RPC notification when account is deleted ( #13440 )
...
* Send RPC notification when account is deleted
* Remove unwrap
2020-11-10 19:48:42 +08:00
dependabot[bot]
122b707a7d
chore:(deps): bump @types/node from 14.14.6 to 14.14.7 in /explorer ( #13494 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.6 to 14.14.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:13:11 +00:00
dependabot[bot]
f9719361a5
chore:(deps): bump @types/react-select in /explorer ( #13493 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.23 to 3.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:10:49 +00:00
sakridge
b4cf968e14
Add back shredding broadcast stats ( #13463 )
2020-11-09 23:04:27 -08:00
Trent Nelson
fb815294b3
docs: Consistent used of "jsonParsed" throughout RPC reference
2020-11-09 20:28:04 -07:00
Trent Nelson
87924c7111
docs: Consistently use "jsonParsed" param for RPC getAccountInfo
2020-11-09 20:28:04 -07:00
Trent Nelson
1d7c00c915
docs: Wrap RPC getAccountInfo
at 80 char
2020-11-09 20:28:04 -07:00
Jack May
c280d40b40
align cluster and sim logging as hex ( #13484 )
2020-11-10 02:43:20 +00:00
Tyera Eulberg
c0e2ef06dc
Fix Bank accounts hash mismatch related to Clock::unix_timestamp ( #13477 )
...
* Test for different ancestors with mismatch bank hash
* Test cleanup
* Remove nondeterministic ancestor check
* Update timestamp bounding feature key
* Update design doc
* Filter recent_timestamps to nodes voting within the last epoch
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
2020-11-10 02:10:09 +00:00
Jack May
2eb637d52f
fix running local test-sanity ( #13482 )
2020-11-09 15:03:44 -08:00
Jack May
14fb75927e
update cpi docs ( #13480 )
2020-11-09 22:29:57 +00:00
Jack May
337684b384
update doc redirects ( #13481 )
2020-11-09 22:10:38 +00:00
Jack May
461ae40eea
provide full Rust panic messages in BPF and add memory optimizations ( #13455 )
2020-11-09 13:40:26 -08:00
sakridge
c644b05c54
Fix avx check with newest nightly compiler ( #13465 )
2020-11-09 08:04:34 -08:00
dependabot[bot]
dab2ad245f
chore:(deps): bump react-chartjs-2 from 2.10.0 to 2.11.1 in /explorer ( #13476 )
...
Bumps [react-chartjs-2](https://github.com/reactchartjs/react-chartjs-2 ) from 2.10.0 to 2.11.1.
- [Release notes](https://github.com/reactchartjs/react-chartjs-2/releases )
- [Commits](https://github.com/reactchartjs/react-chartjs-2/compare/2.10.0...2.11.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 09:12:39 +00:00
Ryo Onodera
5306eb93cc
Clean up Delegation::stake_activating_and_deactivating ( #13471 )
2020-11-09 17:39:56 +09:00
behzad nouri
73ac104df2
propagates errors out of Packet::from_data ( #13445 )
...
Packet::from_data is ignoring serialization errors:
https://github.com/solana-labs/solana/blob/d08c3232e/sdk/src/packet.rs#L42-L48
This is likely never useful as the packet will be sent over the wire
taking bandwidth but at the receiving end will either fail to
deserialize or it will be invalid.
This commit will propagate the errors out of the function to the
call-site, allowing the call-site to handle the error.
2020-11-08 15:10:03 +00:00
Ryo Onodera
737d3e376d
Clean up Delegation::stake_and_activating ( #13460 )
2020-11-08 17:19:27 +09:00
Ryo Onodera
a81e7e7749
Output more inflation calc details in ledger-tool ( #13345 )
...
* Output more inflation calc details in ledger-tool
* Fix broken ci...
* Rename confusing variables
* Fix panic by wrapping PointValue with Opiton...
* Minor modifications
* Remove explict needless flush; Drop already does
* Yet another csv field adjustments
* Add data_size and rename epochs to earned_epochs
* Introduce null_tracer
* Unwrap Option in new_from_parent_with_tracer
* Don't shorten identifiers
* Allow irrefutable_let_patterns temporalily
* More null_tracer
* More field adjustments
2020-11-08 16:43:50 +09:00
Michael Vines
549492954e
Add PATH to GNU readlink
2020-11-07 11:27:32 -08:00
Ryo Onodera
c5b9831bfb
Don't abort for missing epoch rewards; intead display warn ( #13457 )
2020-11-07 09:32:29 +00:00
Michael Vines
abc27d2900
Install coreutils on osx for 'readlink -f' support
2020-11-06 23:00:51 -08:00
Trent Nelson
b4790120cb
CLI: Make clear that nonce account 'Nonce' field is a blockhash
2020-11-06 23:16:19 +00:00
Tyera Eulberg
4c5f345798
Fix stake split rent-exempt adjustment ( #13357 )
...
* Add failing tests
* Fix stake split
* Calculate split rent-exempt-reserve and use
* Add comment in rent.rs
* Add tests for edge cases when splitting to larger accounts, and reject overflow splits
* Reframe InsufficientFunds checks in terms of lamports var
* Test hardening review comments
2020-11-06 20:32:05 +00:00
Michael Vines
0ea795caa8
cargo-build-bpf/cargo-test-bpf now support --workspace/--all
2020-11-06 12:27:46 -08:00
Trent Nelson
fe1e08b9ad
stake: Consider withdraws we redelegating
2020-11-06 18:51:11 +00:00
Trent Nelson
491ad59d2e
stake: Add redelegation failing test
2020-11-06 18:51:11 +00:00
Michael Vines
1a70a2a25b
cargo-test-bpf now sets the "test-bpf" feature for crate tests
...
The feature allows for tests to distinguish between `cargo test` and
`cargo test-bpf` primarily for the purpose of excluding CPI tests that
require the system program under `cargo test`, as the path to enabling
CPI in `cargo test`-based testing is unclear
2020-11-06 10:21:07 -08:00
Ryo Onodera
d08c3232e2
Show more detailed vote history in shorter format ( #13374 )
...
* Show more detailed vote history in shorter format
* Improve wording
* fmt
2020-11-07 00:07:40 +09:00
dependabot[bot]
b7811c8992
chore:(deps): bump @types/react from 16.9.55 to 16.9.56 in /explorer ( #13441 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.55 to 16.9.56.
- [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>
2020-11-06 09:10:24 +00:00
Tyera Eulberg
1b1d9f6b0c
Feature-gate stake program ( #13394 )
...
* Add legacy stake-program handling
* Strip out duplicative legacy code
* Add feature for stake-program-fix
* Feature-deploy new stake program
* Expand comment
2020-11-06 08:08:11 +00:00
Jack May
84b139cc94
Add builtin mem tests ( #13429 )
2020-11-05 22:20:54 -08:00
Michael Vines
9a1c1fbab8
Add get_rent()
2020-11-05 20:14:34 -08:00
Michael Vines
920cd5285a
Revert "Include Rent in ProgramTest::start() output"
...
This reverts commit c3d2d2134c
.
2020-11-05 20:14:34 -08:00
dependabot[bot]
9e24c9795c
chore: bump marked from 1.2.2 to 1.2.3 in /web3.js ( #13417 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.2...v1.2.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-06 09:58:48 +08:00
Trent Nelson
7a4e293b3b
CI: Check monorepo for consistent crate versions
2020-11-06 01:32:01 +00:00
Trent Nelson
5d4015358a
increment-cargo-version.sh: Add check subcommand
2020-11-06 01:32:01 +00:00
Michael Vines
2d24160376
Add SPL Associated Token Account Program label to explorer
2020-11-05 23:03:03 +00:00
Michael Vines
4d553f4879
Fetch associated-program-account
2020-11-05 23:03:03 +00:00
Michael Vines
b511e51415
Define BPF_OUT_DIR for program-test, also handle -- arguments better
2020-11-05 14:29:17 -08:00
Michael Vines
77d9d06a44
Search BPF_OUT_DIR for programs
2020-11-05 14:29:17 -08:00
Michael Vines
5a435a4342
Check file modification times before strip and dump
2020-11-05 14:29:17 -08:00
Michael Vines
d2b26a65e9
Search for program files in 'target/deploy'
2020-11-05 14:29:17 -08:00
Michael Vines
c988d0f573
Cargo.lock
2020-11-05 14:29:17 -08:00
Michael Vines
6c36a2085f
Add cargo-test-bpf
2020-11-05 14:29:17 -08:00
Michael Vines
78c2d9156b
Remove unneeded .gitignore
2020-11-05 14:29:17 -08:00
Josh
67d570d121
explorer: Capitalize underscore sysvar titles ( #13428 )
2020-11-05 13:36:39 -08:00
Josh
cef0d5879f
explorer: Serum DEX instruction full decoding and instruction cards ( #13330 )
...
* map serum instructions in tokenhistory card
* add token swap instruction parsing
* add serum instruction builders
* add new serum instruction detail cards
* fix decode bug on cancel order by client id
* avoid parsing unsupported instructions
2020-11-05 13:19:02 -08:00
behzad nouri
44b12a1594
adds the missing slash in cargo path ( #13424 )
2020-11-05 20:25:42 +00:00
Jon Cinque
ede891a6c6
docs: Clarify the commitment levels based on questions ( #13387 )
...
* Clarify the commitment levels based on questions
Many people have asked about what commitment levels mean, and which to
choose. This update includes some of the language at
`sdk/src/commitment_config.rs` and a recommendation for different use
cases.
Additionally, the preflight commitment documentation was out of date,
specifying that "max" was always used, and this is no longer the case.
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/developing/clients/jsonrpc-api.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Fix typo
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-05 20:34:55 +01:00
behzad nouri
7f4debdad5
drops older gossip packets when load shedding ( #13364 )
...
Gossip drops incoming packets when overloaded:
https://github.com/solana-labs/solana/blob/f6a73098a/core/src/cluster_info.rs#L2462-L2475
However newer packets are dropped in favor of the older ones.
This is probably not ideal as newer packets are more likely to contain
more recent data, so dropping them will keep the validator state
lagging.
2020-11-05 17:14:28 +00:00
behzad nouri
8f0796436a
shares the lock on gossip when processing prune messages ( #13339 )
...
Processing prune messages acquires an exclusive lock on gossip:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L1824-L1825
This can be reduced to a shared lock if active-sets are changed to use
atomic bloom filters:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/crds_gossip_push.rs#L50
2020-11-05 15:42:00 +00:00
Tyera Eulberg
bc62313c66
Allow feature builtins to overwrite existing builtins ( #13403 )
...
* Allow feature builtins to overwrite existing builtins
* Add feature_builtin ActivationType
* Correctly retain idempotent for replacing case
* Fix test
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-05 15:37:07 +00:00
behzad nouri
118ce47b97
measures processing time of each kind of gossip packets ( #13366 )
2020-11-05 15:34:34 +00:00
dependabot[bot]
5e7565fefe
chore: bump buffer from 5.7.0 to 6.0.1 in /web3.js ( #13415 )
...
Bumps [buffer](https://github.com/feross/buffer ) from 5.7.0 to 6.0.1.
- [Release notes](https://github.com/feross/buffer/releases )
- [Commits](https://github.com/feross/buffer/compare/v5.7.0...v6.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-05 09:19:09 +00:00
dependabot[bot]
f2e265492c
chore:(deps): bump @testing-library/user-event in /explorer ( #13416 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.10 to 12.2.0.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.10...v12.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-05 09:12:15 +00:00
dependabot[bot]
ea8eb5b065
chore:(deps): bump @sentry/react from 5.27.2 to 5.27.3 in /explorer ( #13414 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.27.2 to 5.27.3.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.27.2...5.27.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-05 09:09:32 +00:00
Justin Starry
c24fbb6f8b
Fix duplicate records of inner instructions ( #13380 )
...
* Fix duplicate records of inner instructions
* fix tests
* fix clippy
* Remove bad_inner_instructions
2020-11-05 15:23:52 +08:00
Trent Nelson
66c3c6c2b3
CI: Use branch-versioned cargo throughout
2020-11-05 05:05:57 +00:00
Justin Starry
dd54ea78ac
Bump low end validator RAM requirement ( #13406 )
2020-11-05 11:56:14 +08:00
Michael Vines
8c4995b22b
Improve invoke_signed() docs
2020-11-04 23:44:04 +00:00
Michael Vines
661a935075
Final program ELF is now placed in ./target/deploy/ instead of .
2020-11-04 23:03:55 +00:00
Michael Vines
8838a55a1a
Bump spl-token and spl-memo crate versions
2020-11-04 21:44:33 +00:00
Jack May
8aa00381ef
stack overflow docs ( #13399 )
...
* stack overflow docs
* whitespace
2020-11-04 21:35:59 +00:00
publish-docs.sh
cb2e8f9084
Add remaining stage 9 TdS validators
2020-11-04 13:44:57 -07:00
Michael Vines
97284adabb
Update SPL Token exchange documentation to include associated-token-account workflow
2020-11-04 11:41:29 -08:00
behzad nouri
10fa4f45ab
uses thread-pool when handling push messages ( #13338 )
...
From runtime profiles, the majority time of solana-listen thread:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2720
is spent handling push messages. The code here:
https://github.com/solana-labs/solana/blob/55b0428ff/core/src/cluster_info.rs#L2272-L2364
may utilize the idle gossip thread-pool.
2020-11-04 19:15:58 +00:00
sakridge
0d663158d0
Reduce repair_stats debug ( #13393 )
2020-11-04 10:32:48 -08:00
sakridge
7ee0c9e68a
Add non-progress bar download status ( #13370 )
2020-11-04 10:32:27 -08:00
Dan Albert
bb63e9486d
Update validator_list.rs
2020-11-04 10:47:00 -07:00
Alexander Meißner
4999fe298b
Rbpf v0.2.0 ( #13365 )
...
* Updates rbpf to v0.2.0,
which unifies the interfaces of the interpreter and the JIT.
However, the JIT is not enabled yet.
2020-11-04 18:46:26 +01:00
Dan Albert
5db6e4748d
Update validator_list.rs
2020-11-04 10:37:43 -07:00
Dan Albert
bbe2834c82
Update validator_list.rs
2020-11-04 10:27:28 -07:00
sakridge
43053dcc90
Re-use accounts stores ( #12885 )
...
* Re-use accounts_db stores
Creating files and dropping mmap areas can be expensive
* Add test for storage finder
Can encounter an infinite loop when the store is too small, but
smaller than the normal store size.
* Fix storage finding
* Check for strong_count == 1
* try_recycle helper
2020-11-04 09:17:05 -08:00
Ryo Onodera
b0d1ae1d8b
Comment Stakes::clone_with_epoch ( #13388 )
2020-11-04 11:18:05 +00:00
dependabot[bot]
f349def5d4
chore: bump @babel/runtime from 7.12.1 to 7.12.5 in /web3.js ( #13386 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.12.1 to 7.12.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.5/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:50:13 +00:00
dependabot[bot]
88737f24b0
chore: bump jest from 26.6.2 to 26.6.3 in /web3.js ( #13385 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.6.2 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.6.2...v26.6.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:48:34 +00:00
dependabot[bot]
169b334660
chore:(deps): bump @testing-library/react in /explorer ( #13382 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/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>
2020-11-04 09:27:21 +00:00
dependabot[bot]
d498ac229f
chore: bump codecov from 3.8.0 to 3.8.1 in /web3.js ( #13384 )
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-node/compare/v3.8.0...v3.8.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:22:34 +00:00
dependabot[bot]
2840201e41
chore:(deps): bump @solana/web3.js from 0.86.3 to 0.86.4 in /explorer ( #13383 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.3 to 0.86.4.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.3...v0.86.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 09:12:03 +00:00
Michael Vines
b5ef319038
Refine transaction log count message
2020-11-04 05:30:52 +00:00
Michael Vines
6d9ca0ae15
Surface transaction logs in rpc client
2020-11-03 17:03:28 -08:00
Jack May
04c5e6cc48
more informative feature error message ( #13373 )
2020-11-04 00:08:08 +00:00
Jack May
3d5e778d5d
Flesh out development docs ( #13318 )
...
* flesh out development docs
* nits
2020-11-03 20:53:17 +00:00
Tyera Eulberg
546915ee12
fix: update StakeProgram.space() ( #13371 )
2020-11-03 13:40:45 -07:00
Trent Nelson
fefa297877
docs: Mainnet-beta totally has smart contract enabled
2020-11-03 19:04:30 +00:00
Jack May
f6a73098a4
Update sol_log_compute_units ( #13360 )
2020-11-03 08:16:31 -08:00
dependabot[bot]
9e577d0338
chore: bump jest from 26.6.1 to 26.6.2 in /web3.js ( #13361 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.6.1 to 26.6.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.6.1...v26.6.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 09:28:12 +00:00
dependabot[bot]
a9a01c308e
chore:(deps): bump @solana/web3.js from 0.86.2 to 0.86.3 in /explorer ( #13362 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.2 to 0.86.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.2...v0.86.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 09:11:36 +00:00
Michael Vines
c3d2d2134c
Include Rent in ProgramTest::start() output
2020-11-03 02:01:47 +00:00
Josh
d3a3a7548c
explorer: add serum new order v2 instruction mapping ( #13353 )
2020-11-02 11:49:26 -08:00
Dan Albert
120fc03aff
Add validators to SoM list ( #13322 )
2020-11-02 11:42:46 -07:00
Justin Starry
582602dc57
fix: add feePayer type in TransactionCtorFields ( #13343 )
2020-11-02 21:34:24 +08:00
Justin Starry
c05a038475
Revert "fix web3js: add feePayer type in TransactionCtorFields ( #13343 )"
...
This reverts commit 1c75db41e3
.
2020-11-02 21:34:17 +08:00
dependabot[bot]
c54a3e82e9
chore: bump rollup from 2.32.1 to 2.33.1 in /web3.js ( #13348 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.1 to 2.33.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.32.1...v2.33.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:22:23 +00:00
dependabot[bot]
5b6f360f51
chore: bump @solana/spl-token from 0.0.11 to 0.0.13 in /web3.js ( #13346 )
...
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library ) from 0.0.11 to 0.0.13.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases )
- [Commits](https://github.com/solana-labs/solana-program-library/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:17:50 +00:00
dependabot[bot]
7996f7e227
chore:(deps): bump @types/react-select in /explorer ( #13350 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.22 to 3.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:14:53 +00:00
dependabot[bot]
84e3218cdb
chore:(deps): bump @project-serum/serum in /explorer ( #13349 )
...
Bumps [@project-serum/serum](https://github.com/project-serum/serum-js ) from 0.13.9 to 0.13.11.
- [Release notes](https://github.com/project-serum/serum-js/releases )
- [Commits](https://github.com/project-serum/serum-js/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:14:39 +00:00
dependabot[bot]
a0f40711c6
chore: bump semantic-release from 17.2.1 to 17.2.2 in /web3.js ( #13303 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.1 to 17.2.2.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.1...v17.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:07:41 +00:00
Justin Starry
5c09193019
Add warning to PR template for mirrored repos ( #13344 )
2020-11-02 14:34:14 +08:00
Son Nguyen
1c75db41e3
fix web3js: add feePayer type in TransactionCtorFields ( #13343 )
...
Co-authored-by: Son Nguyen <nhson@HKMAC0371.local >
2020-11-02 14:00:00 +08:00
Ryo Onodera
0e4509c497
Small code cleanup and typo fixes ( #13325 )
...
* Small code cleanup and typo fixes
* Clean up calculate_points_and_credits
2020-11-02 10:28:24 +09:00
sakridge
55b0428ff7
Add store-tool ( #13254 )
2020-11-01 09:41:28 -08:00
Tyera Eulberg
af9a3f004e
Fix typos ( #13334 )
2020-11-01 06:52:41 +00:00
Michael Vines
e60bda082d
Adapt to feature::create_account
2020-11-01 05:53:29 +00:00
Tyera Eulberg
a3912bc084
Add design proposal and update validator-timestamp-oracle
2020-10-31 21:30:42 -07:00
Tyera Eulberg
3a1e125ce3
Add Clock sysvar details, update struct docs
2020-10-31 21:30:42 -07:00
Tyera Eulberg
4260b3b416
Sample votes from ancestors back to root
2020-10-31 21:30:42 -07:00
Tyera Eulberg
eb2560e782
Prevent block times from ever going backward
2020-10-31 21:30:42 -07:00
Tyera Eulberg
90778615f6
Use bounded timestamp-correction when feature enabled
2020-10-31 21:30:42 -07:00
Tyera Eulberg
80db6c0980
Add bounded timestamp-estimation method
2020-10-31 21:30:42 -07:00
Tyera Eulberg
0049ab69fb
Repurpose unused as Clock::epoch_start_timestamp; add gated update
2020-10-31 21:30:42 -07:00
Tyera Eulberg
96b8aa8bd1
Add bounding feature
2020-10-31 21:30:42 -07:00
Josh
2f657bc0ca
explorer: Parse Serum DEX and swap instructions for TokenHistory ( #13320 )
...
* map serum instructions on token history card
* add token swap instruction parsing
* refactor serum program and instruction data
2020-10-31 19:21:20 -07:00
Michael Vines
52a292a75b
Add solana-program-test crate
2020-10-31 18:12:24 -07:00
Michael Vines
fa4bab4608
start_local_server() now works with Banks > 0
2020-10-31 18:12:24 -07:00
Michael Vines
8acc47ee1b
MockInvokeContext::get_programs() implementation
2020-10-31 18:12:24 -07:00
Michael Vines
e872715fd6
Switch to dirs-next
2020-10-31 18:56:20 +00:00
Michael Vines
39120b3343
Ignore stdweb
2020-10-31 18:56:20 +00:00
Michael Vines
660214754e
cargo update -p futures-task
/ cargo update -p futures-util
2020-10-31 18:56:20 +00:00
Justin Starry
458e9a1533
Codify breaking change guidelines ( #13066 )
...
* Codify breaking change guidelines
* feedback
* Rename title and add expectations section
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update backwards-compatibility.md
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update docs/src/apps/backwards-compatibility.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Specify rust crates and add deprecation process
* Promise semver for software releases
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-31 09:45:18 +08:00
Michael Vines
4b65e32f22
Move Feature struct to solana-program
2020-10-30 17:57:51 -07:00
sakridge
8415c22b59
Reduce debug ( #13319 )
2020-10-30 16:18:44 -07:00
Josh
d2ee9db214
docs: add log messages to json-rpc docs ( #13317 )
2020-10-30 14:22:58 -07:00
Ryo Onodera
bc7133d752
Print the entry type as well when checking archive ( #13312 )
2020-10-31 01:36:12 +09:00
Ryo Onodera
1df15d85c3
Fix tower/blockstore unsync due to external causes ( #12671 )
...
* Fix tower/blockstore unsync due to external causes
* Add and clean up long comments
* Clean up test
* Comment about warped_slot_history
* Run test_future_tower with master-only/master-slave
* Update comments about false leader condition
2020-10-30 19:31:23 +09:00
Michael Vines
9263ae1c60
Simplify CPI interface into MessageProcessor
2020-10-30 09:20:09 +00:00
Michael Vines
da9548fd12
de-mut some InvokeContext methods
2020-10-30 09:20:09 +00:00
dependabot[bot]
8330123861
chore:(deps): bump @sentry/react from 5.26.0 to 5.27.2 in /explorer ( #13306 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.26.0 to 5.27.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.26.0...5.27.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:25:25 +00:00
Jack May
72d41e5801
Update AccountInfo comments ( #13302 )
2020-10-30 08:16:44 +00:00
dependabot[bot]
387d85c5b5
chore:(deps): bump @solana/web3.js from 0.86.1 to 0.86.2 in /explorer ( #13305 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.86.1 to 0.86.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.1...v0.86.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:14:29 +00:00
dependabot[bot]
1f36ac9656
chore:(deps): bump @types/classnames from 2.2.10 to 2.2.11 in /explorer ( #13304 )
...
Bumps [@types/classnames](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/classnames ) from 2.2.10 to 2.2.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/classnames )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 08:12:24 +00:00
Josh
7ddf10e602
explorer: add Wrapped FRONT to token registry ( #13299 )
2020-10-29 22:37:22 -07:00
Michael Vines
da361afbb9
Revert "Updates rbpf to v0.2.0, ( #12951 )"
...
This reverts commit 6606590b81
.
2020-10-29 21:45:24 -07:00
Michael Vines
7d686b72a0
Add Bank::set_bpf_compute_budget()
2020-10-29 21:45:24 -07:00
Michael Vines
66e51a7363
Add sol_log_compute_units syscall
2020-10-29 21:45:24 -07:00
Michael Vines
33884d847a
Remove programs clone()
2020-10-29 21:45:24 -07:00
Michael Vines
225bed11c7
Remove Entrypoint type
2020-10-29 21:45:24 -07:00
Michael Vines
2664a1f7ef
Remove MessageProcessor::loaders
2020-10-29 21:45:24 -07:00
Michael Vines
df8dab9d2b
Native/builtin programs now receive an InvokeContext
2020-10-29 21:45:24 -07:00
Greg Fitzgerald
ca00197009
Upgrade tarpc and tokio ( #13293 )
2020-10-29 19:21:18 -06:00
Jack May
b5c8b86e7c
clarify comment ( #13289 )
2020-10-29 21:16:01 +00:00
Josh
ecd74c3786
Explorer: correct system instruction names ( #13284 )
...
* fix system instruction names
2020-10-29 13:14:22 -07:00
Alexander Meißner
6606590b81
Updates rbpf to v0.2.0, ( #12951 )
...
which unifies the interfaces of the interpreter and the JIT.
However, the JIT is not enabled yet.
2020-10-29 11:34:52 -07:00
Justin Starry
7b3f96ab30
fix: fallback to connection commitment when confirming transactions ( #13285 )
...
* fix: fallback to connection commitment when confirming transactions
* chore: bump
* chore: fix tests
2020-10-29 17:22:53 +00:00
Justin Starry
636ae12621
Explorer: use explicit types for instruction info ( #13257 )
2020-10-29 23:46:36 +08:00
Josh
0d233370e8
Explorer: disable sentry error for cluster stats timeout ( #13283 )
2020-10-29 08:38:51 -07:00
behzad nouri
3738611f5c
adds more parallel processing to gossip packets handling ( #12988 )
2020-10-29 15:17:19 +00:00
Ryo Onodera
363c148dbe
Disable eager rent collection for less noise ( #13275 )
2020-10-29 14:16:38 +00:00
behzad nouri
be80f6d5c5
excludes origin from prune set ( #13204 )
...
On the receiving end, prune messages are ignored if the origin points to
the node itself:
https://github.com/solana-labs/solana/blob/631f029fe/core/src/crds_gossip_push.rs#L285-L295
So to avoid sending these over the wire, the requester can exclude
origin from the prune set.
2020-10-29 12:50:58 +00:00
Justin Starry
0f05e086fe
Explorer: fix slot links and block details page on devnet ( #13274 )
2020-10-29 20:34:05 +08:00
Justin Starry
c74c565d25
Explorer: Bump web3 to v0.86.1 ( #13273 )
2020-10-29 20:20:42 +08:00
Alexander Meißner
65ee3a6bdd
Refactors the common code of test and bench targets into the solana_runtime::bpf_test_utils module. ( #13203 )
2020-10-29 10:04:47 +01:00
dependabot[bot]
a9f339a3ed
chore:(deps): bump @types/react from 16.9.53 to 16.9.55 in /explorer ( #13271 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.53 to 16.9.55.
- [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>
2020-10-29 08:38:45 +00:00
dependabot[bot]
bacfb5103f
chore:(deps): bump @types/react-dom from 16.9.8 to 16.9.9 in /explorer ( #13228 )
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 16.9.8 to 16.9.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 08:26:35 +00:00
dependabot[bot]
ebcc8086f8
chore:(deps): bump @types/node from 14.14.5 to 14.14.6 in /explorer ( #13270 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.5 to 14.14.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 08:10:07 +00:00
Justin Starry
5fb8b84d84
Explorer: tweak cluster stats page ( #13267 )
2020-10-29 13:17:45 +08:00
Justin Starry
ffeadd4e29
Explorer: don't throw error for strange token instructions ( #13268 )
2020-10-29 13:17:35 +08:00
Jack May
c458d4b213
move Account to solana-sdk ( #13198 )
2020-10-28 22:01:07 -07:00
sakridge
d5e439037b
Make bad_bank_hash test faster ( #13206 )
2020-10-28 21:44:42 -07:00
Josh
032a7d36ff
explorer: wrap bytes on bpf-loader-2 write instruction ( #13253 )
2020-10-28 21:08:24 -07:00
Justin Starry
61c2970141
Explorer: remove wasm stake parsing ( #13266 )
2020-10-29 11:37:55 +08:00
Justin Starry
bc16b58d75
fix: fix TypeError when confirmed block is not found ( #13264 )
2020-10-29 11:23:07 +08:00
Justin Starry
781b92a8c0
Explorer: Linkify all displays of slot number ( #13262 )
2020-10-29 10:45:44 +08:00
Justin Starry
144bd36674
Explorer: fix confirmed block refetch ( #13261 )
2020-10-29 10:36:48 +08:00
Michael Vines
92d6521a7f
Add try_find_program_address()
2020-10-28 19:34:51 -07:00
Tyera Eulberg
c2dbf53d76
Update FeatureSet::active to include slot-activated ( #13256 )
...
* Update FeatureSet::active to include slot-activated
* Clippy suggestion
2020-10-29 02:34:19 +00:00
Justin Starry
a74f0f90e4
Explorer: Disable raw button for unknown instructions ( #13260 )
2020-10-29 10:27:37 +08:00
Justin Starry
2cf44a9e14
Explorer: Show empty state when block has no transactions ( #13259 )
2020-10-29 09:51:19 +08:00
Justin Starry
de71fb9bdd
Explorer: trim whitespace in search bar ( #13258 )
2020-10-29 09:44:27 +08:00
Justin Starry
e7b7c15198
feat: print program logs when transaction send fails ( #13213 )
2020-10-29 08:59:16 +08:00
Josh
413dfb01d5
explorer: Update instruction details cards to handle parsed instructions for system, stake, and bpf-loader ( #13247 )
...
* update instruction cards to support system, stake, and bpf-loader parsed instructions
2020-10-28 15:28:12 -07:00
Tyera Eulberg
db9ddc7e5b
Update links from sdk to program ( #13248 )
2020-10-28 15:16:58 -06:00
Tyera Eulberg
664b6125b6
Add doc page on sysvar accounts ( #13237 )
...
* Add doc page on sysvar accounts
* Update with suggestions
2020-10-28 14:54:36 -06:00
Trent Nelson
32c31f2689
CI: Don't remove user's config dir
2020-10-28 20:19:45 +00:00
Trent Nelson
eb597cd60f
docs: Reference metrics envvars for each cluster
2020-10-28 19:30:55 +00:00
Trent Nelson
4dc4fefee2
docs: Remove stale metrics steps
2020-10-28 19:30:55 +00:00
Ryo Onodera
4698ee5e4a
Improve final report of ledger-tool capitalization ( #13232 )
2020-10-28 17:10:09 +00:00
behzad nouri
ae91270961
implements ping-pong packets between nodes ( #12794 )
...
https://hackerone.com/reports/991106
> It’s possible to use UDP gossip protocol to amplify DDoS attacks. An attacker
> can spoof IP address in UDP packet when sending PullRequest to the node.
> There's no any validation if provided source IP address is not spoofed and
> the node can send much larger PullResponse to victim's IP. As I checked,
> PullRequest is about 290 bytes, while PullResponse is about 10 kB. It means
> that amplification is about 34x. This way an attacker can easily perform DDoS
> attack both on Solana node and third-party server.
>
> To prevent it, need for example to implement ping-pong mechanism similar as
> in Ethereum: Before accepting requests from remote client needs to validate
> his IP. Local node sends Ping packet to the remote node and it needs to reply
> with Pong packet that contains hash of matching Ping packet. Content of Ping
> packet is unpredictable. If hash from Pong packet matches, local node can
> remember IP where Ping packet was sent as correct and allow further
> communication.
>
> More info:
> https://github.com/ethereum/devp2p/blob/master/discv4.md#endpoint-proof
> https://github.com/ethereum/devp2p/blob/master/discv4.md#wire-protocol
The commit adds a PingCache, which maintains records of remote nodes
which have returned a valid response to a ping message, and on-the-fly
ping messages pending a pong response from the remote node.
When handling pull-requests, those from addresses which have not passed
the ping-pong check are filtered out, and additionally ping packets are
added for addresses which need to be (re)verified.
2020-10-28 17:03:02 +00:00
The Lone Rōnin
49e11e1f9c
Explorer Block Page ( #12854 )
...
* Solarweave Implementation
* Fixed formatting
* Revisions and QA
* Added block links to transaction page
* Create Blockpage
* QA and Revisions
* Finalized QA & Revisions
* QA & Revisions
2020-10-29 00:16:27 +08:00
Vyacheslav Tsurka
5919e67c2a
fix: broken inner instruction struct validator ( #13231 )
...
* add-inner-trx
* add compiled instructions
* remove type parsed inner instruction mistake
* add fix import & struct union for InnerInstruction
* import type connection
Co-authored-by: Viacheslav Tsurka <vt@parity.digital >
2020-10-28 22:38:39 +08:00
Vyacheslav Tsurka
fe8c5b0f0f
feat: add support for inner instructions metadata ( #13224 )
...
* add-inner-trx
* add compiled instructions
* remove type parsed inner instruction mistake
Co-authored-by: Viacheslav Tsurka <vt@parity.digital >
2020-10-28 17:13:51 +08:00
dependabot[bot]
fbc07bf327
chore: bump buffer from 5.6.1 to 5.7.0 in /web3.js ( #13229 )
...
Bumps [buffer](https://github.com/feross/buffer ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/feross/buffer/releases )
- [Commits](https://github.com/feross/buffer/compare/v5.6.1...v5.7.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-28 08:25:20 +00:00
dependabot[bot]
3d01433512
chore: bump eslint-config-prettier from 6.14.0 to 6.15.0 in /web3.js ( #13227 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v6.15.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-28 08:21:54 +00:00
dependabot[bot]
e39dd7e739
chore:(deps): bump @types/node from 14.14.3 to 14.14.5 in /explorer ( #13225 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.3 to 14.14.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-28 08:09:11 +00:00
Ryo Onodera
7d2962135d
Use pico inflation for ledger-tool capitalization --enable-inflation ( #13215 )
...
* Use pico inflation for ledger-tool capitalization --enable-inflation
* rust fmt
2020-10-28 15:30:39 +09:00
Jack May
4e0d1b1d4a
more portable install.sh ( #13114 )
2020-10-27 22:43:34 -07:00
Ryo Onodera
6d4c69b7c3
Use zstd for create-snapshot ( #13214 )
2020-10-28 05:30:25 +00:00
Justin Starry
6fa40f10d1
Explorer: Bump react-scripts and typescript to v4 ( #13216 )
2020-10-28 12:49:28 +08:00
carllin
f96ab5a818
Fix log ( #13207 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-27 18:56:57 -07:00
Tyera Eulberg
c4962af9eb
Parse vote instructions ( #13202 )
2020-10-27 17:53:17 -06:00
Justin Starry
631f029fe9
Account for forward delay in transaction simulation ( #13199 )
2020-10-27 17:25:08 +00:00
dependabot[bot]
e666272ab6
chore: bump eslint from 7.12.0 to 7.12.1 in /web3.js ( #13195 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.12.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.12.0...v7.12.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 08:25:29 +00:00
dependabot[bot]
cd4a300f0c
chore: bump typescript from 4.0.3 to 4.0.5 in /web3.js ( #13193 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 08:21:55 +00:00
dependabot[bot]
f11617c192
chore:(deps): bump @solana/web3.js from 0.83.0 to 0.84.1 in /explorer ( #13196 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.83.0 to 0.84.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.83.0...v0.84.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 08:18:36 +00:00
dependabot[bot]
f5f979ac30
chore:(deps): bump chart.js from 2.9.3 to 2.9.4 in /explorer ( #13194 )
...
Bumps [chart.js](https://github.com/chartjs/Chart.js ) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases )
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-27 08:13:06 +00:00
Jack May
bb6ab3a62d
ignore .so files ( #13188 )
2020-10-26 23:14:06 -07:00
Jack May
26eba5ac7d
Fix pr crossing for sysvar keyed-accounts ( #13189 )
2020-10-26 21:59:32 -07:00
Trent Nelson
c88ec9657b
Docs: Clarify where new buildkite agent SSH keys need added
2020-10-27 03:40:05 +00:00
Jack May
322c667655
check sysvar id for AccountInfo ( #13175 )
2020-10-26 20:38:45 -07:00
Trent Nelson
ff4b34202c
Add SSH key for buildkite-agent on achille
2020-10-27 01:57:25 +00:00
Michael Vines
1b343665a1
Move KeyedAccount out of solana-program. Native programs are not supported by solana-program
2020-10-26 18:54:54 -07:00
Trent Nelson
0475107654
fix: export message.from()
2020-10-26 18:59:26 -06:00
Jack May
e3c0cc980b
fix .gitignore ( #13177 )
2020-10-27 00:42:26 +00:00
Jack May
fc83a666fc
macos portable rust-bpf ( #13176 )
2020-10-27 00:11:33 +00:00
Greg Fitzgerald
f58bc8589d
Add Bank::get_signature_status_with_blockhash() ( #13167 )
...
Get the signature status in O(1) time, instead of O(n) where
n is the number of blockhashes in the StatusCache.
2020-10-26 23:52:57 +00:00
Michael Vines
c4fb77f057
Delete .lib.rs.swo
2020-10-26 16:01:25 -07:00
Trent Nelson
a82971879f
CLI: Surface deploy transaction errors
2020-10-26 21:16:22 +00:00
Trent Nelson
8b1638f026
Docs: Testnet has a faucet now
2020-10-26 20:13:46 +00:00
Jack May
35f77ccc73
update call depth docs ( #13155 )
2020-10-26 12:41:48 -07:00
Tyera Eulberg
39686ef098
Use bank timestamp to populate Blockstore::blocktime_cf when correction active ( #13158 )
2020-10-26 19:23:45 +00:00
behzad nouri
4bfda3e766
marks pull request creation time only once per peer ( #13113 )
...
mark_pull_request_creation time requires an exclusive lock on gossip:
https://github.com/solana-labs/solana/blob/16944e218/core/src/cluster_info.rs#L1547-L1548
Current code is redundantly marking each peer once for each request.
There are at most only 2 unique peers, whereas there are hundreds of
requests per each. So the lock is acquired hundreds of time longer than
necessary.
2020-10-26 17:11:31 +00:00
dependabot[bot]
439c06b460
chore: bump jest from 26.6.0 to 26.6.1 in /web3.js ( #13149 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.6.0 to 26.6.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.6.0...v26.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 08:37:42 +00:00
dependabot[bot]
542355129d
chore: bump buffer from 5.6.0 to 5.6.1 in /web3.js ( #13152 )
...
Bumps [buffer](https://github.com/feross/buffer ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/feross/buffer/releases )
- [Commits](https://github.com/feross/buffer/compare/v5.6.0...v5.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 08:27:18 +00:00
dependabot[bot]
9290a1ee95
chore: bump eslint from 7.11.0 to 7.12.0 in /web3.js ( #13151 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.11.0 to 7.12.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 08:24:18 +00:00
dependabot[bot]
8862105922
chore:(deps): bump @testing-library/jest-dom in /explorer ( #13150 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.11.4 to 5.11.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.4...v5.11.5 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 08:13:04 +00:00
dependabot[bot]
da508b0ff7
chore:(deps): bump @types/node from 14.14.2 to 14.14.3 in /explorer ( #13148 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.2 to 14.14.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 08:09:10 +00:00
Michael Vines
41a56e14fc
Don't reuse BPF target build artifacts
2020-10-26 00:10:50 -07:00
Michael Vines
0a89bb4d3c
Fix reward type encoding
2020-10-26 00:10:50 -07:00
Michael Vines
42a4dfab9a
Remove program feature from SPL builds
2020-10-25 21:07:58 -07:00
Ryo Onodera
5caf81dbf8
Hide noisy specialization warnings for frozen abi ( #13141 )
2020-10-26 04:02:58 +00:00
Ryo Onodera
66c7a98009
Allow existence of vote on root in saved tower ( #13135 )
2020-10-26 11:08:20 +09:00
dependabot[bot]
efe683b3be
chore: bump @babel/plugin-transform-runtime in /web3.js ( #12945 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-25 15:39:05 +08:00
Justin Starry
6e13dbe206
feat: allow setting explicit fee payer for transaction ( #13129 )
2020-10-25 09:59:38 +08:00
Michael Vines
0cc9c94c43
Rename "everything" feature to "full"
2020-10-24 17:26:11 +00:00
Michael Vines
a4956844bd
Update frozen_abi hashes
...
The movement of files in sdk/ caused ABI hashes to change
2020-10-24 08:37:55 -07:00
Michael Vines
dd711ab5fb
Rename solana-program-sdk to solana-program
2020-10-24 08:37:55 -07:00
Michael Vines
92ce381d60
Run serum-dex unit tests
2020-10-24 08:37:55 -07:00
Michael Vines
85c51f5787
Only activate legacy program feature for the solana-sdk crate
2020-10-24 08:37:55 -07:00
Michael Vines
fe68f7f786
Port programs to solana-program-sdk
2020-10-24 08:37:55 -07:00
Michael Vines
63db324204
Initial population of solana-program-sdk
2020-10-24 08:37:55 -07:00
Michael Vines
3718771ffb
Add solana-program-sdk boilerplate
2020-10-24 08:37:55 -07:00
Justin Starry
ccc5958847
chore: npm audit fix ( #13127 )
2020-10-24 12:34:43 +08:00
Josh
766406fd23
add precompile verification to simulate_transaction ( #13080 )
2020-10-23 20:47:51 -07:00
Ryo Onodera
0264147d42
Clean up opt conf verifier and vote state tracker ( #13081 )
...
* Clean up opt conf verifier and vote state tracker
* Update test to follow new message and some knob
* Rename
2020-10-24 10:19:12 +09:00
Michael Vines
b5170b993e
Shorten magic install URL
2020-10-23 22:24:06 +00:00
Michael Vines
c7f4f15e60
Add downstream project build testing
2020-10-23 14:14:51 -07:00
Michael Vines
c7c50bd32c
Use local cargo for CI
2020-10-23 14:14:51 -07:00
Michael Vines
965ea97b56
Move bpf sdk packaging from publish-tarball to cargo-install-all
2020-10-23 20:41:34 +00:00
Tyera Eulberg
16944e218f
Cli: deploy programs via TPU ( #13090 )
...
* Deploy: send write transactions to leader tpu
* Less apparent stalling during confirmation
* Add EpochInfo mock
* Only get cluster nodes once
* Send deploy writes to next leader
2020-10-23 10:03:29 -06:00
sakridge
7d2729f6bd
shrink debug ( #13089 )
2020-10-23 08:05:19 -07:00
Trent Nelson
ffb9a49769
fix: export stake authorize w/ seed methods
2020-10-23 08:53:58 -06:00
behzad nouri
37c8842bcb
scans crds table in parallel for finding old labels ( #13073 )
...
From runtime profiles, the majority time of ClusterInfo::handle_purge
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1605-L1626
is spent scanning crds table finding old labels:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/crds.rs#L175-L197
This can be done in parallel given that gossip thread-pool:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1637-L1641
is idle when handle_purge is invoked:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1681
2020-10-23 14:17:37 +00:00
dependabot[bot]
1838e323df
chore: bump eslint-config-prettier from 6.13.0 to 6.14.0 in /web3.js ( #13106 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.13.0...v6.14.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 08:21:37 +00:00
dependabot[bot]
87133cdc0a
chore: bump rollup from 2.32.0 to 2.32.1 in /web3.js ( #13104 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.32.0 to 2.32.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.32.0...v2.32.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 08:19:21 +00:00
dependabot[bot]
0f239a6f32
chore:(deps): bump @types/chart.js from 2.9.26 to 2.9.27 in /explorer ( #13105 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.26 to 2.9.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 08:10:56 +00:00
dependabot[bot]
13bb34a28d
chore:(deps): bump @solana/web3.js from 0.81.0 to 0.83.0 in /explorer ( #13103 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.81.0 to 0.83.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.81.0...v0.83.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 08:09:23 +00:00
Justin Starry
c95f6c4b83
Remove spammy invalid rpc log ( #13100 )
2020-10-23 07:05:29 +00:00
Michael Vines
b169d9cfbe
Add --bpf-out-dir argument to control where the final build products land
2020-10-23 04:57:03 +00:00
Tyera Eulberg
4669fa0f98
Add deploy err if program-account balance is too high ( #13091 )
...
* Add deploy err if program-account balance is too high
* Review comments
* Add system-program check
* Rename and unhide flag
2020-10-22 22:42:35 -06:00
Josh
368aeb2cee
feat: add Secp256k1 support to solana-web3.js ( #12958 )
...
* feat: add secp256k1 instruction
* feat: use buffer-layout for encoding as well
* style: use consistent naming for types
* style: update typings and make program functions static
* fix: attempt to resolve rollup issue
* fix: expose sysvar in typings
* fix: remove decode instruction functionality (for now)
2020-10-22 13:15:24 -07:00
dependabot[bot]
84d56c62ce
chore: bump marked from 1.2.0 to 1.2.2 in /web3.js ( #13085 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js )
- [Commits](https://github.com/markedjs/marked/compare/v1.2.0...v1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 08:22:06 +00:00
dependabot[bot]
8badd05004
chore: bump @babel/preset-flow from 7.10.4 to 7.12.1 in /web3.js ( #13082 )
...
Bumps [@babel/preset-flow](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-flow ) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-flow )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 08:17:51 +00:00
dependabot[bot]
56efec3c17
chore:(deps): bump @testing-library/user-event in /explorer ( #13084 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.8 to 12.1.10.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.8...v12.1.10 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 08:11:22 +00:00
dependabot[bot]
9a26a70fdc
chore:(deps): bump @types/node from 14.14.0 to 14.14.2 in /explorer ( #13083 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.0 to 14.14.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 08:10:00 +00:00
Justin Starry
8b0242a5d8
Allow nodes to advertise a different rpc address over gossip ( #13053 )
...
* Allow nodes to advertise a different rpc address over gossip
* Feedback
2020-10-22 03:31:48 +00:00
Michael Vines
959880db60
Remove unused pubkey::Pubkey imports
2020-10-21 19:08:13 -07:00
Michael Vines
17c391121a
Run codemod --extensions rs Hash::new_rand solana_sdk:
#️⃣ :new_rand
2020-10-21 19:08:13 -07:00
Michael Vines
7bc073defe
Run codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand
2020-10-21 19:08:13 -07:00
Michael Vines
76f11c7dae
Add hash_new_rand(), mark Hash::new_rand() as deprecated
2020-10-21 19:08:13 -07:00
Michael Vines
0e68ed6a8d
Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
2020-10-21 19:08:13 -07:00
Michael Vines
61be155413
Remove do.sh
2020-10-21 18:56:40 -07:00
Michael Vines
07a853d6cc
Add cargo-build-bpf
2020-10-21 18:56:40 -07:00
carllin
e6b821c392
Finer grained AccountsIndex locking ( #12787 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-21 17:05:27 -07:00
carllin
dd6cccaf7e
Fix test_optimistic_confirmation_violation_without_tower() ( #13043 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-21 15:56:50 -07:00
carllin
c8fc0a6ba1
Don't hold dashmap write lock in store create ( #13007 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-21 12:54:09 -07:00
Ryo Onodera
0776fa05c7
Add ledger-tool dead-slots and improve purge a lot ( #13065 )
...
* Add ledger-tool dead-slots and improve purge a lot
* Reduce batch size...
* Add --dead-slots-only and fixed purge ordering
2020-10-21 17:45:21 +00:00
Jack May
e10de86440
update program address docs ( #13069 )
2020-10-21 10:09:12 -07:00
Ryo Onodera
608b81b412
Port various rent fixes to runtime feature ( #12842 )
...
* Port various rent fixes to runtime feature
* Fix CI
* Use more consistent naming...
2020-10-21 22:19:25 +09:00
Justin Starry
02bf9ca834
Refresh mint distribution when account info refreshes ( #13064 )
2020-10-21 18:47:02 +08:00
Trent Nelson
86a982150c
RPC: Don't send base64 TXs to old clusters
2020-10-21 08:33:28 +00:00
dependabot[bot]
7a5934082f
chore: bump jest from 26.5.3 to 26.6.0 in /web3.js ( #13060 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.5.3 to 26.6.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.5.3...v26.6.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 08:31:02 +00:00
dependabot[bot]
42bfe9e5ea
chore: bump eslint-config-prettier from 6.12.0 to 6.13.0 in /web3.js ( #13058 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.12.0...v6.13.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 08:20:26 +00:00
Justin Starry
8863b773c1
feat: disable loader rate limiter for non solana endpoints ( #13018 )
2020-10-21 16:19:51 +08:00
dependabot[bot]
e4231d1028
chore:(deps): bump @types/chai from 4.2.13 to 4.2.14 in /explorer ( #13059 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.13 to 4.2.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 08:13:24 +00:00
dependabot[bot]
62fdd7ba07
chore:(deps): bump @types/node from 14.11.11 to 14.14.0 in /explorer ( #13057 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.11 to 14.14.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 08:09:54 +00:00
Trent Nelson
2905ccc7ec
CLI: Print address ephemeral keypair seed phrase to stderr on deploy failure
2020-10-21 01:09:37 -06:00
Michael Vines
ad65d4785e
Skip 'Stake by Feature Set' output when showing status of a single feature
2020-10-21 05:52:32 +00:00
Justin Starry
d63cf1e30a
Update explorer token registry ( #13048 )
2020-10-21 13:49:43 +08:00
Michael Vines
a88223eca6
Avoid panic when --bootstrap-validator-stake-lamports is set to a value larger than 500m SOL
2020-10-20 20:53:52 -07:00
Tyera Eulberg
46d0019955
Parse stake and system instructions ( #13035 )
...
* Fix token account check
* Add helper to check num accounts
* Add parse_stake
* Add parse_system
* Fix AuthorizeNonce docs
* Remove jsonParsed unstable markers
* Clippy
2020-10-20 21:02:17 -06:00
Justin Starry
f11c86b2c5
Explorer: speed up cluster stat loading ( #13016 )
2020-10-21 10:32:08 +08:00
Ryo Onodera
efdb560e97
Various clean-ups before assert adjustment ( #13006 )
...
* Various clean-ups before assert adjustment
* oops
2020-10-21 10:26:20 +09:00
Ryo Onodera
2bb27cdb25
fix broken ci ( #13039 )
2020-10-21 09:14:33 +09:00
Michael Vines
6f930351d2
Add --eval flag to solana-install info
2020-10-20 23:37:39 +00:00
Michael Vines
f71677164f
Include sdk/bpf in the main release tarball
2020-10-20 16:13:36 -07:00
Michael Vines
6858950f76
Remove frozen ABI modules from solana-sdk
2020-10-20 16:11:30 -07:00
Jon Cinque
81d0c8ae7f
Force unset CARGO to use correct version of cargo ( #13027 )
2020-10-20 14:50:34 -07:00
sakridge
83c53ae4b5
Fix secp256k1 instruction indexing and add tests ( #13026 )
2020-10-20 14:13:24 -07:00
Michael Vines
62f20bc170
Remove unsupported metrics tarball from release artifacts
2020-10-20 13:10:33 -07:00
Jon Cinque
a18add6eed
Include count in doc for example grind command ( #12979 )
2020-10-20 20:46:48 +02:00
dependabot[bot]
301f3096a0
chore: bump thiserror from 1.0.20 to 1.0.21
...
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 >
2020-10-20 11:19:10 -07:00
Michael Vines
de04a208c7
Add more info for --limit-ledger-size
2020-10-20 17:34:11 +00:00
Ryo Onodera
c0675968b1
Support Debug Bank ( #13017 )
2020-10-21 01:05:45 +09:00
Tyera Eulberg
6c55aaf4c7
_
2020-10-20 09:00:41 -06:00
Tyera Eulberg
6dc5be17b2
Remove errant print
2020-10-20 08:56:36 -06:00
dependabot[bot]
50a9731257
chore:(deps): bump @types/node from 14.11.8 to 14.11.11 in /explorer ( #13012 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.8 to 14.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 08:50:39 +00:00
dependabot[bot]
d732edb446
chore:(deps): bump @types/react from 16.9.52 to 16.9.53 in /explorer ( #13013 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.52 to 16.9.53.
- [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>
2020-10-20 08:33:50 +00:00
dependabot[bot]
a4e8606be9
chore: bump @babel/runtime from 7.12.0 to 7.12.1 in /web3.js ( #13011 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.12.0 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 08:29:42 +00:00
dependabot[bot]
1ecb2f5c5c
chore: bump rollup from 2.30.0 to 2.32.0 in /web3.js ( #13009 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.30.0 to 2.32.0.
- [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.30.0...v2.32.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 08:22:19 +00:00
dependabot[bot]
400b6c56b2
chore:(deps): bump @types/jest from 26.0.14 to 26.0.15 in /explorer ( #13010 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.14 to 26.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 08:13:23 +00:00
Tyera Eulberg
942e4273ba
Parse bpf loader instructions ( #12998 )
...
* Add parsing for BpfLoader2 instructions
* Skip info if null
* Return account address in info map
2020-10-19 23:13:02 -06:00
Josh
c7c6c28455
Remove Solanabeach dependency from Explorer ( #12463 )
...
* remove solana beach socket dependency
* remove socket.io dependency
* timeout / retry button for cluster stats
* update web3 version, add EpochInfo typing, handle no samples case
* derive max TPS from final downsampled arrays
* change block time to slot time
2020-10-19 20:11:48 -07:00
Trent Nelson
3b3f7341fa
validator: Activate RPC before halting on slot
2020-10-20 02:09:07 +00:00
Michael Vines
c5e16383b0
Add everything feature
2020-10-19 17:21:52 -07:00
Trent Nelson
c1c69ecc34
Ignore more paths in increment-cargo-version.sh
2020-10-19 23:00:54 +00:00
Michael Vines
6d5889bdb5
Remove program_stubs!()
2020-10-19 21:00:17 +00:00
Michael Vines
9c53e1dfb2
Add SyscallStubs to enable syscall interception when building programs for non-BPF
2020-10-19 21:00:17 +00:00
behzad nouri
75d62ca095
improves threads' utilization in processing gossip packets ( #12962 )
...
ClusterInfo::process_packets handles incoming packets in a thread_pool:
https://github.com/solana-labs/solana/blob/87311cce7/core/src/cluster_info.rs#L2118-L2134
However, profiling runtime shows that threads are not well utilized and
a lot of the processing is done sequentially.
This commit redistributes the work done in parallel. Testing on a gce
cluster shows 20%+ improvement in processing gossip packets with much
smaller variations.
2020-10-19 19:03:38 +00:00
Tyera Eulberg
cca318f805
Revert "CLI: Put deploy
ephemeral keypair behind a flag" ( #12983 )
...
This reverts commit 5a5b7f39c1
.
2020-10-19 12:44:32 -06:00
sakridge
456eae6ccb
Calculate accounts hash async in accounts background service ( #12852 )
2020-10-19 09:48:29 -07:00
Alexander Meißner
d5163c5786
Adds public key for alexander@solana.com ( #12980 )
2020-10-20 01:11:02 +09:00
dependabot[bot]
81bd9afd80
chore:(deps): bump @types/chart.js from 2.9.25 to 2.9.26 in /explorer ( #12974 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.25 to 2.9.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 08:26:49 +00:00
dependabot[bot]
5a9f2a4c64
chore: bump @babel/plugin-proposal-class-properties in /web3.js ( #12977 )
...
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties ) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-proposal-class-properties )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 08:25:08 +00:00
dependabot[bot]
cc685a4b44
chore: bump @babel/core from 7.12.0 to 7.12.3 in /web3.js ( #12975 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.0 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 08:19:53 +00:00
dependabot[bot]
16950122f2
chore:(deps): bump @solana/web3.js from 0.80.2 to 0.81.0 in /explorer ( #12976 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.80.2 to 0.81.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.80.2...v0.81.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 08:11:35 +00:00
Ryo Onodera
54517ea454
Follow up to persistent tower with tests and API cleaning ( #12350 )
...
* Follow up to persistent tower
* Ignore for now...
* Hard-code validator identities for easy reasoning
* Add a test for opt. conf violation without tower
* Fix compile with rust < 1.47
* Remove unused method
* More move of assert tweak to the asser pr
* Add comments
* Clean up
* Clean the test addressing various review comments
* Clean up a bit
2020-10-19 16:37:03 +09:00
Michael Vines
2cc3d7511a
Improve vote-account "Recent Timestamp" output
2020-10-19 06:20:40 +00:00
Michael Vines
6123d71489
Minor doc typo
2020-10-19 03:09:09 +00:00
Ryo Onodera
87311cce7f
Mention monitoring and updating for exchanges ( #12953 )
...
* Mention monitoring and updating for exchanges
* Fix link syntax...
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* More review comments and word-wrapping
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-17 15:35:29 +09:00
guanqun
4451042c76
keygen: add more mnemonic language support ( #12944 )
2020-10-17 10:51:53 +08:00
carllin
8aecea6d05
Transaction Inclusion Proposal ( #12936 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-16 18:57:12 -07:00
Tyera Eulberg
b6bfed64cb
Check payer balance for program account rent as needed ( #12952 )
2020-10-16 18:03:50 +00:00
Justin Starry
71264bef67
feat: use base64 encoding when sending and simulating transactions ( #12950 )
2020-10-16 23:54:30 +08:00
dependabot[bot]
28a72220f6
chore: bump @babel/plugin-proposal-function-bind in /web3.js ( #12949 )
...
Bumps [@babel/plugin-proposal-function-bind](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-function-bind ) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-proposal-function-bind )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 08:31:29 +00:00
dependabot[bot]
e524bb7825
chore: bump @babel/preset-env from 7.12.0 to 7.12.1 in /web3.js ( #12947 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.12.0 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 08:23:17 +00:00
dependabot[bot]
97f214b209
chore:(deps): bump react-dom from 16.13.1 to 16.14.0 in /explorer ( #12948 )
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 08:13:55 +00:00
dependabot[bot]
809e0ea80a
chore:(deps): bump @testing-library/user-event in /explorer ( #12946 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.7 to 12.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v12.1.7...v12.1.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 08:09:32 +00:00
Ryo Onodera
fd8ec27fe8
Another some tower logging improvements ( #12940 )
2020-10-16 14:44:07 +09:00
Trent Nelson
5a5b7f39c1
CLI: Put deploy
ephemeral keypair behind a flag
2020-10-16 05:00:53 +00:00
Tyera Eulberg
359707c85e
Convert Blockstore Rewards cf to protobuf ( #12860 )
...
* Add Blockstore protobuf cf type
* Add Rewards message to proto and make generated pub
* Convert Rewards cf to ProtobufColumn
* Add bench
* Adjust tags
* Move solana proto definitions and conversion methods to new crate
2020-10-15 18:04:10 -06:00
Jack May
b510474dcb
Report compute budget usage ( #12931 )
2020-10-15 15:55:37 -07:00
behzad nouri
48283161c3
passes through feature-set to gossip requests handling ( #12878 )
...
* passes through feature-set to down to gossip requests handling
* takes the feature-set from root_bank instead of working_bank
2020-10-15 20:54:21 +00:00
Tyera Eulberg
42943ab86d
Update get-block method in get_confirmed_transaction ( #12923 )
...
* Update get-block method in get_confirmed_transaction
* Remove superfluous into()
2020-10-15 13:56:32 -06:00
sakridge
4f6ebbdbe0
Add timings for store accounts ( #12882 )
2020-10-15 12:14:39 -07:00
Trent Nelson
99aecdaf65
Support arbitrary toolchains with cargo wrapper script
2020-10-15 18:55:50 +00:00
Tyera Eulberg
d008dfb7ad
Bump spl-memo and spl-token versions ( #12917 )
2020-10-15 18:23:41 +00:00
Trent Nelson
cc0781e0ac
Docs: Clarify validator disk requirements
2020-10-15 17:38:40 +00:00
Michael Vines
3073dc9801
Drop 'Pubkey' in 'solana validators' header
2020-10-15 17:31:22 +00:00
Trent Nelson
bb2f0df9e1
Release: Use pinned cargo version to install spl-token-cli
2020-10-15 16:59:59 +00:00
Jack May
3f9e6a600b
program log pubkey as base58 ( #12901 )
2020-10-15 09:11:54 -07:00
Michael Vines
b1b2c6ee7b
Restore getVoteAccounts documentation
2020-10-15 08:33:30 -07:00
Lu Guanqun
cc9b52cf72
trivial typo fix
2020-10-15 08:27:39 -07:00
behzad nouri
05cf15a382
implements DataBudget using atomics ( #12856 )
2020-10-15 11:33:58 +00:00
Ryo Onodera
a44e4d386f
Better tower logs for SwitchForkDecision and etc ( #12875 )
...
* Better tower logs for SwitchForkDecision and etc
* nits
* Update comment
2020-10-15 18:30:33 +09:00
Michael Vines
eec3d25ab9
Surface 'Program account allocation failed' error details
2020-10-15 09:17:48 +00:00
dependabot[bot]
dd752fcc5e
chore: bump @babel/runtime from 7.11.2 to 7.12.0 in /web3.js ( #12894 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.11.2 to 7.12.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.0/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-15 08:58:07 +00:00
dependabot[bot]
a216d0a86c
chore: bump @babel/preset-env from 7.11.5 to 7.12.0 in /web3.js ( #12898 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.11.5 to 7.12.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.0/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-15 08:36:51 +00:00
dependabot[bot]
9ea51ad2cc
chore: bump @babel/core from 7.11.6 to 7.12.0 in /web3.js ( #12897 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.6 to 7.12.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.0/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-15 08:30:56 +00:00
dependabot[bot]
f47deafe3e
chore:(deps): bump @testing-library/react in /explorer ( #12896 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 11.0.4 to 11.1.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.0.4...v11.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-15 08:17:12 +00:00
dependabot[bot]
1c7ae3aad0
chore:(deps): bump react from 16.13.1 to 16.14.0 in /explorer ( #12895 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-15 08:11:45 +00:00
Michael Vines
f0d0bdc572
Rework curl examples to be more readable
2020-10-15 08:04:05 +00:00
R. M. Shea
9e7fad1fd2
Change developer CTA ( #12857 )
...
* change `index.js`
2020-10-14 19:30:20 -06:00
R. M. Shea
d0b97c7941
Add disclaimer ( #12881 )
2020-10-14 19:30:06 -06:00
Jack May
969f7b015b
Respect RefCell when calling invoke ( #12858 )
...
* Respect RefCell when calling invoke
* nudge
2020-10-15 01:06:41 +00:00
Trent Nelson
f70762913c
Release: Include SPL Token in release tarballs
2020-10-15 00:35:45 +00:00
Trent Nelson
f9e0ea112d
CI: Warn when setting up a buildkite agent with no SSH authorized_keys
2020-10-14 17:07:20 -06:00
Trent Nelson
c26512255d
RPC: Add metrics for TX encoding
2020-10-14 12:24:11 -06:00
Michael Vines
4b04ed86b6
Don't report RewardType::Fee when none was awarded
2020-10-14 09:06:20 -07:00
dependabot[bot]
d6ed5d220a
chore: bump rollup from 2.29.0 to 2.30.0 in /web3.js ( #12873 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.29.0 to 2.30.0.
- [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.29.0...v2.30.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 08:21:40 +00:00
dependabot[bot]
7b9871522e
chore:(deps): bump @solana/web3.js from 0.80.1 to 0.80.2 in /explorer ( #12874 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.80.1 to 0.80.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.80.1...v0.80.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 08:12:09 +00:00
dependabot[bot]
ce0edaf6a2
chore:(deps): bump bootstrap from 4.5.2 to 4.5.3 in /explorer ( #12872 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 08:07:43 +00:00
Jack May
d4e953277e
Expose program error constants ( #12861 )
2020-10-14 00:38:08 -07:00
Michael Vines
e84a91d417
fix: createProgramAddress now throws on an invalid seed length
2020-10-13 19:01:34 -07:00
carllin
f8d338c9cb
Switch accounts storage lock to DashMap ( #12126 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-13 18:29:50 -07:00
sakridge
1f1eb9f26e
Add separate push queue to reduce push lock contention ( #12713 )
2020-10-13 18:10:25 -07:00
kemargrant
b8f03c9b0f
Update programming-faq.md ( #12864 )
...
Fix typo
2020-10-13 18:49:28 -06:00
Tyera Eulberg
67ed44c007
Add log_messages to proto file ( #12859 )
2020-10-14 00:11:52 +00:00
sakridge
e4f45bfd3b
Bpf speed debug and tuner program ( #12845 )
2020-10-13 12:16:27 -07:00
Jack May
56211378d3
terminology update, nonce to bump seed ( #12840 )
2020-10-13 10:11:08 -07:00
Michael Vines
14d793b22c
Cleanly handle RPC servers that don't have --enable-rpc-transaction-history enabled
2020-10-13 10:05:44 -07:00
Michael Vines
247228ee61
Implementation-defined RPC server errors are now accessible to client/ users
2020-10-13 10:05:44 -07:00
Ryo Onodera
7de7efe96c
Add nop feature set for upcoming ported rent fixes ( #12841 )
2020-10-13 16:34:49 +00:00
dependabot[bot]
f5ed017d69
chore: bump semantic-release from 17.2.0 to 17.2.1 in /web3.js ( #12838 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.2.0 to 17.2.1.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.0...v17.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 08:19:31 +00:00
dependabot[bot]
0472eaff98
chore:(deps): bump @types/react from 16.9.51 to 16.9.52 in /explorer ( #12839 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.51 to 16.9.52.
- [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>
2020-10-13 08:09:51 +00:00
dependabot[bot]
b09acebc6a
chore:(deps): bump @sentry/react from 5.25.0 to 5.26.0 in /explorer ( #12837 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.25.0 to 5.26.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.25.0...5.26.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 08:07:02 +00:00
Michael Vines
e9dbbdeb81
Add transaction log messages to |solana confirm -v| output
2020-10-13 05:47:57 +00:00
Michael Vines
3aff8f69af
Bump solana/web3.js to 0.80.1
2020-10-12 22:25:44 -07:00
Michael Vines
beaa7ff556
fix: permit getConfirmedTransaction log messages field to be null
2020-10-12 21:42:51 -07:00
Michael Vines
d83027c0cd
Update docs/src/running-validator/vote-accounts.md
...
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-13 04:17:52 +00:00
Michael Vines
253114ca20
Add docs on vote account key rotation
2020-10-13 04:17:52 +00:00
Michael Vines
649fe6d3b6
get_vote_accounts: access HashMap directly instead of turning it into an iterator
2020-10-13 04:12:10 +00:00
Trent Nelson
c38021502e
CI: Fix crate publication
2020-10-12 22:19:24 +00:00
Michael Vines
65213a1782
Use latest stable channel release if there's no beta release
2020-10-12 21:57:38 +00:00
Jack May
c24da1ee16
fix native_loader behavior for invalid accounts ( #12814 )
2020-10-12 13:40:04 -07:00
Trent Nelson
efbe37ba20
RpcClient: Encode TXs as base64 by default
2020-10-12 20:36:36 +00:00
Eric Williams
1ab36203de
Retry inflation parameter update along with documentation updates ( #12778 )
...
* update initial inflation parameter
* update economics section of docs
2020-10-12 13:10:57 -07:00
Ryo Onodera
2f5bb7e507
Move no-0-rent rent dist. behavior under feature ( #12804 )
2020-10-12 08:47:52 +00:00
dependabot[bot]
80f9df169b
chore: bump jest from 26.5.0 to 26.5.3 in /web3.js ( #12809 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.5.0 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v26.5.0...v26.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 08:45:35 +00:00
dependabot[bot]
447b3c9413
chore: bump eslint from 7.10.0 to 7.11.0 in /web3.js ( #12808 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 08:24:53 +00:00
dependabot[bot]
2e58d1d1dd
chore: bump semantic-release from 17.1.2 to 17.2.0 in /web3.js ( #12807 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.1.2 to 17.2.0.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.1.2...v17.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 08:23:20 +00:00
dependabot[bot]
9c64b2f4ab
chore:(deps): bump @types/node from 14.11.5 to 14.11.8 in /explorer ( #12806 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.5 to 14.11.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 08:22:00 +00:00
dependabot[bot]
d86c4ef0ef
chore:(deps): bump @solana/web3.js from 0.79.0 to 0.80.0 in /explorer ( #12805 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.79.0 to 0.80.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.79.0...v0.80.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 08:07:31 +00:00
Michael Vines
b3c2752bb0
simulate_transaction_with_config() now passes full config to server
2020-10-11 21:45:00 -07:00
Alexandre Esteves
6bbf6a79b7
Check ELF file for errors before deploy ( #12741 )
...
* Check ELF file for errors before deploy
* Update cli/src/cli.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
* Fix formatting
* Bump solana_rbpf
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-11 21:19:47 -07:00
Michael Vines
859eb606da
Cargo.lock
2020-10-11 18:51:09 +00:00
Michael Vines
2301dcf973
Rework cargo audit ignores
2020-10-11 18:51:09 +00:00
Michael Vines
d3b0f87a49
Switch to tempfile
2020-10-11 18:51:09 +00:00
Michael Vines
8a119c1483
Bump reqwest/rayon to get past cargo audit
2020-10-11 18:51:09 +00:00
Michael Vines
1fc7c1ecee
Don't bother paying 0 rent
2020-10-10 17:02:26 +00:00
Michael Vines
1859fbeb30
Update gossip entrypoints
2020-10-10 08:39:13 -07:00
Josh
86ca85d72b
explorer: Add support for all parsed accounts ( #11842 )
...
* introduce vote and nonce validators
* introduce config, nonce, sysvar, vote validators / types
* change ConfigProgram to ConfigProgramData
* introduce vote account section and nonce account section, clean up superstructs
* nonce section
* round out vote account and nonce account
* refactor account components, add votes tab
* update program data name to program
* introduce slot hashes, stake history
* introduce blockhashes card and config account
* run fix format
* remove comment
* introduce config section and typings
* refactor tabs if blocks
* change superstructs to pick in some cases
* remove account owners, rename vote history, some nit fixes
* general cleanup and improvements
* add recency column
* add balance row to parsed accounts
* union account types under sysvar and config for improved typing. modify row headers for consistency.
* remove random spaces
* use proper type checking and clean up a cast
2020-10-10 01:03:45 -07:00
Justin Starry
f1bbe1cd84
feat: publish more docker ports in localnet script ( #12788 )
2020-10-10 14:21:47 +08:00
Josh
9478063b3d
Explorer: introduce program logs section on transaction details page ( #12625 )
...
* introduce program logs section on transaction details page
* update web3.js version
2020-10-09 23:14:00 -07:00
Michael Vines
1b16790325
fix: surface full block rewards type
2020-10-09 21:54:13 -07:00
Michael Vines
c5c8da1ac0
Expose all rewards (fees, rent, voting and staking) in RPC getConfirmedBlock and the cli
2020-10-09 21:54:13 -07:00
Michael Vines
403790760c
Default to 50% rent burn
2020-10-09 21:52:31 -07:00
Tyera Eulberg
5800217998
Fix typo ( #12780 )
2020-10-10 00:35:52 +00:00
Jack May
9ac8db3533
document program address collisions ( #12774 )
2020-10-09 23:19:41 +00:00
Tyera Eulberg
b028c47d2b
Correct Bank timestamp drift every slot ( #12737 )
...
* Move timestamp helper to sdk
* Add Bank method for getting timestamp estimate
* Return sysvar info from Bank::clock
* Add feature-gated timestamp correction
* Rename unix_timestamp method to be more descriptive
* Review comments
* Add timestamp metric
2020-10-09 21:53:41 +00:00
Trent Nelson
ed95071c27
Add convenience script for working in stability branches ( #12765 )
...
* Add convenience script for working in stability branches
* Update scripts/curgo.sh
Co-authored-by: Michael Vines <mvines@gmail.com >
* re{locate,name} to /cargo
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 14:57:27 -06:00
Jack May
c3907be623
Add adjustable stack size and call depth ( #12728 )
2020-10-09 13:07:09 -07:00
carllin
16d45b8480
Fix zero-lamport accounts preventing slot cleanup ( #12606 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-09 12:40:08 -07:00
Ryo Onodera
1f4bcf70b0
Fix various ledger-tool error due to no builtins ( #12759 )
...
* Fix various ledger-tool error due to no builtins
* Add missing file...
2020-10-09 12:19:36 -06:00
Jack May
2cd7cd3149
Bump max invoke depth to 4 ( #12742 )
2020-10-09 10:33:12 -07:00
Michael Vines
3fedcdc6bc
Advise setting --wal-recovery-mode
, and using --private-rpc
for mainnet-beta
2020-10-09 15:41:19 +00:00
dependabot[bot]
d6f1befee6
chore: bump @solana/spl-token from 0.0.10 to 0.0.11 in /web3.js ( #12757 )
...
Bumps [@solana/spl-token](https://github.com/solana-labs/solana-program-library ) from 0.0.10 to 0.0.11.
- [Release notes](https://github.com/solana-labs/solana-program-library/releases )
- [Commits](https://github.com/solana-labs/solana-program-library/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 08:22:09 +00:00
dependabot[bot]
5394ca580f
chore:(deps): bump @types/react-select in /explorer ( #12756 )
...
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select ) from 3.0.21 to 3.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 08:09:36 +00:00
dependabot[bot]
8ec1a66f8a
chore:(deps): bump @solana/web3.js from 0.78.3 to 0.79.0 in /explorer ( #12755 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.3 to 0.79.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.3...v0.79.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-09 08:07:03 +00:00
carllin
c879e7c1ad
Fix fee mismatch on snapshot deserialize ( #12697 )
...
Co-authored-by: Carl Lin <carl@solana.com >
2020-10-08 23:44:41 -07:00
Ryo Onodera
81489ccb76
Only fetch snapshot if it's newer than local ( #12663 )
...
* Only fetch snapshot if it's newer than local
* Prefer as_ref over clone
* More nits
* Don't wait forwever for newer snapshot
2020-10-09 15:05:41 +09:00
Michael Vines
c8807d227a
Add inflation_kill_switch feature
2020-10-08 21:31:31 -07:00
Josh
e0eb374d9c
feat: introduce getRecentPerformanceSamples rpc ( #12442 )
...
* feat: introduce getRecentPerformanceSamples rpc
* test: indroduce tests and clean up style
* test: skip live tests
* feat: run tests live
2020-10-08 20:26:58 -07:00
Justin Starry
6972e63f51
fix: return correct number of signatures needed to load programs ( #12729 )
2020-10-09 08:58:03 +08:00
Dan Albert
2c5f83c264
Add new internal accounts ( #12740 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
2020-10-09 00:48:32 +00:00
Michael Vines
3a04026599
Minor variable name cleanup
2020-10-08 17:44:19 -07:00
Josh
8f5431551e
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) ( #12678 )
...
* introduce store program logs in blockstore / bigtable
* fix test, transaction logs created for successful transactions
* fix test for legacy bincode implementation around log_messages
* only api nodes should record logs
* truncate transaction logs to 100KB
* refactor log truncate for improved coverage
2020-10-08 12:06:15 -07:00
Dan Albert
9629baa0c7
Update validator_list.rs
2020-10-08 10:56:50 -06:00
dependabot[bot]
aea979c32e
chore:(deps): bump @solana/web3.js from 0.78.2 to 0.78.3 in /explorer ( #12727 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.78.2 to 0.78.3.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.78.2...v0.78.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 08:20:10 +00:00
dependabot[bot]
8be20efc39
chore: bump rollup from 2.28.2 to 2.29.0 in /web3.js ( #12725 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.28.2 to 2.29.0.
- [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.28.2...v2.29.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 08:18:40 +00:00
dependabot[bot]
6f288436b6
chore:(deps): bump @sentry/react from 5.24.2 to 5.25.0 in /explorer ( #12726 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.24.2 to 5.25.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.24.2...5.25.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 08:09:46 +00:00
Michael Vines
11df2e2236
Bump version to v1.5.0
2020-10-08 04:51:36 +00:00
Michael Vines
dadc84fa8c
Revert "Restore --expected-shred-version argument for mainnet-beta"
...
This reverts commit 9410eab2af
.
2020-10-08 04:46:04 +00:00
Trent Nelson
f1a2ad1b7d
remote-wallet: Append wallet "name" to entries in selector UI
2020-10-07 22:07:46 -06:00
Trent Nelson
8e3353d9ef
remote-wallet: Select hardware wallets based on host device path
2020-10-07 22:07:46 -06:00