Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

migrate cairo 1 to cairo 2 #694

Merged
merged 47 commits into from
Jun 30, 2023
Merged

migrate cairo 1 to cairo 2 #694

merged 47 commits into from
Jun 30, 2023

Conversation

mmsc2
Copy link
Contributor

@mmsc2 mmsc2 commented Jun 27, 2023

translate Cairo1 contract to Cairo2

Description

DeclareV2 isn't currently working, comments are now commented. We are working on this.

Checklist

  • Linked to Github Issue
  • Unit tests added
  • Integration tests added.
  • This change requires new documentation.
    • Documentation has been added/updated.

@mmsc2 mmsc2 linked an issue Jun 27, 2023 that may be closed by this pull request
@mmsc2 mmsc2 linked an issue Jun 27, 2023 that may be closed by this pull request
@SantiagoPittella SantiagoPittella self-assigned this Jun 29, 2023
@SantiagoPittella SantiagoPittella marked this pull request as ready for review June 30, 2023 01:19
@SantiagoPittella SantiagoPittella changed the title WIP: migrate cairo 1 to cairo 2 migrate cairo 1 to cairo 2 Jun 30, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2023

Codecov Report

Merging #694 (435184f) into main (9c84afb) will decrease coverage by 0.01%.
The diff coverage is 86.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #694      +/-   ##
==========================================
- Coverage   92.11%   92.11%   -0.01%     
==========================================
  Files          52       52              
  Lines       11339    11360      +21     
==========================================
+ Hits        10445    10464      +19     
- Misses        894      896       +2     
Impacted Files Coverage Δ
src/syscalls/syscall_handler.rs 78.57% <0.00%> (-1.43%) ⬇️
src/lib.rs 97.74% <100.00%> (+0.07%) ⬆️
src/transaction/declare_v2.rs 85.20% <100.00%> (+0.24%) ⬆️

@@ -1,4 +1,4 @@
#![deny(warnings)]
#![allow(warnings)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we change this to deny again?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes, my bad

@@ -1,4 +1,4 @@
#![deny(warnings)]
// #![deny(warnings)]
Copy link
Contributor

Choose a reason for hiding this comment

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

And here

@@ -1,4 +1,4 @@
#![deny(warnings)]
// #![deny(warnings)]
Copy link
Contributor

Choose a reason for hiding this comment

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

And here

@juanbono juanbono enabled auto-merge June 30, 2023 18:34
@juanbono juanbono added this pull request to the merge queue Jun 30, 2023
Merged via the queue into main with commit 3af21ba Jun 30, 2023
@juanbono juanbono deleted the refactor-cairo2 branch July 1, 2023 16:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch on compiler version to compile either cairo 1 or cairo 2 in tests Update all contracts to cairo 2
6 participants