-
Notifications
You must be signed in to change notification settings - Fork 175
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
Update to stable Cadence #4567
Update to stable Cadence #4567
Conversation
8d387cb
to
c33a0ee
Compare
FVM Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit cc67154 The command Collapsed results for better readability
|
Codecov Report
@@ Coverage Diff @@
## feature/stable-cadence #4567 +/- ##
==========================================================
+ Coverage 54.66% 54.75% +0.08%
==========================================================
Files 917 917
Lines 85633 85537 -96
==========================================================
+ Hits 46808 46832 +24
+ Misses 35231 35113 -118
+ Partials 3594 3592 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
7196ea4
to
1dfd5a4
Compare
…t key API and access(all)
51666b8
to
ad8666c
Compare
ad8666c
to
e456fca
Compare
e20ce9a
to
9247b4d
Compare
There are some tests failing that seem to be unrelated to the cadence change. Can someone with more context have a look please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@@ -10,7 +10,7 @@ import ( | |||
const ( | |||
getInfoForProposedNodesScript = ` | |||
import FlowIDTableStaking from 0x%s | |||
pub fun main(): [FlowIDTableStaking.NodeInfo] { | |||
access(all) fun main(): [FlowIDTableStaking.NodeInfo] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add line breaks after access modifiers, as they are now quite long, making the function signature hard to read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk, I feel like that makes the code looks pretty awkward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will update the tests where necessary in a follow-up PR.
@@ -1,7 +1,7 @@ | |||
import Crypto | |||
import FungibleToken from 0xFUNGIBLETOKENADDRESS | |||
import FlowToken from 0xFLOWTOKENADDRESS | |||
import FlowIDTableStaking from 0xIDENTITYTABLEADDRESS | |||
import FlowIDTableStaking from "FlowIDTableStaking" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the other 0xFOO
"addresses" in the other imports also be replaced to the string literal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I'm working on it. I won't be able to get to it in this PR, but maybe in the next one
e886424
to
3ab158e
Compare
3ab158e
to
8e7a31c
Compare
There is still
Don't have much clue on why they are failing / how to fix. |
bors merge |
4567: Update to Cadence v0.39.13-stable-cadence r=SupunS a=SupunS Feature branch for stable cadence updates to integrate the new token standards, core contracts, and other features of stable cadence Depends on #4655 Co-authored-by: Yahya <yhassanzadeh13@ku.edu.tr> Co-authored-by: Yahya Hassanzadeh, Ph.D <yhassanzadeh@ieee.org> Co-authored-by: Yahya Hassanzadeh <yhassanzadeh13@ku.edu.tr> Co-authored-by: Yahya Hassanzadeh, Ph.D <yhassanzadeh13@ku.edu.tr> Co-authored-by: Supun Setunga <supun.setunga@gmail.com> Co-authored-by: Misha <misha@gomisha.com> Co-authored-by: Kay-Zee <kan@axiomzen.co> Co-authored-by: Josh Hannan <hannanjoshua19@gmail.com> Co-authored-by: Kan Zhang <kan@axiomzen.co> Co-authored-by: Misha <misha.rybalov@dapperlabs.com>
bors cancel |
Canceled. |
…ow-go into supun/stable-cadence
Feature branch for stable cadence updates to integrate the new token standards, core contracts, and other features of stable cadence
Depends on #4655