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 storage explorer #3627

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Fix storage explorer #3627

merged 1 commit into from
Oct 18, 2024

Conversation

turbolent
Copy link
Member

@turbolent turbolent commented Oct 18, 2024

Description

Fix dependencies / breakage due to restructuring. The storage explorer depends on flow-go, which has not been updated to the restructured Cadence codebase.

Fix this by temporarily removing the replace statement to use the "current" Cadence version, and change the import statements back to the old repository structure.

Once flow-go got updated, we can update the storage explorer to use the new imports.


  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

Copy link

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit 0bb1b69
The command for i in {1..N}; do go test ./... -run=XXX -bench=. -benchmem -shuffle=on; done was used.
Bench tests were run a total of 7 times on each branch.

Collapsed results for better readability

@@ -4,7 +4,7 @@ go 1.22

require (
github.com/gorilla/mux v1.8.1
github.com/onflow/atree v0.8.0-rc.6
github.com/onflow/atree v0.8.0
github.com/onflow/cadence v1.0.0-preview.52
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also update to the v1.0.1 tag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just a go mod tidy run, the dependencies were already outdated before. We can update to the latest Cadence version in a follow-up PR

@turbolent turbolent merged commit d2f3abc into master Oct 18, 2024
8 of 12 checks passed
@turbolent turbolent deleted the bastian/fix-storage-explorer-2 branch October 18, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants