Commit Graph

12303 Commits

Author SHA1 Message Date
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