Skip to content

Commit

Permalink
Merge pull request #104 from rhinestonewtf/dev
Browse files Browse the repository at this point in the history
v0.4.0
  • Loading branch information
kopy-kat authored May 21, 2024
2 parents 1903f1b + 49b1569 commit 1820bc2
Show file tree
Hide file tree
Showing 324 changed files with 2,142 additions and 9,213 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/Safe7579_issue_template.md

This file was deleted.

59 changes: 15 additions & 44 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,50 +1,21 @@
on:
- push
- pull_request
workflow_dispatch:
push:
branches:
- "main"
pull_request:

jobs:
lint-modulekit:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/modulekit"

build-modulekit:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/modulekit"

lint-safe7579:
needs: ["lint-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/safe7579"

test-safe7579:
needs: ["build-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/safe7579"

lint-sessionkeymanager:
needs: ["lint-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/sessionkeymanager"
lint:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint.yaml@main"

test-sessionkeymanager:
needs: ["build-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/sessionkeymanager"

lint-modulekit-examples:
needs: ["lint-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint-workspaces.yaml@main"
with:
match-workspace: "@rhinestone/modulekit-examples"
build:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-build.yaml@main"

test-modulekit-examples:
needs: ["build-modulekit"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test-workspaces.yaml@main"
test:
needs: ["lint", "build"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test.yaml@main"
with:
match-workspace: "@rhinestone/modulekit-examples"
foundry-fuzz-runs: 5000
foundry-profile: "test"
match-path: "test/**/*.sol"
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
3 changes: 1 addition & 2 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
"extends": "solhint:recommended",
"rules": {
"avoid-low-level-calls": "off",
"code-complexity": ["error", 10],
"code-complexity": ["error", 11],
"compiler-version": ["error", ">=0.8.0"],
"contract-name-camelcase": "off",
"const-name-snakecase": "off",
"custom-errors": "off",
"func-name-mixedcase": "off",
"func-visibility": ["error", { "ignoreConstructors": true }],
"max-line-length": ["error", 123],
Expand Down
1 change: 1 addition & 0 deletions .solhintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules/
lib/
src/integrations/interfaces/
src/core/Licensing/
test/
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.

The format is based on [Common Changelog](https://common-changelog.org/).

[0.4.0]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.4.0
[0.3.7]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.3.7
[0.3.6]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.3.6
[0.3.5]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.3.5
Expand All @@ -15,6 +16,29 @@ The format is based on [Common Changelog](https://common-changelog.org/).
[0.2.0]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.2.0
[0.1.0]: https://github.com/rhinestonewtf/modulekit/releases/tag/v0.1.0

## [0.4.0] - 21-05-2024

### Changed

- `instance.expect4337Revert` now catches reverts in both validation and execution
- Gas calculations are now split by `_` on every thousand
- General restructuring of the codebase and split into multiple repositories
- Moved module bases and mocks to `@rhinestone/module-bases`
- Moved core modules to `@rhinestone/core-modules`
- Moved the Safe ERC-7579 adapter to `@rhinestone/safe7579`

### Added

- ERC-7484 support with interface, mock registry and registry adapter base
- Support for stateless validators
- Under-the-hood support for multi-hooks
- Base module for scheduling-based executors

### Fixed

- Bugs related to installation and uninstallation calldata
- Various other bugs

## [0.3.7] - 09-03-2024

### Changed
Expand Down
92 changes: 0 additions & 92 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 1820bc2

Please sign in to comment.