diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..333604d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,24 @@ +{ + "name": "Gas Optimizations", + "image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye", + // FIXME: Uncomment feature if foundry adds this https://github.com/foundry-rs/foundry/issues/7290 + // "features": { + // "ghcr.io/foundry-rs/foundry": {} + // } + // "postCreateCommand": "forge test --gas-report", + + // TODO: Remove commands if this feature is added https://github.com/foundry-rs/foundry/issues/7290 + "postCreateCommand": "curl -L https://foundry.paradigm.xyz | bash", + "postStartCommand": "/home/vscode/.foundry/bin/foundryup", + "postAttachCommand": "/home/vscode/.foundry/bin/forge test --gas-report", + + "customizations": { + "vscode": { + "extensions": [ + "JuanBlanco.solidity", + "hosho.solidity-debugger", + "wayou.vscode-todo-highlight" + ] + } + } +} diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f33a02c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly