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

Commit

Permalink
Merge branch 'dev' into mikers/removeERC165
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk authored Dec 21, 2023
2 parents 3140ee8 + bf36dba commit ea5050a
Show file tree
Hide file tree
Showing 153 changed files with 7,721 additions and 2,037 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build and Test Workflow

on:
push:
branches:
- main
- dev
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Adjust this as needed for your project

- name: Install dependencies
run: npm install

- name: Install Foundry
run: |
curl -L https://foundry.paradigm.xyz | bash
export PATH="$PATH:/home/runner/.config/.foundry/bin"
foundryup
forge install
- name: Generate Ethereum Private Key and Create .env File and run make
run: |
PRIVATE_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
echo "export PRIVATE_KEY=0x$PRIVATE_KEY" > .env
echo "export RPC_URL=http://127.0.0.1:1337" >> .env
echo "export CHAIN_ID=1337" >> .env
export PATH="$PATH:/home/runner/.config/.foundry/bin"
npx ganache-cli -g0 -p1337 --account 0x$PRIVATE_KEY,1001901919191919191 &
sleep 5
make
2 changes: 1 addition & 1 deletion .out/AccountHelper.sol/AccountHelper.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .out/Address.sol/Address.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .out/BottomUpRouterFacet.sol/BottomUpRouterFacet.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .out/CheckpointingFacet.sol/CheckpointingFacet.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .out/ConsensusType.sol/ConsensusType.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/enums/ConsensusType.sol","id":36919,"exportedSymbols":{"ConsensusType":[36918]},"nodeType":"SourceUnit","src":"46:128:40","nodes":[{"id":36916,"nodeType":"PragmaDirective","src":"46:23:40","nodes":[],"literals":["solidity","0.8",".19"]},{"id":36918,"nodeType":"EnumDefinition","src":"136:37:40","nodes":[],"canonicalName":"ConsensusType","members":[{"id":36917,"name":"Fendermint","nameLocation":"161:10:40","nodeType":"EnumValue","src":"161:10:40"}],"name":"ConsensusType","nameLocation":"141:13:40"}],"license":"MIT OR Apache-2.0"},"id":40}
{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/enums/ConsensusType.sol","id":37360,"exportedSymbols":{"ConsensusType":[37359]},"nodeType":"SourceUnit","src":"46:128:43","nodes":[{"id":37357,"nodeType":"PragmaDirective","src":"46:23:43","nodes":[],"literals":["solidity","0.8",".19"]},{"id":37359,"nodeType":"EnumDefinition","src":"136:37:43","nodes":[],"canonicalName":"ConsensusType","members":[{"id":37358,"name":"Fendermint","nameLocation":"161:10:43","nodeType":"EnumValue","src":"161:10:43"}],"name":"ConsensusType","nameLocation":"141:13:43"}],"license":"MIT OR Apache-2.0"},"id":43}
2 changes: 1 addition & 1 deletion .out/Constants.sol/Constants.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/constants/Constants.sol","id":36442,"exportedSymbols":{"BURNT_FUNDS_ACTOR":[36423],"EMPTY_BYTES":[36435],"EMPTY_HASH":[36429],"METHOD_SEND":[36441]},"nodeType":"SourceUnit","src":"46:199:37","nodes":[{"id":36417,"nodeType":"PragmaDirective","src":"46:23:37","nodes":[],"literals":["solidity","0.8",".19"]},{"id":36423,"nodeType":"VariableDeclaration","src":"71:48:37","nodes":[],"constant":true,"mutability":"constant","name":"BURNT_FUNDS_ACTOR","nameLocation":"88:17:37","scope":36442,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":36418,"name":"address","nodeType":"ElementaryTypeName","src":"71:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"value":{"arguments":[{"hexValue":"3939","id":36421,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"116:2:37","typeDescriptions":{"typeIdentifier":"t_rational_99_by_1","typeString":"int_const 99"},"value":"99"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_99_by_1","typeString":"int_const 99"}],"id":36420,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"108:7:37","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":36419,"name":"address","nodeType":"ElementaryTypeName","src":"108:7:37","typeDescriptions":{}}},"id":36422,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"108:11:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"id":36429,"nodeType":"VariableDeclaration","src":"121:41:37","nodes":[],"constant":true,"mutability":"constant","name":"EMPTY_HASH","nameLocation":"138:10:37","scope":36442,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":36424,"name":"bytes32","nodeType":"ElementaryTypeName","src":"121:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"","id":36427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"159:2:37","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":36426,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"151:7:37","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":36425,"name":"bytes32","nodeType":"ElementaryTypeName","src":"151:7:37","typeDescriptions":{}}},"id":36428,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"151:11:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":36435,"nodeType":"VariableDeclaration","src":"164:38:37","nodes":[],"constant":true,"mutability":"constant","name":"EMPTY_BYTES","nameLocation":"179:11:37","scope":36442,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":36430,"name":"bytes","nodeType":"ElementaryTypeName","src":"164:5:37","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"value":{"arguments":[{"hexValue":"","id":36433,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"199:2:37","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":36432,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"193:5:37","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":36431,"name":"bytes","nodeType":"ElementaryTypeName","src":"193:5:37","typeDescriptions":{}}},"id":36434,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"193:9:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"visibility":"internal"},{"id":36441,"nodeType":"VariableDeclaration","src":"204:39:37","nodes":[],"constant":true,"mutability":"constant","name":"METHOD_SEND","nameLocation":"220:11:37","scope":36442,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":36436,"name":"bytes4","nodeType":"ElementaryTypeName","src":"204:6:37","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"value":{"arguments":[{"hexValue":"30","id":36439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"241:1:37","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":36438,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"234:6:37","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":36437,"name":"bytes4","nodeType":"ElementaryTypeName","src":"234:6:37","typeDescriptions":{}}},"id":36440,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"234:9:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"license":"MIT OR Apache-2.0"},"id":37}
{"abi":[],"bytecode":{"object":"0x","linkReferences":{}},"deployedBytecode":{"object":"0x","linkReferences":{}},"ast":{"absolutePath":"src/constants/Constants.sol","id":36883,"exportedSymbols":{"BURNT_FUNDS_ACTOR":[36861],"EMPTY_BYTES":[36873],"EMPTY_HASH":[36867],"METHOD_SEND":[36879],"VALIDATOR_SECP256K1_PUBLIC_KEY_LENGTH":[36882]},"nodeType":"SourceUnit","src":"46:330:40","nodes":[{"id":36855,"nodeType":"PragmaDirective","src":"46:23:40","nodes":[],"literals":["solidity","0.8",".19"]},{"id":36861,"nodeType":"VariableDeclaration","src":"71:48:40","nodes":[],"constant":true,"mutability":"constant","name":"BURNT_FUNDS_ACTOR","nameLocation":"88:17:40","scope":36883,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":36856,"name":"address","nodeType":"ElementaryTypeName","src":"71:7:40","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"value":{"arguments":[{"hexValue":"3939","id":36859,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"116:2:40","typeDescriptions":{"typeIdentifier":"t_rational_99_by_1","typeString":"int_const 99"},"value":"99"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_99_by_1","typeString":"int_const 99"}],"id":36858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"108:7:40","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":36857,"name":"address","nodeType":"ElementaryTypeName","src":"108:7:40","typeDescriptions":{}}},"id":36860,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"108:11:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"id":36867,"nodeType":"VariableDeclaration","src":"121:41:40","nodes":[],"constant":true,"mutability":"constant","name":"EMPTY_HASH","nameLocation":"138:10:40","scope":36883,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":36862,"name":"bytes32","nodeType":"ElementaryTypeName","src":"121:7:40","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"","id":36865,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"159:2:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":36864,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"151:7:40","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":36863,"name":"bytes32","nodeType":"ElementaryTypeName","src":"151:7:40","typeDescriptions":{}}},"id":36866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"151:11:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"id":36873,"nodeType":"VariableDeclaration","src":"164:38:40","nodes":[],"constant":true,"mutability":"constant","name":"EMPTY_BYTES","nameLocation":"179:11:40","scope":36883,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":36868,"name":"bytes","nodeType":"ElementaryTypeName","src":"164:5:40","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"value":{"arguments":[{"hexValue":"","id":36871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"199:2:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"id":36870,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"193:5:40","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":36869,"name":"bytes","nodeType":"ElementaryTypeName","src":"193:5:40","typeDescriptions":{}}},"id":36872,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"193:9:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"visibility":"internal"},{"id":36879,"nodeType":"VariableDeclaration","src":"204:39:40","nodes":[],"constant":true,"mutability":"constant","name":"METHOD_SEND","nameLocation":"220:11:40","scope":36883,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":36874,"name":"bytes4","nodeType":"ElementaryTypeName","src":"204:6:40","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"value":{"arguments":[{"hexValue":"30","id":36877,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"241:1:40","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":36876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"234:6:40","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":36875,"name":"bytes4","nodeType":"ElementaryTypeName","src":"234:6:40","typeDescriptions":{}}},"id":36878,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"234:9:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"},{"id":36882,"nodeType":"VariableDeclaration","src":"315:59:40","nodes":[],"constant":true,"mutability":"constant","name":"VALIDATOR_SECP256K1_PUBLIC_KEY_LENGTH","nameLocation":"332:37:40","scope":36883,"stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":36880,"name":"uint256","nodeType":"ElementaryTypeName","src":"315:7:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3635","id":36881,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"372:2:40","typeDescriptions":{"typeIdentifier":"t_rational_65_by_1","typeString":"int_const 65"},"value":"65"},"visibility":"internal"}],"license":"MIT OR Apache-2.0"},"id":40}
Loading

0 comments on commit ea5050a

Please sign in to comment.