1e46a5b147
Fix typo ( #12780 ) ( #12784 )
...
(cherry picked from commit 5800217998
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 02:09:09 +00:00
567a1cb944
Correct Bank timestamp drift every slot ( #12737 ) ( #12777 )
...
* 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
(cherry picked from commit b028c47d2b
)
# Conflicts:
# runtime/src/feature_set.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-10 00:42:44 +00:00
2996cebfaa
Add convenience script for working in stability branches ( #12765 ) ( #12773 )
...
* 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 >
(cherry picked from commit ed95071c27
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-09 23:02:21 +00:00
7a1889aaf9
Add adjustable stack size and call depth (bp #12728 ) ( #12770 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 22:08:01 +00:00
9188153b7d
Fix fee mismatch on snapshot deserialize ( #12697 ) ( #12754 )
...
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit c879e7c1ad
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-10-09 20:21:50 +00:00
4b9f2e987a
Bump max invoke depth to 4 ( #12742 ) ( #12764 )
...
(cherry picked from commit 2cd7cd3149
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 18:49:44 +00:00
bb5c76483a
Advise setting --wal-recovery-mode
, and using --private-rpc
for mainnet-beta ( #12761 )
...
(cherry picked from commit 3fedcdc6bc
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 15:56:56 +00:00
aafbb251b9
Only fetch snapshot if it's newer than local ( #12663 ) ( #12752 )
...
* Only fetch snapshot if it's newer than local
* Prefer as_ref over clone
* More nits
* Don't wait forwever for newer snapshot
(cherry picked from commit 81489ccb76
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-09 07:15:34 +00:00
dd32540ceb
Add inflation_kill_switch feature ( #12749 )
...
(cherry picked from commit c8807d227a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 05:55:51 +00:00
e1a9cbaf3c
Add new internal accounts ( #12740 ) ( #12747 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 2c5f83c264
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-10-09 02:19:55 +00:00
83740246fc
Minor variable name cleanup ( #12745 )
...
(cherry picked from commit 3a04026599
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 02:12:28 +00:00
7a53ca18a6
Store program logs in blockstore / bigtable (TransactionWithStatusMeta) ( #12678 ) ( #12735 )
...
* 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
(cherry picked from commit 8f5431551e
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2020-10-08 20:19:26 +00:00
c1a8637cb5
Support multiple connected HW wallets configured with the same seed phrase (bp #12716 ) ( #12720 )
...
* remote-wallet: Select hardware wallets based on host device path
(cherry picked from commit 8e3353d9ef
)
* remote-wallet: Append wallet "name" to entries in selector UI
(cherry picked from commit f1a2ad1b7d
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-10-08 05:32:48 +00:00
d6831309cd
Revert "Restore --expected-shred-version argument for mainnet-beta" ( #12723 )
...
This reverts commit 9410eab2af
.
(cherry picked from commit dadc84fa8c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-08 05:00:44 +00:00
2c38865e70
Revert "Inflation cli fix and parameter update ( #12709 )"
...
This reverts commit b3f695c83f
.
2020-10-07 19:43:15 -07:00
dd7fae4afb
Fix syscall featurization ( #12714 )
...
* Fix syscall featurization
* nudge
2020-10-07 18:38:38 -07:00
346890ded3
Display vote/stake account epoch rewards
2020-10-07 17:14:12 -07:00
b3f695c83f
Inflation cli fix and parameter update ( #12709 )
...
update initial inflation parameter to reflect current design
2020-10-07 17:12:32 -07:00
4feead323d
clap-utils: Allow fine-tuning offline args
2020-10-07 23:14:39 +00:00
71a308affd
Use datapoint instead of print for is_full signal ( #12673 )
2020-10-07 13:36:54 -07:00
b5faa11f73
removes invalid/outdated pending push messages early ( #12555 )
...
In CrdsGossipPush::new_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L211-L228
we already have paid the cost of looking-up the label in crds table and
checking the hash value and wallclock only to find out that in some
cases the value is invalid or is outdated. So might as well remove the
value here rather than wait for the next call to
purge_old_pending_push_messages:
https://github.com/solana-labs/solana/blob/972619edb/core/src/crds_gossip_push.rs#L372
2020-10-07 18:29:20 +00:00
41ad3dd8f0
Remove skip-no-mangle entirely ( #12696 )
2020-10-07 09:13:48 -07:00
7b18f4c5fc
chore:(deps): bump @types/node from 14.11.2 to 14.11.5 in /explorer ( #12706 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.11.2 to 14.11.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-07 08:09:56 +00:00
32a23746eb
chore:(deps): bump @types/react-router-dom in /explorer ( #12705 )
...
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom ) from 5.1.5 to 5.1.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 08:08:35 +00:00
973f0965e1
Add ristretto multiply syscall ( #12699 )
2020-10-06 23:52:13 -07:00
d0596ce9c8
Explorer: MintToChecked: mint authority should be optional ( #12704 )
2020-10-06 22:34:42 -07:00
e35889542b
RPC: Support base64 encoded transactions
...
Defaults to base58
2020-10-06 22:41:06 -06:00
7f67d36777
RPC: Check encoded transaction size before decoding
2020-10-06 22:41:06 -06:00
37222683ee
Add env variable for rayon thread counts ( #12693 )
2020-10-06 17:17:26 -07:00
5eaf65af4f
Update validator_list.rs
2020-10-06 16:34:00 -06:00
87de82ac94
faucet: Use checked math in request limiter
2020-10-06 12:55:04 -06:00
5ae704d560
faucet: Add failing test case
2020-10-06 12:55:04 -06:00
630eb3b907
Local program allocator ( #12679 )
2020-10-06 11:03:51 -07:00
bff3825298
Remove unnecessary skip-no-mangle feature from sdk ( #12684 )
2020-10-06 11:03:29 -07:00
41ce892f1c
fix: use Node.js https agent when endpoint uses https ( #12692 )
2020-10-07 00:41:18 +08:00
a5c6a78f6d
filters out inactive nodes from push options ( #12674 )
...
* filters out inactive nodes from push options
https://github.com/solana-labs/solana/pull/12620
patched the DDOS issue with nodes which go offline:
https://github.com/solana-labs/solana/issues/12409
However, offline nodes still see (much lesser) traffic spike, likely
because no origins are pruned from their bloom filter in active set:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L276-L286
and so multiple nodes push redundant duplicate messages to them
simultaneously:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L254-L255
This commit will filter out inactive peers from potential push targets
entirely. To mitigate eclipse attacks, staked nodes are retried
periodically.
* uses current timestamp in test/crds_gossip
2020-10-06 13:48:32 +00:00
4fc6cf4bcc
chore: bump jest from 26.4.2 to 26.5.0 in /web3.js ( #12686 )
...
Bumps [jest](https://github.com/facebook/jest ) from 26.4.2 to 26.5.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.4.2...v26.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:37:13 +00:00
1394952059
chore: bump codecov from 3.7.0 to 3.8.0 in /web3.js ( #12689 )
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.7.0 to 3.8.0.
- [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.7.0...v3.8.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 08:20:56 +00:00
2aeba39d82
chore:(deps): bump @types/chai from 4.2.12 to 4.2.13 in /explorer ( #12688 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.12 to 4.2.13.
- [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-06 08:08:39 +00:00
5564639a05
chore:(deps): bump @types/react from 16.9.50 to 16.9.51 in /explorer ( #12687 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 16.9.50 to 16.9.51.
- [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-06 08:06:33 +00:00
0571882b1d
Add new wallets to docs, clean up existing structure ( #12655 )
...
* Add new wallets to docs
* Re-enstate SolFlare guide
* Update docs/src/wallet-guide/apps.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: publish-docs.sh <maintainers@solana.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-05 22:25:05 +00:00
74a6083269
net-scripts: Correct buildkite agent SSH keys
2020-10-05 21:00:25 +00:00
7b7ea946e3
net-scripts: Remove SSH keys of inactive developers
2020-10-05 21:00:25 +00:00
fbb5e5c4e6
Add systemd and log rotation section to validator start docs ( #12675 )
...
* Add systemd and log rotation section to validator start docs
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
* Update docs/src/running-validator/validator-start.md
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com >
2020-10-05 12:19:13 -07:00
aaf3790d8c
web3.js: Introduce support for log messages inside ConfirmedTransactionMeta. ( #12629 )
...
* feat: add logMessages to ConfirmedTranasactionMeta
* feat: add flow type and additional superstruct validators
2020-10-05 10:24:38 -07:00
457247e5a5
chore: bump acorn from 8.0.1 to 8.0.4 in /web3.js ( #12668 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 8.0.1 to 8.0.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/8.0.1...8.0.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:22:38 +00:00
f879f8e110
chore: bump eslint-plugin-import from 2.22.0 to 2.22.1 in /web3.js ( #12665 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:18:12 +00:00
861402bcea
chore:(deps): bump @testing-library/user-event in /explorer ( #12667 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.1.6 to 12.1.7.
- [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.6...v12.1.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 08:08:50 +00:00
48d99e6c5c
chore:(deps): bump @types/chart.js from 2.9.24 to 2.9.25 in /explorer ( #12666 )
...
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js ) from 2.9.24 to 2.9.25.
- [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-05 08:08:41 +00:00
de6b368944
chore: bump marked from 1.1.1 to 1.2.0 in /web3.js ( #12521 )
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Commits](https://github.com/markedjs/marked/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 14:37:27 +08:00