update rust to 1.60, solana to 1.11.6#3492
Conversation
joncinque
left a comment
There was a problem hiding this comment.
Looks good! Could you just add an issue to investigate and fix those #[allow(deprecated)]s? Might even be a possible "good-first-issue"
(Sorry for the flyby) The correct change should be to use a constructor fn for Memcmp: https://github.com/solana-labs/solana/blob/225cddcffbf453cc05f5c6ca2da74509a3fcde07/client/src/rpc_filter.rs#L147-L161 |
|
re: the failures, it looks like the flags for one of the upstream tools (either @dmakarov do you have any insight into this? |
I don't know how cargo-test-sbf was started. Any options that appear on |
Pull request has been modified.
|
the issue with i think we will still have a few test failures now (im not sure how to run these job on my system and the tests pass when invoked normally so i have to rely on ci) which could be 1.16 changes still to triage |
@joncinque just fixed this in #27221
Could you run the CI script locally? |
| set -x | ||
| cd $run_dir | ||
| cargo +"$rust_stable" test-sbf -- --nocapture | ||
| cargo +"$rust_stable" test-sbf --arch bpf -- --nocapture |
There was a problem hiding this comment.
You don't need to specify bpf architecture. It's the default. The option was added to test sbfv2 architecture as means to test the changes in the new architecture.
|
after fighting this awhile the two outstanding issues are:
ill try again tomorrow |
Adding solana-program-library/token/program/src/processor.rs Lines 1023 to 1027 in 8d88fb6 solana-program-library/token/program-2022/src/processor.rs Lines 1403 to 1407 in 8d88fb6 These |
That's my fault, I made those changes in a security advisory before we had |
|
@2501babe let me look into the stake pool failures, it might be due to the minimum stake delegation |
This reverts commit e6cc5ec.
e6cc5ec to
627b9c6
Compare
|
I fixed up the tests, rebased, and reverted your revert of the change, since you did it correctly. I ran a little test against testnet and it was perfect |
|
I decided to just go the whole way and remove "bpf" everywhere in the code, so our features and everything are aligned now |
| # With minimum delegation at MINIMUM_DELEGATION + rent-exemption, when | ||
| # decreasing, we'll need rent exemption + minimum delegation delegated to | ||
| # cover all movements | ||
| increase_amount = MINIMUM_ACTIVE_STAKE + stake_rent_exemption |
There was a problem hiding this comment.
ohhh it was the 1.11 change that everything needs to be rent exempt, i understand now
|
thank you everyone for your help!! |
i marked two things in the stake client as
#[allow(deprecated)]because after looking at the relevant types insolana-clienti dont understand what the correct change isif possible i wanna merge this as is and worry about that later tho