Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deployment slot for upgraded programs #30902

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented Mar 27, 2023

Problem

The deployment slot for the upgraded program is incorrect. It's being set to the deployment slot of the old program.

Summary of Changes

Use the clock.slot to set the deployment slot of the upgraded program.

Fixes #

@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #30902 (9916121) into master (3bc670a) will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #30902   +/-   ##
=======================================
  Coverage    81.5%    81.5%           
=======================================
  Files         726      726           
  Lines      204907   204907           
=======================================
+ Hits       167064   167089   +25     
+ Misses      37843    37818   -25     

@pgarg66 pgarg66 requested a review from Lichtso March 27, 2023 12:59
@pgarg66 pgarg66 merged commit cbf7043 into solana-labs:master Mar 27, 2023
@pgarg66 pgarg66 deleted the fix-deployment-slot branch March 27, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants