pscott
pscott
`IAccount` exopses the `__execute__` function which gets the cairo-compiler to yell and error like this: ``` Only account contracts may have a function named "__execute__". Use --account-contract flag. Failed ```...
## PR description WIP: - [x] Add assertLength method to JsonRpcRequest - [ ] Use assertLength in every RPC method to check whether the number of parameters passed in is...
## PR description Add formatting and color to logging in CLI ## Fixed Issue(s) fixes [PAN-2030](https://pegasys1.atlassian.net/browse/PAN-2030)
Hi, I'm getting some errors while trying to run the example code on my environment. This code here: https://github.com/graphprotocol/graph-node/blob/6a7806cc465949ebb9e5b8269eeb763857797efc/tests/integration-tests/host-exports/src/mapping.ts#L73-L88 Gives: ``` Describe entity assertions: thread 'main' panicked at '🆘 Unexpected...
[must-check-caller-address] finds the calls to `get_caller_address` and warns the user about it. Ideally, this rule should NOT emit any warning if the user checks the return value. E.g.: ```cairo let...
Currently the code throws `0x6a80` in lots of different situations, making it hard to wallets / end users to understand what is the real problem. Ideally we'd want a different...
Currently we have the function `get_chain_id()` which fetches the chainId either from `v` or from `chainID` depending on the transaction type. Ideally we'd like to move `v` to `chainID`, set...
update scarb version, cairo version, and dependencies
Edits the `L1AvatarExecutionStrategy` contract to now be spawned by the `L1AvatarExecutionStrategyFactory`, allowing for easy off-chain indexing. Makes use of [OpenZeppelin's EIP1167 Clones implem](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/proxy/Clones.sol). Closes #609
Adds a `ProposalExecuted(address space, bytes32 executionHash)` when `execute` is called on the `L1AvatarExecutionStrategy` contract. Closes #608