Michael Vines
|
8359f4f5ff
|
Include Clock sysvar in AuthorizeWithSeed instruction
|
2021-01-25 19:38:10 -08:00 |
Michael Vines
|
2b50433099
|
Remove legacy_stake program
|
2021-01-25 19:34:40 -08:00 |
sakridge
|
191193289f
|
Upgrade sha2 to 0.9.3 (#14746)
|
2021-01-22 22:25:22 -08:00 |
Jack May
|
77572a7c53
|
Track account writable deescalation (#14626)
|
2021-01-22 15:28:01 -08:00 |
Michael Vines
|
3c6dbd21d2
|
Add ic_msg()/ic_logger_msg() macros
|
2021-01-21 21:41:33 +00:00 |
behzad nouri
|
d52c94a366
|
adds missing block_time field (#14743)
|
2021-01-21 18:29:48 +00:00 |
behzad nouri
|
8e581601d6
|
patches crds vote-index assignment bug (#14438)
If tower is full, old votes are evicted from the front of the deque:
https://github.com/solana-labs/solana/blob/2074e407c/programs/vote/src/vote_state/mod.rs#L367-L373
whereas recent votes if expire are evicted from the back:
https://github.com/solana-labs/solana/blob/2074e407c/programs/vote/src/vote_state/mod.rs#L529-L537
As a result, from a single tower_index scalar, we cannot infer which crds-vote
should be overwritten:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L576
In addition there is an off by one bug in the existing code. tower_index is
bounded by MAX_LOCKOUT_HISTORY - 1:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/consensus.rs#L382
So, it is at most 30, whereas MAX_VOTES is 32:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L29
Which means that this branch is never taken:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L590-L593
so crds table alwasys keeps 29 **oldest** votes by wallclock, and then
only overrides the 30st one each time. (i.e a tally of only two most
recent votes).
|
2021-01-21 13:08:07 +00:00 |
Jack May
|
aa96ad042b
|
Add signer/writable de/escalation tests (#14726)
|
2021-01-21 09:19:46 +00:00 |
carllin
|
2745b79b74
|
Parallel cache scan (#14544)
* Parallel cache scan
* PR comments
* PR comments
Co-authored-by: Carl Lin <carl@solana.com>
|
2021-01-20 08:50:17 +00:00 |
Jack May
|
a480b63234
|
Bail on small deploy buffers (#14677)
|
2021-01-20 01:56:44 +00:00 |
Jack May
|
e3bd9e5300
|
Prevent the invoke and upgrade of programs in the same tx batch (#14653)
* Prevent the invoke and upgrade of programs in the same tx batch
* Pass program address as writable in the upgrade instruction
|
2021-01-19 16:24:44 -08:00 |
dependabot[bot]
|
4ecc0f4fa6
|
chore: bump rayon from 1.4.1 to 1.5.0 (#14177)
* chore: bump rayon from 1.4.1 to 1.5.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.4.1...rayon-core-v1.5.0)
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>
|
2021-01-15 18:07:35 +09:00 |
sakridge
|
907f518f6d
|
Add load/execute/store timings (#14561)
|
2021-01-14 14:14:16 -08:00 |
Jack May
|
6e8a1ba7de
|
Load executable accounts from invoke context (#14574)
|
2021-01-14 00:19:22 -08:00 |
Alexander Meißner
|
0d26cb6d37
|
Bump RBPF version to v0.2.3
|
2021-01-11 21:29:00 -08:00 |
Jack May
|
ec48631fc5
|
Bail on all CPI errors (#14500)
* Bail on all CPI errors
* whitespace
|
2021-01-09 02:27:39 +00:00 |
Jack May
|
9d53eca6e3
|
Report correct program id (#14486)
|
2021-01-08 14:43:24 -08:00 |
Michael Vines
|
21a0a83543
|
Bump smallvec version
|
2021-01-08 20:20:34 +00:00 |
Jack May
|
58487c6360
|
Add buffer authority to upgradeable loader (#14482)
|
2021-01-08 09:37:57 -08:00 |
Jack May
|
5eacc5d08d
|
Enable program upgrades via CPI (#14449)
|
2021-01-06 14:31:14 -08:00 |
Jack May
|
a8b5a32b50
|
Gate cpi program account passing (#14443)
|
2021-01-05 21:53:41 +00:00 |
Jack May
|
0619805806
|
Upgradeable programs needs program account's address as program id (#14417)
|
2021-01-04 21:45:05 +00:00 |
Jack May
|
2d8dacb72b
|
Gate CPI authorized programs (#14361)
|
2020-12-30 18:13:37 -08:00 |
Jack May
|
1c5427ff17
|
Remove assert (#14356)
|
2020-12-30 21:07:22 +00:00 |
Jack May
|
6c6095abe7
|
nit: clarify loader id (#14355)
|
2020-12-30 20:02:29 +00:00 |
Jack May
|
5524938a50
|
Limit CPI instruction size (#14317)
|
2020-12-29 01:14:17 +00:00 |
Jack May
|
ee0a80a092
|
Prevent bpf loader impersonators (#14278)
|
2020-12-24 03:04:48 +00:00 |
Jack May
|
b1d702a618
|
Don't use caller passed executable account (#14276)
|
2020-12-23 14:34:14 -08:00 |
Jack May
|
0b479ab180
|
Limit CPI from calling loader or native programs (#14252)
|
2020-12-23 10:44:34 -08:00 |
Trent Nelson
|
50710473a8
|
Deinitialize stake data upon zero balance
|
2020-12-22 19:37:26 -07:00 |
Trent Nelson
|
db5bd6ea1a
|
Deinitialize vote data upon zero balance
|
2020-12-22 19:37:26 -07:00 |
Trent Nelson
|
5b903318b2
|
vote: Add helper for creating current-versioned states
|
2020-12-22 19:37:26 -07:00 |
Tyera Eulberg
|
7042f11791
|
Feature-gate stake-program-v3 (#14232)
* 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
|
2020-12-22 11:20:38 -07:00 |
Jack May
|
ab205b682a
|
Upgradeable programs called same as non-upgradeable (#14239)
* Upgradeable programs called same as non-upgradeable
* nudge
|
2020-12-22 09:26:55 -08:00 |
Jack May
|
e8cc0bef6c
|
Add CPI support for upgradeable loader (#14193)
|
2020-12-17 15:39:49 -08:00 |
Jack May
|
593ad80954
|
Fix program account rent exemption (#14176)
|
2020-12-17 09:02:31 +00:00 |
Jack May
|
49c3f14016
|
Remove lock files from programs/bpf/rust (#14148)
|
2020-12-16 02:14:04 -08:00 |
Jack May
|
025f886e10
|
check for resize access violations (#14142)
|
2020-12-15 23:21:08 -08:00 |
Michael Vines
|
1e977ac025
|
Bump version to v1.6.0
|
2020-12-15 18:28:04 +00:00 |
Jack May
|
d513b0c4ca
|
Add Program loader/environment instruction errors (#14120)
|
2020-12-15 09:54:07 -08:00 |
Jack May
|
ab98c1f2d4
|
Add try_find_program_address syscall (#14118)
|
2020-12-15 08:15:01 -08:00 |
Jack May
|
9e90394583
|
Upgradeable loader (#13689)
|
2020-12-14 15:35:10 -08:00 |
Michael Vines
|
7143aaa89b
|
Clippy
|
2020-12-14 08:03:29 -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 |
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 |
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 |
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
|
edff62af3d
|
Switch to memmap2 fork
|
2020-12-11 23:44:03 +00:00 |