Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Cairo1 warplib infra #993

Merged
merged 46 commits into from
Mar 22, 2023
Merged

Cairo1 warplib infra #993

merged 46 commits into from
Mar 22, 2023

Conversation

rodrigo-pino
Copy link
Contributor

@rodrigo-pino rodrigo-pino commented Mar 16, 2023

Fix #1000
Following Cairo1 requirements to have functional warplib:
Treat all transpiled contracts as cairo project with the right path
Treat warplib as a public library

AlejandroLabourdette and others added 30 commits March 3, 2023 10:19
CairoAssert node is an expression, hence it appears as a statement only as a child of ExpressionStatement. The writer for this node already adds the semicolon.
src/cli.ts Outdated Show resolved Hide resolved
src/cli.ts Outdated Show resolved Hide resolved
src/cli.ts Show resolved Hide resolved
src/cli.ts Outdated Show resolved Hide resolved
warplib/maths/sub.cairo Outdated Show resolved Hide resolved
@rodrigo-pino rodrigo-pino merged commit e294c14 into cairo-1.0 Mar 22, 2023
@rodrigo-pino rodrigo-pino deleted the cairo1-warplib-infra branch March 22, 2023 19:13
rjnrohit pushed a commit that referenced this pull request Mar 23, 2023
* Warplib infra for cairo1

* Make warpalib a cairo1 library

* Generate warplib appropiately

* Remove auto-generated file

* Update gitignore'

* Remove hardcoded warplib

* Update src/cli.ts

* Small fixes

* Bug fixes

* Update  function required by erc20

* Do not parse functions which uses old cairo code

* Minor bug fix

* revert last commit

* Minor bug fix

* Pretify output

* Add todo and remove old commented code
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.

4 participants