warp
warp copied to clipboard
Warp - Bringing Solidity to Starknet at warp speed. Warp is a Solidity to Cairo Compiler, this allows teams to write/migrate Solidity to Cairo for easy onboarding into the StarkNet ecosystem.
In solidity you can get the function selector by ```solidity this.funcName.selector ``` Currently when we transpile that expression we get invalid cairo code. We should either support it, or throw...
CLI command descriptions might contain spelling errors. Running a grammar checker would prevent them.
This is a little tricky since StarkNet doesn't support anything like this. Maybe we can replace this with a simple revert and emit a compiler warning stating that we've done...
# Remove for loops variable mangling Variable declarations in for loops get mangled because the `loopFunctionaliser` extracts the declarations into the same scope where the loop is instead of creating...
The following pattern is often repeated in solidity contracts: ``` uint256(uint160(addr) ``` Where the author's intent is to use the address as a number, Warp returns the following error when...
# Add Uniswap test to warp’s regular testing framework Pick a subset of tests for CI that test all non-overlapping functionality othewise CI runs for 20 hours. Note that these...
# Contract Swap Bug This bug is highly suspected to be a `solc-typed-ast` bug and not a `Warp` one. The bug happens with user defined types defined in different source...
# Same name contract & struct Error in context, getting the node type it get’s confused between a struct and a same named contract. Example: ```solidity pragma solidity 0.8; contract...