Skip to content

Commit

Permalink
wip on init
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Oct 30, 2024
1 parent 0cb6ac2 commit 1a5c6ba
Show file tree
Hide file tree
Showing 10 changed files with 869 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rainix CI
on: [push]

jobs:
rainix:
strategy:
matrix:
os: [ubuntu-latest]
task: [rainix-sol-test, rainix-sol-static, rainix-sol-legal]
fail-fast: false
runs-on: ${{ matrix.os }}
env:
DEPLOYMENT_KEY: ${{ github.ref == 'refs/heads/main' && secrets.PRIVATE_KEY || secrets.PRIVATE_KEY_DEV }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- run: nix develop --command rainix-sol-prelude
- name: Run ${{ matrix.task }}
env:
ETH_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }}
ETHERSCAN_API_KEY: ${{ secrets.EXPLORER_VERIFICATION_KEY }}
DEPLOY_BROADCAST: ''
DEPLOY_VERIFIER: ''
DEPLOY_METABOARD_ADDRESS: ${{ vars.CI_DEPLOY_SEPOLIA_METABOARD_ADDRESS }}
CI_FORK_SEPOLIA_BLOCK_NUMBER: ${{ vars.CI_FORK_SEPOLIA_BLOCK_NUMBER }}
CI_FORK_SEPOLIA_DEPLOYER_ADDRESS: ${{ vars.CI_FORK_SEPOLIA_DEPLOYER_ADDRESS }}
CI_DEPLOY_SEPOLIA_RPC_URL: ${{ secrets.CI_DEPLOY_SEPOLIA_RPC_URL || vars.CI_DEPLOY_SEPOLIA_RPC_URL }}
run: nix develop --command ${{ matrix.task }}
1 change: 1 addition & 0 deletions cache/solidity-files-cache.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_format":"","paths":{"artifacts":"out","build_infos":"out/build-info","sources":"src","tests":"test","scripts":"script","libraries":["lib"]},"files":{"src/lib/parse/LibParseCMask.sol":{"lastModificationDate":1730301004003,"contentHash":"2ecfa424934a3e6307265567d61738be","sourceName":"src/lib/parse/LibParseCMask.sol","compilerSettings":{"solc":{"optimizer":{"enabled":true,"runs":100000},"metadata":{"useLiteralContent":false,"bytecodeHash":"ipfs","appendCBOR":true},"outputSelection":{"*":{"":["ast"],"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"paris","viaIR":false,"libraries":{}},"vyper":{"evmVersion":"paris","outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode"]}}}},"imports":[],"versionRequirement":"^0.8.18","artifacts":{"LibParseCMask":{"0.8.25":{"path":"LibParseCMask.sol/LibParseCMask.json","build_id":"a7955c253c54ea4443457947ff9150e4"}}},"seenByCompiler":true},"src/lib/parse/LibParseChars.sol":{"lastModificationDate":1730301003998,"contentHash":"5fe9051ac5fdfab77e1aa6f31fbcebf8","sourceName":"src/lib/parse/LibParseChars.sol","compilerSettings":{"solc":{"optimizer":{"enabled":true,"runs":100000},"metadata":{"useLiteralContent":false,"bytecodeHash":"ipfs","appendCBOR":true},"outputSelection":{"*":{"":["ast"],"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"]}},"evmVersion":"paris","viaIR":false,"libraries":{}},"vyper":{"evmVersion":"paris","outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode"]}}}},"imports":[],"versionRequirement":"^0.8.25","artifacts":{"LibParseChars":{"0.8.25":{"path":"LibParseChars.sol/LibParseChars.json","build_id":"a7955c253c54ea4443457947ff9150e4"}}},"seenByCompiler":true}},"builds":["a7955c253c54ea4443457947ff9150e4"]}
279 changes: 279 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[profile.default]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config

solc = "0.8.25"
optimizer = true
optimizer_runs = 100000

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

Large diffs are not rendered by default.

Loading

0 comments on commit 1a5c6ba

Please sign in to comment.