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