diff --git a/cmd/monogen/testapp.zip b/cmd/monogen/testapp.zip index 9ea2b6a1..a7ab3a92 100644 Binary files a/cmd/monogen/testapp.zip and b/cmd/monogen/testapp.zip differ diff --git a/cmd/monogen/testapp/go.mod b/cmd/monogen/testapp/go.mod index 0ffb9e7d..135bba26 100644 --- a/cmd/monogen/testapp/go.mod +++ b/cmd/monogen/testapp/go.mod @@ -15,7 +15,7 @@ replace ( // fix upstream GHSA-h395-qcrw-5vmq vulnerability. github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0 github.com/libp2p/go-libp2p => github.com/joshklop/go-libp2p v0.0.0-20241004015633-cfc9936c6811 - github.com/polymerdao/monomer => github.com/polymerdao/monomer v0.1.5 + github.com/polymerdao/monomer => github.com/polymerdao/monomer v0.1.6 github.com/quic-go/quic-go => github.com/quic-go/quic-go v0.39.3 github.com/quic-go/webtransport-go => github.com/quic-go/webtransport-go v0.6.0 // replace broken goleveldb @@ -330,7 +330,6 @@ require ( github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect - github.com/samber/lo v1.39.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/schollz/closestmatch v2.1.0+incompatible // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect diff --git a/cmd/monogen/testapp/go.sum b/cmd/monogen/testapp/go.sum index 8595871c..72100259 100644 --- a/cmd/monogen/testapp/go.sum +++ b/cmd/monogen/testapp/go.sum @@ -1065,8 +1065,8 @@ github.com/pkg/profile v1.7.0/go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDj github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polymerdao/monomer v0.1.5 h1:gzavSJ1jbHDnpC9B0FITqz0eolE69AL5HFtqtQEQ6cg= -github.com/polymerdao/monomer v0.1.5/go.mod h1:08lU5gmig6WpUBaUIA07F/pbxjL08Typ+zDDKgGkP90= +github.com/polymerdao/monomer v0.1.6 h1:dUj9uvd3rGxF0J7trTXkxaN7Z82P1m5Yszw7uE3vEwM= +github.com/polymerdao/monomer v0.1.6/go.mod h1:08lU5gmig6WpUBaUIA07F/pbxjL08Typ+zDDKgGkP90= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= @@ -1146,8 +1146,6 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA= -github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo= github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= diff --git a/docs/docs/build/create-an-app-with-monomer.md b/docs/docs/build/create-an-app-with-monomer.md index f084a439..e167addf 100644 --- a/docs/docs/build/create-an-app-with-monomer.md +++ b/docs/docs/build/create-an-app-with-monomer.md @@ -16,7 +16,7 @@ To generate a new Monomer application with the default configuration, navigate t ```bash rm -rf ~/.testapp \ && rm -rf testapp \ - && go run github.com/polymerdao/monomer/cmd/monogen@v0.1.6 \ + && go run github.com/polymerdao/monomer/cmd/monogen@v0.1.7 \ && cd testapp \ && ./setup-helper.sh ``` diff --git a/go.mod b/go.mod index 1bd3cfab..534e43ed 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,6 @@ require ( github.com/hashicorp/go-multierror v1.1.1 github.com/holiman/uint256 v1.2.4 github.com/prometheus/client_golang v1.19.1 - github.com/samber/lo v1.39.0 github.com/sourcegraph/conc v0.3.0 github.com/spf13/cobra v1.8.1 github.com/spf13/viper v1.18.2 diff --git a/go.sum b/go.sum index d6c5f1b1..283448ac 100644 --- a/go.sum +++ b/go.sum @@ -1055,8 +1055,6 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= -github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA= -github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo= github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= diff --git a/go.work.sum b/go.work.sum index 5af27707..2400f9f2 100644 --- a/go.work.sum +++ b/go.work.sum @@ -2026,7 +2026,6 @@ github.com/polyfloyd/go-errorlint v1.4.8/go.mod h1:NNCxFcFjZcw3xNjVdCchERkEM6Oz7 github.com/polymerdao/monomer v0.0.0-20241009173955-b295a2d82eeb h1:K4fiVj2LYfI/Ez06YTBMcm/356ymCoJ3FKdcoZ4MVrg= github.com/polymerdao/monomer v0.0.0-20241009173955-b295a2d82eeb/go.mod h1:+2GdnXVXmKiOugKxcnWmOhwOSPj1G/FxcruoMHyEr2o= github.com/polymerdao/monomer v0.0.0-20241016225135-dcd82b847b30/go.mod h1:+v6//y9xYUuqTpaOe4b2xDf1UUEL/RNbl1smH+lEfYs= -github.com/polymerdao/monomer v0.1.5/go.mod h1:08lU5gmig6WpUBaUIA07F/pbxjL08Typ+zDDKgGkP90= github.com/posener/complete v1.2.3 h1:NP0eAhjcjImqslEwo/1hq7gpajME0fTLTezBKDqfXqo= github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= @@ -2138,6 +2137,8 @@ github.com/safchain/ethtool v0.3.0/go.mod h1:SA9BwrgyAqNo7M+uaL6IYbxpm5wk3L7Mm6o github.com/sagikazarmark/crypt v0.19.0 h1:WMyLTjHBo64UvNcWqpzY3pbZTYgnemZU8FBZigKc42E= github.com/sagikazarmark/crypt v0.19.0/go.mod h1:c6vimRziqqERhtSe0MhIvzE1w54FrCHtrXb5NH/ja78= github.com/sahilm/fuzzy v0.1.0/go.mod h1:VFvziUEIMCrT6A6tw2RFIXPXXmzXbOsSHF0DOI8ZK9Y= +github.com/samber/lo v1.39.0 h1:4gTz1wUhNYLhFSKl6O+8peW0v2F4BCY034GRpU9WnuA= +github.com/samber/lo v1.39.0/go.mod h1:+m/ZKRl6ClXCE2Lgf3MsQlWfh4bn1bz6CXEOxnEXnEA= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da h1:p3Vo3i64TCLY7gIfzeQaUJ+kppEO5WQG3cL8iE8tGHU= github.com/sanposhiho/wastedassign/v2 v2.0.7 h1:J+6nrY4VW+gC9xFzUc+XjPD3g3wF3je/NsJFwFK7Uxc= github.com/sanposhiho/wastedassign/v2 v2.0.7/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI=