diff --git a/.github/workflows/ci-verifypr.yml b/.github/workflows/ci-verifypr.yml index 8a6ee531..30e743d4 100644 --- a/.github/workflows/ci-verifypr.yml +++ b/.github/workflows/ci-verifypr.yml @@ -14,4 +14,4 @@ jobs: with: go-version: 'stable' - name: "Verify PR" - run: go run github.com/storyprotocol/iliad/scripts/verifypr + run: go run github.com/piplabs/story/scripts/verifypr diff --git a/.github/workflows/pr-e2etest.yml b/.github/workflows/pr-e2etest.yml index bb855ab7..044ce9a1 100644 --- a/.github/workflows/pr-e2etest.yml +++ b/.github/workflows/pr-e2etest.yml @@ -29,7 +29,7 @@ jobs: - name: Run devnet1 e2e test run: | - go install github.com/storyprotocol/iliad/e2e + go install github.com/piplabs/story/e2e cd e2e && ./run-multiple.sh manifests/devnet1.toml - name: Upload failed logs diff --git a/.golangci.yml b/.golangci.yml index ac214312..1d1b57a1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -16,7 +16,7 @@ linters-settings: - prefix(cosmossdk.io) # Cosmos SDK import - prefix(github.com) # Catch-all Github direct imports - prefix(github.com/storyprotocol) # Story - - prefix(github.com/storyprotocol/iliad) # Iliad + - prefix(github.com/piplabs/story) # Iliad - default # All other imports not matched to another section type. - blank # Blank imports custom-order: true @@ -80,7 +80,7 @@ linters-settings: skip-regexp: internal_test\.go # Allow internal tests wrapcheck: ignoreSigs: - - github.com/storyprotocol/iliad/ + - github.com/piplabs/story/ - google.golang.org/grpc/status # No point wrapping gRPC/network errors. - github.com/ethereum/go-ethereum # We wrap these automatically in lib/ethclient - "Errorf" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 37398bd1..e0986b94 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -56,7 +56,7 @@ We are always in need of help, be it fixing documentation, reporting bugs or wri Look at places where you feel best coding practices aren't followed, code refactoring is needed or tests are missing. If you have questions about the development process, -feel free to [file an issue](https://github.com/storyprotocol/iliad/issues/new). +feel free to [file an issue](https://github.com/piplabs/story/issues/new). ## Code Review @@ -66,7 +66,7 @@ To make it easier for your PR to receive reviews, consider the reviewers will ne * write [good commit messages](https://chris.beams.io/posts/git-commit/). * break large changes into a logical series of smaller patches which individually make easily understandable changes, and in aggregate solve a broader issue. -[1]: https://github.com/storyprotocol/iliad/issues +[1]: https://github.com/piplabs/story/issues [2]: https://chris.beams.io/posts/git-commit/#seven-rules [3]: https://www.conventionalcommits.org/en/v1.0.0 [4]: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#type-enum diff --git a/buf.yaml b/buf.yaml index 74f2ab53..24ea8502 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/storyprotocol/iliad +name: buf.build/piplabs/story deps: - buf.build/protocolbuffers/wellknowntypes - buf.build/cosmos/cosmos-sdk diff --git a/client/app/abci.go b/client/app/abci.go index 9ab031b9..3a8c1d2e 100644 --- a/client/app/abci.go +++ b/client/app/abci.go @@ -11,7 +11,7 @@ import ( cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) type postFinalizeCallback func(sdk.Context) error diff --git a/client/app/app.go b/client/app/app.go index 16e86a69..e09622f0 100644 --- a/client/app/app.go +++ b/client/app/app.go @@ -20,10 +20,10 @@ import ( distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/storyprotocol/iliad/client/app/keepers" - "github.com/storyprotocol/iliad/client/comet" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/client/app/keepers" + "github.com/piplabs/story/client/comet" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" _ "cosmossdk.io/api/cosmos/tx/config/v1" // import for side-effects _ "cosmossdk.io/x/upgrade" // import for side-effects diff --git a/client/app/app_config.go b/client/app/app_config.go index fbd231c3..a6f7d711 100644 --- a/client/app/app_config.go +++ b/client/app/app_config.go @@ -30,10 +30,10 @@ import ( slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - evmenginemodule "github.com/storyprotocol/iliad/client/x/evmengine/module" - evmenginetypes "github.com/storyprotocol/iliad/client/x/evmengine/types" - evmstakingmodule "github.com/storyprotocol/iliad/client/x/evmstaking/module" - evmstakingtypes "github.com/storyprotocol/iliad/client/x/evmstaking/types" + evmenginemodule "github.com/piplabs/story/client/x/evmengine/module" + evmenginetypes "github.com/piplabs/story/client/x/evmengine/types" + evmstakingmodule "github.com/piplabs/story/client/x/evmstaking/module" + evmstakingtypes "github.com/piplabs/story/client/x/evmstaking/types" ) // Bech32HRP is the human-readable-part of the Bech32 address format. diff --git a/client/app/cmtlog.go b/client/app/cmtlog.go index 66dd1c67..0027aed4 100644 --- a/client/app/cmtlog.go +++ b/client/app/cmtlog.go @@ -6,8 +6,8 @@ import ( cmtlog "github.com/cometbft/cometbft/libs/log" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) var _ cmtlog.Logger = (*cmtLogger)(nil) diff --git a/client/app/keepers/types.go b/client/app/keepers/types.go index e0d4c7ac..31aeda4f 100644 --- a/client/app/keepers/types.go +++ b/client/app/keepers/types.go @@ -15,8 +15,8 @@ import ( slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - evmengkeeper "github.com/storyprotocol/iliad/client/x/evmengine/keeper" - evmstakingkeeper "github.com/storyprotocol/iliad/client/x/evmstaking/keeper" + evmengkeeper "github.com/piplabs/story/client/x/evmengine/keeper" + evmstakingkeeper "github.com/piplabs/story/client/x/evmstaking/keeper" ) // Keepers includes all possible keepers. We separated it into a separate struct to make it easier to scaffold upgrades. diff --git a/client/app/privkey.go b/client/app/privkey.go index bffafdd9..d83310c0 100644 --- a/client/app/privkey.go +++ b/client/app/privkey.go @@ -8,8 +8,8 @@ import ( "github.com/cometbft/cometbft/privval" "github.com/ethereum/go-ethereum/accounts/keystore" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" ) // loadPrivVal returns a privval.FilePV by loading either a CometBFT priv validator key or an Ethereum keystore file. diff --git a/client/app/prouter.go b/client/app/prouter.go index 8411a59c..c5be482f 100644 --- a/client/app/prouter.go +++ b/client/app/prouter.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // makeProcessProposalHandler creates a new process proposal handler. diff --git a/client/app/rollback.go b/client/app/rollback.go index db8c06cf..60fc1961 100644 --- a/client/app/rollback.go +++ b/client/app/rollback.go @@ -12,8 +12,8 @@ import ( dbm "github.com/cosmos/cosmos-db" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) func Rollback(ctx context.Context, cfg Config, removeBlock bool) error { diff --git a/client/app/sdklog.go b/client/app/sdklog.go index 4fc431b3..687ce342 100644 --- a/client/app/sdklog.go +++ b/client/app/sdklog.go @@ -5,7 +5,7 @@ import ( sdklog "cosmossdk.io/log" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) var _ sdklog.Logger = sdkLogger{} diff --git a/client/app/start.go b/client/app/start.go index 10024fc8..095dfa8f 100644 --- a/client/app/start.go +++ b/client/app/start.go @@ -23,16 +23,16 @@ import ( sdktelemetry "github.com/cosmos/cosmos-sdk/telemetry" "github.com/cosmos/cosmos-sdk/types/mempool" - "github.com/storyprotocol/iliad/client/comet" - iliadcfg "github.com/storyprotocol/iliad/client/config" - apisvr "github.com/storyprotocol/iliad/client/server" - "github.com/storyprotocol/iliad/lib/buildinfo" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tracer" + "github.com/piplabs/story/client/comet" + iliadcfg "github.com/piplabs/story/client/config" + apisvr "github.com/piplabs/story/client/server" + "github.com/piplabs/story/lib/buildinfo" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tracer" ) // Config wraps the iliad (app) and comet (client) configurations. diff --git a/client/app/upgrades.go b/client/app/upgrades.go index f3009586..e1bb1088 100644 --- a/client/app/upgrades.go +++ b/client/app/upgrades.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/app/upgrades" + "github.com/piplabs/story/client/app/upgrades" ) var ( diff --git a/client/app/upgrades/historical.go b/client/app/upgrades/historical.go index 986a829c..923692d9 100644 --- a/client/app/upgrades/historical.go +++ b/client/app/upgrades/historical.go @@ -18,8 +18,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - "github.com/storyprotocol/iliad/client/app/keepers" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/app/keepers" + "github.com/piplabs/story/lib/errors" ) // defaultUpgradeHandler should be used for upgrades that only update the `ConsensusVersion`. diff --git a/client/app/upgrades/types.go b/client/app/upgrades/types.go index 015cc26e..93684a1d 100644 --- a/client/app/upgrades/types.go +++ b/client/app/upgrades/types.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/storyprotocol/iliad/client/app/keepers" + "github.com/piplabs/story/client/app/keepers" ) // Upgrade defines a struct containing necessary fields that a MsgSoftwareUpgrade diff --git a/client/cmd/cmd.go b/client/cmd/cmd.go index 852681d7..6208103e 100644 --- a/client/cmd/cmd.go +++ b/client/cmd/cmd.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/cobra" - "github.com/storyprotocol/iliad/client/app" - iliadcfg "github.com/storyprotocol/iliad/client/config" - "github.com/storyprotocol/iliad/lib/buildinfo" - libcmd "github.com/storyprotocol/iliad/lib/cmd" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/app" + iliadcfg "github.com/piplabs/story/client/config" + "github.com/piplabs/story/lib/buildinfo" + libcmd "github.com/piplabs/story/lib/cmd" + "github.com/piplabs/story/lib/log" ) // New returns a new root cobra command that handles our command line tool. diff --git a/client/cmd/cometconfig.go b/client/cmd/cometconfig.go index 51b8bfea..5ce3a271 100644 --- a/client/cmd/cometconfig.go +++ b/client/cmd/cometconfig.go @@ -8,8 +8,8 @@ import ( cfg "github.com/cometbft/cometbft/config" "github.com/spf13/viper" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) //nolint:gochecknoglobals // Overrides cometbft default moniker for testing. diff --git a/client/cmd/flags.go b/client/cmd/flags.go index 8a5cec8b..886356fb 100644 --- a/client/cmd/flags.go +++ b/client/cmd/flags.go @@ -4,10 +4,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - iliadcfg "github.com/storyprotocol/iliad/client/config" - libcmd "github.com/storyprotocol/iliad/lib/cmd" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tracer" + iliadcfg "github.com/piplabs/story/client/config" + libcmd "github.com/piplabs/story/lib/cmd" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tracer" ) func bindRunFlags(cmd *cobra.Command, cfg *iliadcfg.Config) { diff --git a/client/cmd/genesis.go b/client/cmd/genesis.go index 602fd2d2..0eb7ada4 100644 --- a/client/cmd/genesis.go +++ b/client/cmd/genesis.go @@ -6,8 +6,8 @@ import ( cmttime "github.com/cometbft/cometbft/types/time" cosmostypes "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/genutil" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/client/genutil" + "github.com/piplabs/story/lib/netconf" ) func MakeGenesis(network netconf.ID, valPubKeys ...crypto.PubKey) (*types.GenesisDoc, error) { diff --git a/client/cmd/init.go b/client/cmd/init.go index 0863d555..daa8eaf8 100644 --- a/client/cmd/init.go +++ b/client/cmd/init.go @@ -20,12 +20,12 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/spf13/cobra" - iliadcfg "github.com/storyprotocol/iliad/client/config" - "github.com/storyprotocol/iliad/client/genutil" - libcmd "github.com/storyprotocol/iliad/lib/cmd" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + iliadcfg "github.com/piplabs/story/client/config" + "github.com/piplabs/story/client/genutil" + libcmd "github.com/piplabs/story/lib/cmd" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" ) // InitConfig is the config for the init command. diff --git a/client/cmd/init_internal_test.go b/client/cmd/init_internal_test.go index 5bb91b10..a9bb1f41 100644 --- a/client/cmd/init_internal_test.go +++ b/client/cmd/init_internal_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -run TestInit -golden diff --git a/client/cmd/validator.go b/client/cmd/validator.go index 6f06205f..6184e36a 100644 --- a/client/cmd/validator.go +++ b/client/cmd/validator.go @@ -23,8 +23,8 @@ import ( "github.com/joho/godotenv" "github.com/spf13/cobra" - "github.com/storyprotocol/iliad/client/config" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/config" + "github.com/piplabs/story/lib/errors" _ "embed" ) diff --git a/client/collections/queue.go b/client/collections/queue.go index 0c18072a..7a2272cf 100644 --- a/client/collections/queue.go +++ b/client/collections/queue.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/collections" "cosmossdk.io/collections/codec" - ierrors "github.com/storyprotocol/iliad/lib/errors" + ierrors "github.com/piplabs/story/lib/errors" ) var ( diff --git a/client/comet/comet.go b/client/comet/comet.go index 27ca7b53..c6573af0 100644 --- a/client/comet/comet.go +++ b/client/comet/comet.go @@ -7,9 +7,9 @@ import ( cmttypes "github.com/cometbft/cometbft/types" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/tracer" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/tracer" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" diff --git a/client/config/config.go b/client/config/config.go index f8af1251..f80a381e 100644 --- a/client/config/config.go +++ b/client/config/config.go @@ -14,11 +14,11 @@ import ( cmtos "github.com/cometbft/cometbft/libs/os" db "github.com/cosmos/cosmos-db" - "github.com/storyprotocol/iliad/lib/buildinfo" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tracer" + "github.com/piplabs/story/lib/buildinfo" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tracer" _ "embed" ) diff --git a/client/genutil/evm/evm.go b/client/genutil/evm/evm.go index 0a131bd2..db610fd3 100644 --- a/client/genutil/evm/evm.go +++ b/client/genutil/evm/evm.go @@ -11,10 +11,10 @@ import ( "github.com/ethereum/go-ethereum/miner" "github.com/ethereum/go-ethereum/params" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - "github.com/storyprotocol/iliad/lib/anvil" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/client/genutil/evm/predeploys" + "github.com/piplabs/story/lib/anvil" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/netconf" ) //nolint:unused // added for potential future usage diff --git a/client/genutil/evm/evm_test.go b/client/genutil/evm/evm_test.go index 1d90d237..fa77552f 100644 --- a/client/genutil/evm/evm_test.go +++ b/client/genutil/evm/evm_test.go @@ -5,11 +5,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/client/genutil/evm" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/client/genutil/evm" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" - _ "github.com/storyprotocol/iliad/client/app" // To init SDK config. + _ "github.com/piplabs/story/client/app" // To init SDK config. ) //go:generate go test . -golden -clean diff --git a/client/genutil/evm/predeploys/predeploys.go b/client/genutil/evm/predeploys/predeploys.go index bd66cfdc..b9c7e4e4 100644 --- a/client/genutil/evm/predeploys/predeploys.go +++ b/client/genutil/evm/predeploys/predeploys.go @@ -9,11 +9,11 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/genutil/evm/state" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/solc" + "github.com/piplabs/story/client/genutil/evm/state" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/solc" ) const ( diff --git a/client/genutil/evm/predeploys/predeploys_test.go b/client/genutil/evm/predeploys/predeploys_test.go index a18f0443..55d9cee1 100644 --- a/client/genutil/evm/predeploys/predeploys_test.go +++ b/client/genutil/evm/predeploys/predeploys_test.go @@ -8,8 +8,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - "github.com/storyprotocol/iliad/contracts/bindings" + "github.com/piplabs/story/client/genutil/evm/predeploys" + "github.com/piplabs/story/contracts/bindings" ) var ( diff --git a/client/genutil/evm/state/state.go b/client/genutil/evm/state/state.go index a174f1f9..fc5ae293 100644 --- a/client/genutil/evm/state/state.go +++ b/client/genutil/evm/state/state.go @@ -5,8 +5,8 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/solc" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/solc" ) type StorageValues map[string]any diff --git a/client/genutil/genutil.go b/client/genutil/genutil.go index 34b8b9a9..7023b8f8 100644 --- a/client/genutil/genutil.go +++ b/client/genutil/genutil.go @@ -27,12 +27,12 @@ import ( "github.com/cosmos/gogoproto/proto" "github.com/ethereum/go-ethereum/common" - evmenginetypes "github.com/storyprotocol/iliad/client/x/evmengine/types" - evmstakingtypes "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/buildinfo" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/netconf" + evmenginetypes "github.com/piplabs/story/client/x/evmengine/types" + evmstakingtypes "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/buildinfo" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/netconf" ) // slashingWindows overrides the default slashing signed_blocks_window from 100 to 1000 diff --git a/client/genutil/genutil_internal_test.go b/client/genutil/genutil_internal_test.go index e6933184..82cb3ebb 100644 --- a/client/genutil/genutil_internal_test.go +++ b/client/genutil/genutil_internal_test.go @@ -9,7 +9,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/stretchr/testify/require" - etypes "github.com/storyprotocol/iliad/client/x/evmengine/types" + etypes "github.com/piplabs/story/client/x/evmengine/types" ) func TestDefaultConsensusParams(t *testing.T) { diff --git a/client/main.go b/client/main.go index 2cfbdc3f..fa102f7c 100644 --- a/client/main.go +++ b/client/main.go @@ -2,8 +2,8 @@ package main import ( - iliadcmd "github.com/storyprotocol/iliad/client/cmd" - libcmd "github.com/storyprotocol/iliad/lib/cmd" + iliadcmd "github.com/piplabs/story/client/cmd" + libcmd "github.com/piplabs/story/lib/cmd" ) func main() { diff --git a/client/server/auth.go b/client/server/auth.go index bb6409da..3288502f 100644 --- a/client/server/auth.go +++ b/client/server/auth.go @@ -10,7 +10,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/gorilla/mux" - "github.com/storyprotocol/iliad/client/server/utils" + "github.com/piplabs/story/client/server/utils" ) func (s *Server) initAuthRoute() { diff --git a/client/server/bank.go b/client/server/bank.go index cc5c9f0f..db77384e 100644 --- a/client/server/bank.go +++ b/client/server/bank.go @@ -8,7 +8,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/gorilla/mux" - "github.com/storyprotocol/iliad/client/server/utils" + "github.com/piplabs/story/client/server/utils" ) func (s *Server) initBankRoute() { diff --git a/client/server/cometbft.go b/client/server/cometbft.go index 4a725752..2cdbc226 100644 --- a/client/server/cometbft.go +++ b/client/server/cometbft.go @@ -7,8 +7,8 @@ import ( abcitypes "github.com/cometbft/cometbft/abci/types" - "github.com/storyprotocol/iliad/client/server/utils" - liberrors "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/server/utils" + liberrors "github.com/piplabs/story/lib/errors" ) func (s *Server) initComeBFTRoute() { diff --git a/client/server/distribution.go b/client/server/distribution.go index 17ed1295..e5315216 100644 --- a/client/server/distribution.go +++ b/client/server/distribution.go @@ -11,7 +11,7 @@ import ( distributiontypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/gorilla/mux" - "github.com/storyprotocol/iliad/client/server/utils" + "github.com/piplabs/story/client/server/utils" ) func (s *Server) initDistributionRoute() { diff --git a/client/server/staking.go b/client/server/staking.go index 6b8e6c57..9fe17472 100644 --- a/client/server/staking.go +++ b/client/server/staking.go @@ -9,7 +9,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/gorilla/mux" - "github.com/storyprotocol/iliad/client/server/utils" + "github.com/piplabs/story/client/server/utils" ) func (s *Server) initStakingRoute() { diff --git a/client/server/upgrade.go b/client/server/upgrade.go index 0e991ac9..4766d5bc 100644 --- a/client/server/upgrade.go +++ b/client/server/upgrade.go @@ -6,7 +6,7 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/storyprotocol/iliad/client/server/utils" + "github.com/piplabs/story/client/server/utils" ) func (s *Server) initUpgradeRoute() { diff --git a/client/x/evmengine/keeper/abci.go b/client/x/evmengine/keeper/abci.go index 1999ffe8..edf8b041 100644 --- a/client/x/evmengine/keeper/abci.go +++ b/client/x/evmengine/keeper/abci.go @@ -15,9 +15,9 @@ import ( "github.com/ethereum/go-ethereum/common" etypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // PrepareProposal returns a proposal for the next block. diff --git a/client/x/evmengine/keeper/abci_internal_test.go b/client/x/evmengine/keeper/abci_internal_test.go index 06672988..0fd30ee5 100644 --- a/client/x/evmengine/keeper/abci_internal_test.go +++ b/client/x/evmengine/keeper/abci_internal_test.go @@ -38,10 +38,10 @@ import ( fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/require" - moduletestutil "github.com/storyprotocol/iliad/client/x/evmengine/testutil" - etypes "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/ethclient/mock" + moduletestutil "github.com/piplabs/story/client/x/evmengine/testutil" + etypes "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/ethclient/mock" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmengine/keeper/db.go b/client/x/evmengine/keeper/db.go index d8f5dcae..b9c8f193 100644 --- a/client/x/evmengine/keeper/db.go +++ b/client/x/evmengine/keeper/db.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/beacon/engine" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) func (h *ExecutionHead) Hash() common.Hash { diff --git a/client/x/evmengine/keeper/evmmsgs.go b/client/x/evmengine/keeper/evmmsgs.go index 2aa8d0c3..5b2d28f8 100644 --- a/client/x/evmengine/keeper/evmmsgs.go +++ b/client/x/evmengine/keeper/evmmsgs.go @@ -9,9 +9,9 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/genutil/evm/predeploys" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" ) // evmEvents returns selected EVM log events from the provided block hash. diff --git a/client/x/evmengine/keeper/genesis.go b/client/x/evmengine/keeper/genesis.go index 65deeb75..4622ee04 100644 --- a/client/x/evmengine/keeper/genesis.go +++ b/client/x/evmengine/keeper/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" ) func (k *Keeper) InitGenesis(ctx context.Context, gs *types.GenesisState) error { diff --git a/client/x/evmengine/keeper/helpers.go b/client/x/evmengine/keeper/helpers.go index 1c4215f0..8a095cb6 100644 --- a/client/x/evmengine/keeper/helpers.go +++ b/client/x/evmengine/keeper/helpers.go @@ -4,8 +4,8 @@ import ( "context" "sync" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/expbackoff" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/expbackoff" ) // backoffFunc aliased for testing. diff --git a/client/x/evmengine/keeper/hooks.go b/client/x/evmengine/keeper/hooks.go index 561c88a9..83b9a049 100644 --- a/client/x/evmengine/keeper/hooks.go +++ b/client/x/evmengine/keeper/hooks.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) var _ types.StakingHooks = Hooks{} diff --git a/client/x/evmengine/keeper/keeper.go b/client/x/evmengine/keeper/keeper.go index 24b42675..1737f7f0 100644 --- a/client/x/evmengine/keeper/keeper.go +++ b/client/x/evmengine/keeper/keeper.go @@ -18,13 +18,13 @@ import ( "github.com/ethereum/go-ethereum/beacon/engine" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/client/comet" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/client/comet" + "github.com/piplabs/story/client/genutil/evm/predeploys" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/k1util" ) type Keeper struct { diff --git a/client/x/evmengine/keeper/keeper_internal_test.go b/client/x/evmengine/keeper/keeper_internal_test.go index 6185fad4..e06875a6 100644 --- a/client/x/evmengine/keeper/keeper_internal_test.go +++ b/client/x/evmengine/keeper/keeper_internal_test.go @@ -12,11 +12,11 @@ import ( fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/client/comet" - moduletestutil "github.com/storyprotocol/iliad/client/x/evmengine/testutil" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient/mock" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/client/comet" + moduletestutil "github.com/piplabs/story/client/x/evmengine/testutil" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient/mock" + "github.com/piplabs/story/lib/k1util" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmengine/keeper/msg_server.go b/client/x/evmengine/keeper/msg_server.go index 96424fd0..01591507 100644 --- a/client/x/evmengine/keeper/msg_server.go +++ b/client/x/evmengine/keeper/msg_server.go @@ -8,10 +8,10 @@ import ( "github.com/ethereum/go-ethereum/common" etypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/log" ) type msgServer struct { diff --git a/client/x/evmengine/keeper/msg_server_internal_test.go b/client/x/evmengine/keeper/msg_server_internal_test.go index c852168b..ab0206f4 100644 --- a/client/x/evmengine/keeper/msg_server_internal_test.go +++ b/client/x/evmengine/keeper/msg_server_internal_test.go @@ -16,13 +16,13 @@ import ( etypes "github.com/ethereum/go-ethereum/core/types" "github.com/stretchr/testify/require" - moduletestutil "github.com/storyprotocol/iliad/client/x/evmengine/testutil" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/ethclient/mock" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/tutil" + moduletestutil "github.com/piplabs/story/client/x/evmengine/testutil" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/ethclient/mock" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/tutil" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmengine/keeper/params.go b/client/x/evmengine/keeper/params.go index 9d858969..3a42d4f0 100644 --- a/client/x/evmengine/keeper/params.go +++ b/client/x/evmengine/keeper/params.go @@ -3,8 +3,8 @@ package keeper import ( "context" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" ) // ExecutionBlockHash returns the genesis execution block hash. diff --git a/client/x/evmengine/keeper/proposal_server.go b/client/x/evmengine/keeper/proposal_server.go index f1119dfd..2f758c09 100644 --- a/client/x/evmengine/keeper/proposal_server.go +++ b/client/x/evmengine/keeper/proposal_server.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/gogoproto/proto" etypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) type proposalServer struct { diff --git a/client/x/evmengine/keeper/proposal_server_internal_test.go b/client/x/evmengine/keeper/proposal_server_internal_test.go index b4f16b36..cf093770 100644 --- a/client/x/evmengine/keeper/proposal_server_internal_test.go +++ b/client/x/evmengine/keeper/proposal_server_internal_test.go @@ -14,12 +14,12 @@ import ( etypes "github.com/ethereum/go-ethereum/core/types" "github.com/stretchr/testify/require" - moduletestutil "github.com/storyprotocol/iliad/client/x/evmengine/testutil" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/ethclient/mock" - "github.com/storyprotocol/iliad/lib/expbackoff" - "github.com/storyprotocol/iliad/lib/tutil" + moduletestutil "github.com/piplabs/story/client/x/evmengine/testutil" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/ethclient/mock" + "github.com/piplabs/story/lib/expbackoff" + "github.com/piplabs/story/lib/tutil" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmengine/keeper/upgrades.go b/client/x/evmengine/keeper/upgrades.go index 9943e8f3..7239b07c 100644 --- a/client/x/evmengine/keeper/upgrades.go +++ b/client/x/evmengine/keeper/upgrades.go @@ -5,10 +5,10 @@ import ( upgradetypes "cosmossdk.io/x/upgrade/types" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - clog "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + clog "github.com/piplabs/story/lib/log" ) func (k *Keeper) ProcessUpgradeEvents(ctx context.Context, height uint64, logs []*types.EVMEvent) error { diff --git a/client/x/evmengine/module/depinject.go b/client/x/evmengine/module/depinject.go index a26741e1..25b66a39 100644 --- a/client/x/evmengine/module/depinject.go +++ b/client/x/evmengine/module/depinject.go @@ -9,9 +9,9 @@ import ( "github.com/cosmos/cosmos-sdk/codec" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/storyprotocol/iliad/client/x/evmengine/keeper" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/client/x/evmengine/keeper" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/ethclient" ) //nolint:gochecknoinits // Cosmos-style diff --git a/client/x/evmengine/module/module.go b/client/x/evmengine/module/module.go index c1b9caa7..a19bb828 100644 --- a/client/x/evmengine/module/module.go +++ b/client/x/evmengine/module/module.go @@ -13,9 +13,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/storyprotocol/iliad/client/x/evmengine/keeper" - "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/x/evmengine/keeper" + "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/lib/errors" ) var ( diff --git a/client/x/evmengine/module/module.proto b/client/x/evmengine/module/module.proto index d15ee14a..ab7b6477 100644 --- a/client/x/evmengine/module/module.proto +++ b/client/x/evmengine/module/module.proto @@ -9,7 +9,7 @@ option go_package = "client/x/evmengine/module"; // Module is the config object for the module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import: "github.com/storyprotocol/iliad/client/x/evmengine" + go_import: "github.com/piplabs/story/client/x/evmengine" }; // authority defines the custom module authority. If not set, defaults to the governance module. diff --git a/client/x/evmengine/testutil/expected_keepers_mocks.go b/client/x/evmengine/testutil/expected_keepers_mocks.go index 852d4729..55352c99 100644 --- a/client/x/evmengine/testutil/expected_keepers_mocks.go +++ b/client/x/evmengine/testutil/expected_keepers_mocks.go @@ -16,8 +16,8 @@ import ( types "cosmossdk.io/x/upgrade/types" types0 "github.com/cosmos/cosmos-sdk/types" types1 "github.com/ethereum/go-ethereum/core/types" - types2 "github.com/storyprotocol/iliad/client/x/evmengine/types" - bindings "github.com/storyprotocol/iliad/contracts/bindings" + types2 "github.com/piplabs/story/client/x/evmengine/types" + bindings "github.com/piplabs/story/contracts/bindings" gomock "go.uber.org/mock/gomock" ) diff --git a/client/x/evmengine/types/expected_keepers.go b/client/x/evmengine/types/expected_keepers.go index cd6cf48f..59ca321f 100644 --- a/client/x/evmengine/types/expected_keepers.go +++ b/client/x/evmengine/types/expected_keepers.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/contracts/bindings" + "github.com/piplabs/story/contracts/bindings" ) type AccountKeeper interface { diff --git a/client/x/evmengine/types/params.go b/client/x/evmengine/types/params.go index 737f9828..70c8970f 100644 --- a/client/x/evmengine/types/params.go +++ b/client/x/evmengine/types/params.go @@ -3,7 +3,7 @@ package types import ( "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // NewParams creates a new Params instance. diff --git a/client/x/evmengine/types/tx.go b/client/x/evmengine/types/tx.go index 697be61b..03bc0bb3 100644 --- a/client/x/evmengine/types/tx.go +++ b/client/x/evmengine/types/tx.go @@ -4,7 +4,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // ToEthLog converts an EVMEvent to an Ethereum Log. diff --git a/client/x/evmengine/types/upgrade_contract.go b/client/x/evmengine/types/upgrade_contract.go index b5689fa6..b0b2db49 100644 --- a/client/x/evmengine/types/upgrade_contract.go +++ b/client/x/evmengine/types/upgrade_contract.go @@ -4,7 +4,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/storyprotocol/iliad/contracts/bindings" + "github.com/piplabs/story/contracts/bindings" ) var ( diff --git a/client/x/evmstaking/keeper/abci.go b/client/x/evmstaking/keeper/abci.go index 74c35559..76cdce7f 100644 --- a/client/x/evmstaking/keeper/abci.go +++ b/client/x/evmstaking/keeper/abci.go @@ -10,9 +10,9 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) type UnbondedEntry struct { diff --git a/client/x/evmstaking/keeper/deposit.go b/client/x/evmstaking/keeper/deposit.go index d987c55a..7cd397ca 100644 --- a/client/x/evmstaking/keeper/deposit.go +++ b/client/x/evmstaking/keeper/deposit.go @@ -8,11 +8,11 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" ) func (k Keeper) ProcessDeposit(ctx context.Context, ev *bindings.IPTokenStakingDeposit) error { diff --git a/client/x/evmstaking/keeper/genesis.go b/client/x/evmstaking/keeper/genesis.go index c8de651f..d6d61409 100644 --- a/client/x/evmstaking/keeper/genesis.go +++ b/client/x/evmstaking/keeper/genesis.go @@ -6,10 +6,10 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" ) func (k Keeper) InitGenesis(ctx context.Context, gs *types.GenesisState) error { diff --git a/client/x/evmstaking/keeper/grpc_query.go b/client/x/evmstaking/keeper/grpc_query.go index 308648ef..13c942bd 100644 --- a/client/x/evmstaking/keeper/grpc_query.go +++ b/client/x/evmstaking/keeper/grpc_query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/runtime" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" + "github.com/piplabs/story/client/x/evmstaking/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/client/x/evmstaking/keeper/keeper.go b/client/x/evmstaking/keeper/keeper.go index f7637f6c..cb87169d 100644 --- a/client/x/evmstaking/keeper/keeper.go +++ b/client/x/evmstaking/keeper/keeper.go @@ -14,14 +14,14 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - addcollections "github.com/storyprotocol/iliad/client/collections" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - evmenginetypes "github.com/storyprotocol/iliad/client/x/evmengine/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - clog "github.com/storyprotocol/iliad/lib/log" + addcollections "github.com/piplabs/story/client/collections" + "github.com/piplabs/story/client/genutil/evm/predeploys" + evmenginetypes "github.com/piplabs/story/client/x/evmengine/types" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + clog "github.com/piplabs/story/lib/log" ) // Keeper of the x/evmstaking store. diff --git a/client/x/evmstaking/keeper/keeper_test.go b/client/x/evmstaking/keeper/keeper_test.go index 8acb1cc0..c46828b5 100644 --- a/client/x/evmstaking/keeper/keeper_test.go +++ b/client/x/evmstaking/keeper/keeper_test.go @@ -24,11 +24,11 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/suite" - "github.com/storyprotocol/iliad/client/x/evmstaking/keeper" - "github.com/storyprotocol/iliad/client/x/evmstaking/module" - estestutil "github.com/storyprotocol/iliad/client/x/evmstaking/testutil" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/client/x/evmstaking/keeper" + "github.com/piplabs/story/client/x/evmstaking/module" + estestutil "github.com/piplabs/story/client/x/evmstaking/testutil" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/ethclient" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmstaking/keeper/msg_server.go b/client/x/evmstaking/keeper/msg_server.go index f416b23e..00dab721 100644 --- a/client/x/evmstaking/keeper/msg_server.go +++ b/client/x/evmstaking/keeper/msg_server.go @@ -9,7 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" + "github.com/piplabs/story/client/x/evmstaking/types" ) type msgServer struct { diff --git a/client/x/evmstaking/keeper/params.go b/client/x/evmstaking/keeper/params.go index 39f8fc22..a500fed5 100644 --- a/client/x/evmstaking/keeper/params.go +++ b/client/x/evmstaking/keeper/params.go @@ -7,8 +7,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/errors" ) func (k Keeper) MaxWithdrawalPerBlock(ctx context.Context) (uint32, error) { diff --git a/client/x/evmstaking/keeper/redelegation.go b/client/x/evmstaking/keeper/redelegation.go index 2a6f4815..a765fd2d 100644 --- a/client/x/evmstaking/keeper/redelegation.go +++ b/client/x/evmstaking/keeper/redelegation.go @@ -8,10 +8,10 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" ) func (k Keeper) ProcessRedelegate(ctx context.Context, ev *bindings.IPTokenStakingRedelegate) error { diff --git a/client/x/evmstaking/keeper/redelegation_test.go b/client/x/evmstaking/keeper/redelegation_test.go index 02f6cd8e..79ae8ec6 100644 --- a/client/x/evmstaking/keeper/redelegation_test.go +++ b/client/x/evmstaking/keeper/redelegation_test.go @@ -11,8 +11,8 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" gethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/k1util" "go.uber.org/mock/gomock" ) diff --git a/client/x/evmstaking/keeper/set_address.go b/client/x/evmstaking/keeper/set_address.go index a9c2190e..c8f1a276 100644 --- a/client/x/evmstaking/keeper/set_address.go +++ b/client/x/evmstaking/keeper/set_address.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" ) func (k Keeper) ProcessSetWithdrawalAddress(ctx context.Context, ev *bindings.IPTokenStakingSetWithdrawalAddress) error { diff --git a/client/x/evmstaking/keeper/staking_queue.go b/client/x/evmstaking/keeper/staking_queue.go index a2f6f623..b2ffda03 100644 --- a/client/x/evmstaking/keeper/staking_queue.go +++ b/client/x/evmstaking/keeper/staking_queue.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" stypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Modified from https://github.com/cosmos/cosmos-sdk/blob/v0.50.7/x/staking/keeper/delegation.go#L521 diff --git a/client/x/evmstaking/keeper/unjail.go b/client/x/evmstaking/keeper/unjail.go index 426d8c0a..4504325a 100644 --- a/client/x/evmstaking/keeper/unjail.go +++ b/client/x/evmstaking/keeper/unjail.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" ) func (k Keeper) ProcessUnjail(ctx context.Context, ev *bindings.IPTokenSlashingUnjail) error { diff --git a/client/x/evmstaking/keeper/validator.go b/client/x/evmstaking/keeper/validator.go index e6a3d0c8..9d05f98c 100644 --- a/client/x/evmstaking/keeper/validator.go +++ b/client/x/evmstaking/keeper/validator.go @@ -10,11 +10,11 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" ) func (k Keeper) ProcessCreateValidator(ctx context.Context, ev *bindings.IPTokenStakingCreateValidator) error { diff --git a/client/x/evmstaking/keeper/withdraw.go b/client/x/evmstaking/keeper/withdraw.go index f521a80b..da942edd 100644 --- a/client/x/evmstaking/keeper/withdraw.go +++ b/client/x/evmstaking/keeper/withdraw.go @@ -11,12 +11,12 @@ import ( stypes "github.com/cosmos/cosmos-sdk/x/staking/types" ethtypes "github.com/ethereum/go-ethereum/core/types" - estypes "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/promutil" + estypes "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/promutil" ) func (k Keeper) ExpectedPartialWithdrawals(ctx context.Context) ([]estypes.Withdrawal, error) { diff --git a/client/x/evmstaking/keeper/withdrawal_queue.go b/client/x/evmstaking/keeper/withdrawal_queue.go index eee0ad70..690c3e74 100644 --- a/client/x/evmstaking/keeper/withdrawal_queue.go +++ b/client/x/evmstaking/keeper/withdrawal_queue.go @@ -7,9 +7,9 @@ import ( "github.com/ethereum/go-ethereum/common" etypes "github.com/ethereum/go-ethereum/core/types" - addcollections "github.com/storyprotocol/iliad/client/collections" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/log" + addcollections "github.com/piplabs/story/client/collections" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/log" ) // AddWithdrawalToQueue inserts a withdrawal into the queue. diff --git a/client/x/evmstaking/module/depinject.go b/client/x/evmstaking/module/depinject.go index 5fdcbcff..ff9248e3 100644 --- a/client/x/evmstaking/module/depinject.go +++ b/client/x/evmstaking/module/depinject.go @@ -10,9 +10,9 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/storyprotocol/iliad/client/x/evmstaking/keeper" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/client/x/evmstaking/keeper" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/ethclient" ) //nolint:gochecknoinits // depinject diff --git a/client/x/evmstaking/module/module.go b/client/x/evmstaking/module/module.go index adc28691..699f9fa3 100644 --- a/client/x/evmstaking/module/module.go +++ b/client/x/evmstaking/module/module.go @@ -15,9 +15,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/storyprotocol/iliad/client/x/evmstaking/keeper" - "github.com/storyprotocol/iliad/client/x/evmstaking/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/client/x/evmstaking/keeper" + "github.com/piplabs/story/client/x/evmstaking/types" + "github.com/piplabs/story/lib/errors" ) var ( diff --git a/client/x/evmstaking/module/module.proto b/client/x/evmstaking/module/module.proto index a100744b..5b484caa 100644 --- a/client/x/evmstaking/module/module.proto +++ b/client/x/evmstaking/module/module.proto @@ -8,7 +8,7 @@ option go_package = "client/x/evmstaking/module"; // ModuleName is the config object for the evmstaking module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import: "github.com/storyprotocol/iliad/client/x/evmstaking" + go_import: "github.com/piplabs/story/client/x/evmstaking" }; // authority defines the custom module authority. If not set, defaults to the governance module. diff --git a/client/x/evmstaking/types/params.go b/client/x/evmstaking/types/params.go index f8a78097..30191e5c 100644 --- a/client/x/evmstaking/types/params.go +++ b/client/x/evmstaking/types/params.go @@ -5,7 +5,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Staking params default values. diff --git a/client/x/evmstaking/types/slashing_contract.go b/client/x/evmstaking/types/slashing_contract.go index 50b2ac14..28c3db38 100644 --- a/client/x/evmstaking/types/slashing_contract.go +++ b/client/x/evmstaking/types/slashing_contract.go @@ -1,7 +1,7 @@ package types import ( - "github.com/storyprotocol/iliad/contracts/bindings" + "github.com/piplabs/story/contracts/bindings" ) var ( diff --git a/client/x/evmstaking/types/staking_contract.go b/client/x/evmstaking/types/staking_contract.go index 85f675a4..2ed33c59 100644 --- a/client/x/evmstaking/types/staking_contract.go +++ b/client/x/evmstaking/types/staking_contract.go @@ -4,7 +4,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/accounts/abi/bind" - "github.com/storyprotocol/iliad/contracts/bindings" + "github.com/piplabs/story/contracts/bindings" ) var ( diff --git a/client/x/evmstaking/types/withdraw.go b/client/x/evmstaking/types/withdraw.go index 4c10d1c1..00bc1994 100644 --- a/client/x/evmstaking/types/withdraw.go +++ b/client/x/evmstaking/types/withdraw.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Withdrawals is a collection of Withdrawal. diff --git a/contracts/bindings/scripts/commenttypes.go b/contracts/bindings/scripts/commenttypes.go index 17161fe5..24fb3a27 100644 --- a/contracts/bindings/scripts/commenttypes.go +++ b/contracts/bindings/scripts/commenttypes.go @@ -9,7 +9,7 @@ import ( "os" "strings" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) func main() { diff --git a/contracts/bindings/utils.go b/contracts/bindings/utils.go index ab45ff0d..4d7455ee 100644 --- a/contracts/bindings/utils.go +++ b/contracts/bindings/utils.go @@ -3,7 +3,7 @@ package bindings import ( "encoding/json" - "github.com/storyprotocol/iliad/lib/solc" + "github.com/piplabs/story/lib/solc" ) func mustGetStorageLayout(data []byte) solc.StorageLayout { diff --git a/contracts/package.json b/contracts/package.json index 23fe0b11..e4f88752 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,8 +1,8 @@ { - "name": "@storyprotocol/iliad-contracts", + "name": "@piplabs/story-contracts", "version": "0.1.0-alpha.0", "license": "GPL-3.0-only", - "repository": "https://github.com/storyprotocol/iliad/contracts", + "repository": "https://github.com/piplabs/story/contracts", "packageManager": "pnpm@9.1.0", "files": [ "src/**/*.sol", diff --git a/e2e/README.md b/e2e/README.md index f2476025..8a1782b0 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -5,7 +5,7 @@ Spins up and tests Iliad devnets in Docker Compose based on a testnet manifest. ```sh # In repo root # Install the e2e app -go install github.com/storyprotocol/iliad/e2e +go install github.com/piplabs/story/e2e # Build docker image of the code to test. make build-docker diff --git a/e2e/app/agent/prometheus.go b/e2e/app/agent/prometheus.go index d3f45da9..fdbc8146 100644 --- a/e2e/app/agent/prometheus.go +++ b/e2e/app/agent/prometheus.go @@ -10,10 +10,10 @@ import ( "strings" "text/template" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" _ "embed" ) diff --git a/e2e/app/agent/prometheus_internal_test.go b/e2e/app/agent/prometheus_internal_test.go index 55ead955..19220ea6 100644 --- a/e2e/app/agent/prometheus_internal_test.go +++ b/e2e/app/agent/prometheus_internal_test.go @@ -7,9 +7,9 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -golden -clean diff --git a/e2e/app/cleanup.go b/e2e/app/cleanup.go index f3cd5016..50305370 100644 --- a/e2e/app/cleanup.go +++ b/e2e/app/cleanup.go @@ -9,8 +9,8 @@ import ( "github.com/cometbft/cometbft/test/e2e/pkg/infra/docker" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // CleanInfra stops and removes the infra containers. diff --git a/e2e/app/create3.go b/e2e/app/create3.go index 020437c7..cb4c5b99 100644 --- a/e2e/app/create3.go +++ b/e2e/app/create3.go @@ -6,9 +6,9 @@ import ( "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/lib/contracts/create3" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/contracts/create3" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) type Create3DeployConfig struct { diff --git a/e2e/app/definition.go b/e2e/app/definition.go index 96574582..5205785f 100644 --- a/e2e/app/definition.go +++ b/e2e/app/definition.go @@ -14,16 +14,16 @@ import ( "github.com/cometbft/cometbft/test/e2e/pkg/exec" "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/storyprotocol/iliad/e2e/app/agent" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/e2e/docker" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/e2e/vmcompose" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient/ethbackend" - "github.com/storyprotocol/iliad/lib/fireblocks" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/e2e/app/agent" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/e2e/docker" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/e2e/vmcompose" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient/ethbackend" + "github.com/piplabs/story/lib/fireblocks" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" ) const iliadConsensus = "iliad_consensus" diff --git a/e2e/app/eoa/eoa.go b/e2e/app/eoa/eoa.go index 0d017958..ea804ac1 100644 --- a/e2e/app/eoa/eoa.go +++ b/e2e/app/eoa/eoa.go @@ -7,9 +7,9 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/netconf" ) type Role string diff --git a/e2e/app/eoa/fund.go b/e2e/app/eoa/fund.go index 8a101ae4..181bd9fb 100644 --- a/e2e/app/eoa/fund.go +++ b/e2e/app/eoa/fund.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/params" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/netconf" ) var ( diff --git a/e2e/app/eoa/static.go b/e2e/app/eoa/static.go index b8aea29c..9440fe2b 100644 --- a/e2e/app/eoa/static.go +++ b/e2e/app/eoa/static.go @@ -1,8 +1,8 @@ package eoa import ( - "github.com/storyprotocol/iliad/lib/anvil" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/anvil" + "github.com/piplabs/story/lib/netconf" ) const ( diff --git a/e2e/app/fund.go b/e2e/app/fund.go index 99ef503e..a236c1b8 100644 --- a/e2e/app/fund.go +++ b/e2e/app/fund.go @@ -9,12 +9,12 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/params" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/lib/anvil" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/txmgr" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/lib/anvil" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/txmgr" ) const saneMaxEther = 20 // Maximum amount to fund in ether. // TODO(corver): Increase this. diff --git a/e2e/app/geth/config.go b/e2e/app/geth/config.go index 8d843bf2..e91a641d 100644 --- a/e2e/app/geth/config.go +++ b/e2e/app/geth/config.go @@ -11,8 +11,8 @@ import ( ethcrypto "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/eth/downloader" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" ) // WriteAllConfig writes all the geth config files for all iliadEVMs. diff --git a/e2e/app/geth/config_internal_test.go b/e2e/app/geth/config_internal_test.go index 0c5aeacb..293493c0 100644 --- a/e2e/app/geth/config_internal_test.go +++ b/e2e/app/geth/config_internal_test.go @@ -12,7 +12,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -golden -clean diff --git a/e2e/app/geth/types.go b/e2e/app/geth/types.go index 8372d06b..5d7228ef 100644 --- a/e2e/app/geth/types.go +++ b/e2e/app/geth/types.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/naoina/toml" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Version defines the geth version deployed to all networks. diff --git a/e2e/app/key/gcp.go b/e2e/app/key/gcp.go index 9ec1c0ef..4d74d241 100644 --- a/e2e/app/key/gcp.go +++ b/e2e/app/key/gcp.go @@ -7,7 +7,7 @@ import ( "encoding/json" "os/exec" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // createGCPSecret creates a new GCP Secret Manager secret. diff --git a/e2e/app/key/key.go b/e2e/app/key/key.go index be842f5d..2a5e21d4 100644 --- a/e2e/app/key/key.go +++ b/e2e/app/key/key.go @@ -8,9 +8,9 @@ import ( k1 "github.com/cometbft/cometbft/crypto/secp256k1" ethcrypto "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/netconf" ) // Type represents the type of cryptographic key. diff --git a/e2e/app/key/key_internal_test.go b/e2e/app/key/key_internal_test.go index 9978fca3..1f1bc711 100644 --- a/e2e/app/key/key_internal_test.go +++ b/e2e/app/key/key_internal_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/netconf" ) func DeleteSecretForT(ctx context.Context, t *testing.T, network netconf.ID, name string, typ Type, addr string) { diff --git a/e2e/app/key/key_test.go b/e2e/app/key/key_test.go index c68182ff..02c838d9 100644 --- a/e2e/app/key/key_test.go +++ b/e2e/app/key/key_test.go @@ -9,9 +9,9 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" ) func TestKeys(t *testing.T) { diff --git a/e2e/app/key/upload.go b/e2e/app/key/upload.go index 4eeb9076..bd4086b4 100644 --- a/e2e/app/key/upload.go +++ b/e2e/app/key/upload.go @@ -3,9 +3,9 @@ package key import ( "context" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" ) // UploadConfig is the configuration for uploading a key. diff --git a/e2e/app/perturb.go b/e2e/app/perturb.go index a580b463..23a26d07 100644 --- a/e2e/app/perturb.go +++ b/e2e/app/perturb.go @@ -8,9 +8,9 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" "github.com/cometbft/cometbft/test/e2e/pkg/infra/docker" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // perturb the running testnet. diff --git a/e2e/app/rpc.go b/e2e/app/rpc.go index a73a28cd..4a2c08b4 100644 --- a/e2e/app/rpc.go +++ b/e2e/app/rpc.go @@ -10,8 +10,8 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" "github.com/cometbft/cometbft/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // waitForHeight waits for the network to reach a certain height (or above), diff --git a/e2e/app/run.go b/e2e/app/run.go index 83bf7a52..d9438821 100644 --- a/e2e/app/run.go +++ b/e2e/app/run.go @@ -3,9 +3,9 @@ package app import ( "context" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) func DefaultDeployConfig() DeployConfig { diff --git a/e2e/app/setup.go b/e2e/app/setup.go index 02ad116b..b85e7bd7 100644 --- a/e2e/app/setup.go +++ b/e2e/app/setup.go @@ -15,18 +15,18 @@ import ( "github.com/cometbft/cometbft/privval" e2e "github.com/cometbft/cometbft/test/e2e/pkg" - iliadcmd "github.com/storyprotocol/iliad/client/cmd" - iliadcfg "github.com/storyprotocol/iliad/client/config" - "github.com/storyprotocol/iliad/client/genutil" - evmgenutil "github.com/storyprotocol/iliad/client/genutil/evm" - "github.com/storyprotocol/iliad/e2e/app/agent" - "github.com/storyprotocol/iliad/e2e/app/geth" - "github.com/storyprotocol/iliad/e2e/app/static" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/e2e/vmcompose" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + iliadcmd "github.com/piplabs/story/client/cmd" + iliadcfg "github.com/piplabs/story/client/config" + "github.com/piplabs/story/client/genutil" + evmgenutil "github.com/piplabs/story/client/genutil/evm" + "github.com/piplabs/story/e2e/app/agent" + "github.com/piplabs/story/e2e/app/geth" + "github.com/piplabs/story/e2e/app/static" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/e2e/vmcompose" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" _ "embed" // Embed requires blank import ) diff --git a/e2e/app/setup_internal_test.go b/e2e/app/setup_internal_test.go index 867dfdb6..b414567d 100644 --- a/e2e/app/setup_internal_test.go +++ b/e2e/app/setup_internal_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -golden -clean diff --git a/e2e/app/start.go b/e2e/app/start.go index d6de41ef..982fc29f 100644 --- a/e2e/app/start.go +++ b/e2e/app/start.go @@ -10,8 +10,8 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" "github.com/cometbft/cometbft/test/e2e/pkg/infra" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // StartInitial starts the initial nodes (start_at==0). diff --git a/e2e/app/test.go b/e2e/app/test.go index 27fc2174..58234db0 100644 --- a/e2e/app/test.go +++ b/e2e/app/test.go @@ -8,8 +8,8 @@ import ( "github.com/cometbft/cometbft/test/e2e/pkg/exec" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) const ( @@ -75,7 +75,7 @@ func Test(ctx context.Context, def Definition, verbose bool) error { if verbose { args = append(args, "-v") } - args = append(args, "github.com/storyprotocol/iliad/e2e/test") + args = append(args, "github.com/piplabs/story/e2e/test") log.Debug(ctx, "Test command", "args", args) err = exec.CommandVerbose(ctx, args...) diff --git a/e2e/app/valupdates.go b/e2e/app/valupdates.go index 623436c3..642c7ce7 100644 --- a/e2e/app/valupdates.go +++ b/e2e/app/valupdates.go @@ -14,15 +14,15 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/params" - "github.com/storyprotocol/iliad/client/genutil/evm/predeploys" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/ethclient/ethbackend" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/txmgr" + "github.com/piplabs/story/client/genutil/evm/predeploys" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/ethclient/ethbackend" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/txmgr" ) // FundValidatorsForTesting funds validators in ephemeral networks: devnet and staging. diff --git a/e2e/app/wait.go b/e2e/app/wait.go index f4add7c3..eb5c85d2 100644 --- a/e2e/app/wait.go +++ b/e2e/app/wait.go @@ -6,7 +6,7 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) // Wait waits for a number of blocks to be produced, and for all nodes to catch diff --git a/e2e/cmd/cmd.go b/e2e/cmd/cmd.go index 27bdd3fe..349c0c26 100644 --- a/e2e/cmd/cmd.go +++ b/e2e/cmd/cmd.go @@ -9,14 +9,14 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/spf13/cobra" - "github.com/storyprotocol/iliad/e2e/app" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/e2e/types" - libcmd "github.com/storyprotocol/iliad/lib/cmd" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/e2e/types" + libcmd "github.com/piplabs/story/lib/cmd" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" ) func New() *cobra.Command { diff --git a/e2e/cmd/flags.go b/e2e/cmd/flags.go index d9c8a10e..928b4b7a 100644 --- a/e2e/cmd/flags.go +++ b/e2e/cmd/flags.go @@ -5,10 +5,10 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/storyprotocol/iliad/e2e/app" - "github.com/storyprotocol/iliad/e2e/app/agent" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/e2e/types" + "github.com/piplabs/story/e2e/app" + "github.com/piplabs/story/e2e/app/agent" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/e2e/types" ) func bindDefFlags(flags *pflag.FlagSet, cfg *app.DefinitionConfig) { diff --git a/e2e/docker/data.go b/e2e/docker/data.go index 4a8a8f78..689f5c64 100644 --- a/e2e/docker/data.go +++ b/e2e/docker/data.go @@ -6,8 +6,8 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" ) const ( diff --git a/e2e/docker/docker.go b/e2e/docker/docker.go index 562e78c5..dfbd5258 100644 --- a/e2e/docker/docker.go +++ b/e2e/docker/docker.go @@ -15,10 +15,10 @@ import ( "github.com/cometbft/cometbft/test/e2e/pkg/infra" cmtdocker "github.com/cometbft/cometbft/test/e2e/pkg/infra/docker" - "github.com/storyprotocol/iliad/e2e/app/geth" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/e2e/app/geth" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" _ "embed" ) diff --git a/e2e/docker/docker_test.go b/e2e/docker/docker_test.go index 45e118cc..fbaeccfe 100644 --- a/e2e/docker/docker_test.go +++ b/e2e/docker/docker_test.go @@ -12,10 +12,10 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/docker" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/evmchain" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/docker" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/evmchain" + "github.com/piplabs/story/lib/netconf" ) //go:generate go test . -golden -clean diff --git a/e2e/main.go b/e2e/main.go index f58190a9..bc3a0816 100644 --- a/e2e/main.go +++ b/e2e/main.go @@ -1,8 +1,8 @@ package main import ( - e2ecmd "github.com/storyprotocol/iliad/e2e/cmd" - libcmd "github.com/storyprotocol/iliad/lib/cmd" + e2ecmd "github.com/piplabs/story/e2e/cmd" + libcmd "github.com/piplabs/story/lib/cmd" ) func main() { diff --git a/e2e/test/app_test.go b/e2e/test/app_test.go index 01a126b1..79f2df97 100644 --- a/e2e/test/app_test.go +++ b/e2e/test/app_test.go @@ -9,7 +9,7 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/netconf" ) // Tests that the app hash (as reported by the app) matches the last diff --git a/e2e/test/block_test.go b/e2e/test/block_test.go index d573744d..4346f903 100644 --- a/e2e/test/block_test.go +++ b/e2e/test/block_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/netconf" ) // Tests that block headers are identical across nodes where present. diff --git a/e2e/test/e2e_test.go b/e2e/test/e2e_test.go index ad3c8637..b396880a 100644 --- a/e2e/test/e2e_test.go +++ b/e2e/test/e2e_test.go @@ -14,13 +14,13 @@ import ( cmttypes "github.com/cometbft/cometbft/types" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app" - "github.com/storyprotocol/iliad/e2e/docker" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/e2e/vmcompose" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app" + "github.com/piplabs/story/e2e/docker" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/e2e/vmcompose" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/netconf" ) //nolint:gochecknoglobals // This was copied from cometbft/test/e2e/test/e2e_test.go diff --git a/e2e/test/geth_test.go b/e2e/test/geth_test.go index 530cbc82..96c6adb1 100644 --- a/e2e/test/geth_test.go +++ b/e2e/test/geth_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app/geth" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/e2e/app/geth" + "github.com/piplabs/story/lib/ethclient" ) // TestGethConfig ensure that the geth config is setup correctly. diff --git a/e2e/types/chain.go b/e2e/types/chain.go index 2ef89e27..5f4a0612 100644 --- a/e2e/types/chain.go +++ b/e2e/types/chain.go @@ -1,9 +1,9 @@ package types import ( - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/evmchain" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/evmchain" + "github.com/piplabs/story/lib/netconf" ) //nolint:gochecknoglobals // Static mappings diff --git a/e2e/types/manifest.go b/e2e/types/manifest.go index 7324193a..8074b5c6 100644 --- a/e2e/types/manifest.go +++ b/e2e/types/manifest.go @@ -3,8 +3,8 @@ package types import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/lib/netconf" ) // Mode defines the iliad consensus node mode. diff --git a/e2e/types/testnet.go b/e2e/types/testnet.go index 821272e1..a9b14d45 100644 --- a/e2e/types/testnet.go +++ b/e2e/types/testnet.go @@ -13,8 +13,8 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/p2p/enode" - "github.com/storyprotocol/iliad/lib/evmchain" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/evmchain" + "github.com/piplabs/story/lib/netconf" ) // Testnet wraps e2e.Testnet with additional iliad-specific fields. diff --git a/e2e/types/testnet_test.go b/e2e/types/testnet_test.go index dde0a86d..531418fb 100644 --- a/e2e/types/testnet_test.go +++ b/e2e/types/testnet_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/types" + "github.com/piplabs/story/e2e/types" ) func TestNextRPCAddress(t *testing.T) { diff --git a/e2e/vmcompose/data.go b/e2e/vmcompose/data.go index 190b86c7..d0d602e5 100644 --- a/e2e/vmcompose/data.go +++ b/e2e/vmcompose/data.go @@ -8,9 +8,9 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/evmchain" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/evmchain" ) var iliadEvmRegx = regexp.MustCompile(".*_evm") diff --git a/e2e/vmcompose/provider.go b/e2e/vmcompose/provider.go index 2a84d42a..8cb8a7e9 100644 --- a/e2e/vmcompose/provider.go +++ b/e2e/vmcompose/provider.go @@ -14,12 +14,12 @@ import ( e2e "github.com/cometbft/cometbft/test/e2e/pkg" - "github.com/storyprotocol/iliad/e2e/app/agent" - "github.com/storyprotocol/iliad/e2e/docker" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/evmchain" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/e2e/app/agent" + "github.com/piplabs/story/e2e/docker" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/evmchain" + "github.com/piplabs/story/lib/log" ) const ProviderName = "vmcompose" diff --git a/e2e/vmcompose/provider_test.go b/e2e/vmcompose/provider_test.go index a8457e36..e1f87eb6 100644 --- a/e2e/vmcompose/provider_test.go +++ b/e2e/vmcompose/provider_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app" - "github.com/storyprotocol/iliad/e2e/vmcompose" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/e2e/app" + "github.com/piplabs/story/e2e/vmcompose" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -golden -clean diff --git a/go.mod b/go.mod index 712e39c1..71e2cf16 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/storyprotocol/iliad +module github.com/piplabs/story go 1.22.0 diff --git a/lib/anvil/anvil.go b/lib/anvil/anvil.go index 3a767467..610672fc 100644 --- a/lib/anvil/anvil.go +++ b/lib/anvil/anvil.go @@ -10,10 +10,10 @@ import ( "text/template" "time" - "github.com/storyprotocol/iliad/e2e/app/static" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/e2e/app/static" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/log" _ "embed" ) diff --git a/lib/anvil/utils.go b/lib/anvil/utils.go index 24de2b8a..e7f16411 100644 --- a/lib/anvil/utils.go +++ b/lib/anvil/utils.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" "github.com/ethereum/go-ethereum/ethclient" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // FundAccounts funds the anvil account via the anvil_setBalance RPC method. diff --git a/lib/buildinfo/buildinfo.go b/lib/buildinfo/buildinfo.go index 53a2b4ef..aa8aafb9 100644 --- a/lib/buildinfo/buildinfo.go +++ b/lib/buildinfo/buildinfo.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cobra" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) const ( diff --git a/lib/cmd/cmd.go b/lib/cmd/cmd.go index 4498a14b..e0ed75e9 100644 --- a/lib/cmd/cmd.go +++ b/lib/cmd/cmd.go @@ -16,8 +16,8 @@ import ( "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) // Main is the main entry point for the command line tool. diff --git a/lib/cmd/flags.go b/lib/cmd/flags.go index 6015c598..39d3230b 100644 --- a/lib/cmd/flags.go +++ b/lib/cmd/flags.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/pflag" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) const homeFlag = "home" diff --git a/lib/contracts/address.go b/lib/contracts/address.go index 3ea160ec..ad815701 100644 --- a/lib/contracts/address.go +++ b/lib/contracts/address.go @@ -4,9 +4,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/lib/create3" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/lib/create3" + "github.com/piplabs/story/lib/netconf" ) // diff --git a/lib/contracts/create3/deploy.go b/lib/contracts/create3/deploy.go index 53e18cf1..35ef5802 100644 --- a/lib/contracts/create3/deploy.go +++ b/lib/contracts/create3/deploy.go @@ -8,12 +8,12 @@ import ( "github.com/ethereum/go-ethereum/common/hexutil" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/lib/contracts" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient/ethbackend" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/lib/contracts" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient/ethbackend" + "github.com/piplabs/story/lib/netconf" ) type DeploymentConfig struct { diff --git a/lib/contracts/utils.go b/lib/contracts/utils.go index 225cfb6e..7132083f 100644 --- a/lib/contracts/utils.go +++ b/lib/contracts/utils.go @@ -4,7 +4,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/common/hexutil" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // PackInitCode packs the init code for a contract deployment. diff --git a/lib/create3/create3_test.go b/lib/create3/create3_test.go index f3036d04..48234895 100644 --- a/lib/create3/create3_test.go +++ b/lib/create3/create3_test.go @@ -6,9 +6,9 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app/eoa" - "github.com/storyprotocol/iliad/lib/create3" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/e2e/app/eoa" + "github.com/piplabs/story/lib/create3" + "github.com/piplabs/story/lib/netconf" ) func TestHashSalt(t *testing.T) { diff --git a/lib/crypto/ecdsa/utils.go b/lib/crypto/ecdsa/utils.go index f549901d..9cb1a130 100644 --- a/lib/crypto/ecdsa/utils.go +++ b/lib/crypto/ecdsa/utils.go @@ -11,7 +11,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/google/uuid" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // WriteKey writes the private key to the given path diff --git a/lib/errors/errors_test.go b/lib/errors/errors_test.go index df3faf4e..68411a98 100644 --- a/lib/errors/errors_test.go +++ b/lib/errors/errors_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) func TestComparable(t *testing.T) { diff --git a/lib/ethclient/client_test.go b/lib/ethclient/client_test.go index fe42b0cf..3756c05f 100644 --- a/lib/ethclient/client_test.go +++ b/lib/ethclient/client_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/lib/ethclient" ) func TestGetPayloadV2(t *testing.T) { diff --git a/lib/ethclient/engineclient.go b/lib/ethclient/engineclient.go index 6b4df691..8a3c003e 100644 --- a/lib/ethclient/engineclient.go +++ b/lib/ethclient/engineclient.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/rpc" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) const ( diff --git a/lib/ethclient/enginemock.go b/lib/ethclient/enginemock.go index 1779e813..e3f26336 100644 --- a/lib/ethclient/enginemock.go +++ b/lib/ethclient/enginemock.go @@ -20,10 +20,10 @@ import ( "github.com/ethereum/go-ethereum/trie" fuzz "github.com/google/gofuzz" - "github.com/storyprotocol/iliad/contracts/bindings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/contracts/bindings" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" ) type payloadArgs struct { diff --git a/lib/ethclient/ethbackend/backend.go b/lib/ethclient/ethbackend/backend.go index 9c02d2eb..933e5431 100644 --- a/lib/ethclient/ethbackend/backend.go +++ b/lib/ethclient/ethbackend/backend.go @@ -14,13 +14,13 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/anvil" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/fireblocks" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/txmgr" + "github.com/piplabs/story/lib/anvil" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/fireblocks" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/txmgr" ) type account struct { diff --git a/lib/ethclient/ethbackend/backends.go b/lib/ethclient/ethbackend/backends.go index d6255137..4d0200ca 100644 --- a/lib/ethclient/ethbackend/backends.go +++ b/lib/ethclient/ethbackend/backends.go @@ -9,12 +9,12 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/fireblocks" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/txmgr" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/fireblocks" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/txmgr" ) const ( diff --git a/lib/ethclient/ethbackend/wait.go b/lib/ethclient/ethbackend/wait.go index 91c5f7f5..d31e6e04 100644 --- a/lib/ethclient/ethbackend/wait.go +++ b/lib/ethclient/ethbackend/wait.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi/bind" ethtypes "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // NewWaiter returns a new Waiter. diff --git a/lib/ethclient/ethclient.go b/lib/ethclient/ethclient.go index 86fa9405..37008d3e 100644 --- a/lib/ethclient/ethclient.go +++ b/lib/ethclient/ethclient.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/rpc" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) //go:generate go run genwrap/genwrap.go diff --git a/lib/ethclient/ethclient_gen.go b/lib/ethclient/ethclient_gen.go index eb62b510..b3b9d1dd 100644 --- a/lib/ethclient/ethclient_gen.go +++ b/lib/ethclient/ethclient_gen.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/tracer" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/tracer" ) // Client defines all ethereum interfaces used in iliad. diff --git a/lib/ethclient/fuzz_test.go b/lib/ethclient/fuzz_test.go index 3ef40965..0bc5cd94 100644 --- a/lib/ethclient/fuzz_test.go +++ b/lib/ethclient/fuzz_test.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/beacon/engine" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/lib/ethclient" ) func TestFuzzer(t *testing.T) { diff --git a/lib/ethclient/genwrap/genwrap.go b/lib/ethclient/genwrap/genwrap.go index f81a75e8..7a1f4826 100644 --- a/lib/ethclient/genwrap/genwrap.go +++ b/lib/ethclient/genwrap/genwrap.go @@ -11,8 +11,8 @@ import ( "bytes" "context" "fmt" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" "go/ast" "go/printer" "go/token" @@ -33,7 +33,7 @@ var ( // Code generated by genwrap.go. DO NOT EDIT. import ( - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" "github.com/ethereum/go-ethereum" {{- range .Imports}} {{.}} diff --git a/lib/ethclient/jwt.go b/lib/ethclient/jwt.go index aa68bc7a..9ef8b9b1 100644 --- a/lib/ethclient/jwt.go +++ b/lib/ethclient/jwt.go @@ -9,7 +9,7 @@ import ( "github.com/golang-jwt/jwt/v5" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) type jwtRoundTripper struct { diff --git a/lib/ethclient/mock/mock_interfaces.go b/lib/ethclient/mock/mock_interfaces.go index b3152a85..62bde389 100644 --- a/lib/ethclient/mock/mock_interfaces.go +++ b/lib/ethclient/mock/mock_interfaces.go @@ -17,7 +17,7 @@ import ( ethereum "github.com/ethereum/go-ethereum" common "github.com/ethereum/go-ethereum/common" types "github.com/ethereum/go-ethereum/core/types" - ethclient "github.com/storyprotocol/iliad/lib/ethclient" + ethclient "github.com/piplabs/story/lib/ethclient" gomock "go.uber.org/mock/gomock" ) diff --git a/lib/evmchain/evmchain.go b/lib/evmchain/evmchain.go index c60805de..3ee74931 100644 --- a/lib/evmchain/evmchain.go +++ b/lib/evmchain/evmchain.go @@ -4,7 +4,7 @@ package evmchain import ( "time" - "github.com/storyprotocol/iliad/lib/tokens" + "github.com/piplabs/story/lib/tokens" ) const ( diff --git a/lib/expbackoff/expbackoff_test.go b/lib/expbackoff/expbackoff_test.go index a99965b3..7716f533 100644 --- a/lib/expbackoff/expbackoff_test.go +++ b/lib/expbackoff/expbackoff_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/expbackoff" + "github.com/piplabs/story/lib/expbackoff" ) func TestConfigs(t *testing.T) { diff --git a/lib/fireblocks/account.go b/lib/fireblocks/account.go index 06b99515..fe8f466c 100644 --- a/lib/fireblocks/account.go +++ b/lib/fireblocks/account.go @@ -12,7 +12,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Accounts returns all the vault accounts from the account cache, populating it if empty. diff --git a/lib/fireblocks/client.go b/lib/fireblocks/client.go index e8d61d8c..91238cac 100644 --- a/lib/fireblocks/client.go +++ b/lib/fireblocks/client.go @@ -8,8 +8,8 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/netconf" ) const ( diff --git a/lib/fireblocks/client_test.go b/lib/fireblocks/client_test.go index 253405b8..017dc372 100644 --- a/lib/fireblocks/client_test.go +++ b/lib/fireblocks/client_test.go @@ -19,9 +19,9 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/fireblocks" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/fireblocks" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" _ "embed" ) diff --git a/lib/fireblocks/config.go b/lib/fireblocks/config.go index 3fbe9ff1..cb067ddf 100644 --- a/lib/fireblocks/config.go +++ b/lib/fireblocks/config.go @@ -5,7 +5,7 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // options houses parameters for altering the behavior of a SimpleTxManager. diff --git a/lib/fireblocks/gettransaction.go b/lib/fireblocks/gettransaction.go index 351df2d2..2d662e20 100644 --- a/lib/fireblocks/gettransaction.go +++ b/lib/fireblocks/gettransaction.go @@ -5,7 +5,7 @@ import ( "net/http" "path/filepath" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // getTransactionByID gets a transaction by its ID. diff --git a/lib/fireblocks/jsonhttp.go b/lib/fireblocks/jsonhttp.go index 708a03ec..63e38898 100644 --- a/lib/fireblocks/jsonhttp.go +++ b/lib/fireblocks/jsonhttp.go @@ -8,7 +8,7 @@ import ( "net/http" "net/url" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // jsonHTTP provides a simple interface for sending JSON HTTP requests. diff --git a/lib/fireblocks/jwt.go b/lib/fireblocks/jwt.go index ce8ecc99..f55fad2d 100644 --- a/lib/fireblocks/jwt.go +++ b/lib/fireblocks/jwt.go @@ -9,7 +9,7 @@ import ( "github.com/golang-jwt/jwt/v5" "github.com/google/uuid" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) const validFor = 29 * time.Second // Must be less than 30sec. diff --git a/lib/fireblocks/key.go b/lib/fireblocks/key.go index e8b1fa92..5f7f57c2 100644 --- a/lib/fireblocks/key.go +++ b/lib/fireblocks/key.go @@ -7,7 +7,7 @@ import ( "fmt" "os" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // LoadKey loads and returns the RSA256 from disk. diff --git a/lib/fireblocks/sign.go b/lib/fireblocks/sign.go index 7cb11d0f..23af4afa 100644 --- a/lib/fireblocks/sign.go +++ b/lib/fireblocks/sign.go @@ -10,8 +10,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" ) func (c Client) createRawSignTransaction(ctx context.Context, account uint64, digest common.Hash) (string, error) { diff --git a/lib/fireblocks/supportedassets.go b/lib/fireblocks/supportedassets.go index d489115d..97add776 100644 --- a/lib/fireblocks/supportedassets.go +++ b/lib/fireblocks/supportedassets.go @@ -4,7 +4,7 @@ import ( "context" "net/http" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // GetSupportedAssets returns all asset types supported by Fireblocks. diff --git a/lib/fireblocks/types.go b/lib/fireblocks/types.go index fd6b88f4..e50c36fb 100644 --- a/lib/fireblocks/types.go +++ b/lib/fireblocks/types.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // Status of a transaction. See https://developers.fireblocks.com/reference/primary-transaction-statuses. diff --git a/lib/forkjoin/forkjoin.go b/lib/forkjoin/forkjoin.go index 0061297a..7fa42eac 100644 --- a/lib/forkjoin/forkjoin.go +++ b/lib/forkjoin/forkjoin.go @@ -10,7 +10,7 @@ import ( "context" "sync" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) const ( diff --git a/lib/forkjoin/forkjoin_test.go b/lib/forkjoin/forkjoin_test.go index 01d83cd5..8d725f50 100644 --- a/lib/forkjoin/forkjoin_test.go +++ b/lib/forkjoin/forkjoin_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/forkjoin" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/forkjoin" "go.uber.org/goleak" ) diff --git a/lib/k1util/k1util.go b/lib/k1util/k1util.go index 84a5db41..4c8ab5a0 100644 --- a/lib/k1util/k1util.go +++ b/lib/k1util/k1util.go @@ -14,7 +14,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethcrypto "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // privKeyLen is the length of a secp256k1 private key. diff --git a/lib/k1util/k1util_test.go b/lib/k1util/k1util_test.go index c5a1f6ef..700ee367 100644 --- a/lib/k1util/k1util_test.go +++ b/lib/k1util/k1util_test.go @@ -17,8 +17,8 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/tutil" ) //nolint:lll // No wrap diff --git a/lib/log/config.go b/lib/log/config.go index 8c87dd98..fe04090f 100644 --- a/lib/log/config.go +++ b/lib/log/config.go @@ -7,7 +7,7 @@ import ( "github.com/muesli/termenv" "github.com/spf13/pflag" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) const ( diff --git a/lib/log/log_test.go b/lib/log/log_test.go index ef8cea26..4d7e0500 100644 --- a/lib/log/log_test.go +++ b/lib/log/log_test.go @@ -9,9 +9,9 @@ import ( pkgerrors "github.com/pkg/errors" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test . -golden -clean diff --git a/lib/log/logger.go b/lib/log/logger.go index 58244c4e..4a1756d4 100644 --- a/lib/log/logger.go +++ b/lib/log/logger.go @@ -10,7 +10,7 @@ import ( charm "github.com/charmbracelet/log" "github.com/muesli/termenv" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) //nolint:gochecknoglobals // Global logger is our approach. diff --git a/lib/merkle/core.go b/lib/merkle/core.go index 4830e53c..a0648db2 100644 --- a/lib/merkle/core.go +++ b/lib/merkle/core.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // StdLeafHash returns the standard leaf hash of the given data. diff --git a/lib/merkle/core_internal_test.go b/lib/merkle/core_internal_test.go index 625c94fb..245c7461 100644 --- a/lib/merkle/core_internal_test.go +++ b/lib/merkle/core_internal_test.go @@ -1,6 +1,6 @@ package merkle -import "github.com/storyprotocol/iliad/lib/errors" +import "github.com/piplabs/story/lib/errors" // These functions are also ported from OpenZeppelin's library, but they // are not used by iliad's production code, so they are part of the diff --git a/lib/merkle/core_test.go b/lib/merkle/core_test.go index 6fac5eeb..e1d23c06 100644 --- a/lib/merkle/core_test.go +++ b/lib/merkle/core_test.go @@ -7,7 +7,7 @@ import ( fuzz "github.com/google/gofuzz" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/merkle" + "github.com/piplabs/story/lib/merkle" ) // TestLeaveProvable tests that a leaf can be proven. diff --git a/lib/netconf/netconf.go b/lib/netconf/netconf.go index 891218c8..886e861c 100644 --- a/lib/netconf/netconf.go +++ b/lib/netconf/netconf.go @@ -5,7 +5,7 @@ package netconf import ( "time" - "github.com/storyprotocol/iliad/lib/evmchain" + "github.com/piplabs/story/lib/evmchain" ) // Network defines a deployment of the Iliad cross chain protocol. diff --git a/lib/netconf/netconf_test.go b/lib/netconf/netconf_test.go index 061db132..4c8ca205 100644 --- a/lib/netconf/netconf_test.go +++ b/lib/netconf/netconf_test.go @@ -13,12 +13,12 @@ import ( "github.com/ethereum/go-ethereum/p2p/enode" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/e2e/app/key" - "github.com/storyprotocol/iliad/e2e/manifests" - "github.com/storyprotocol/iliad/e2e/types" - "github.com/storyprotocol/iliad/lib/k1util" - "github.com/storyprotocol/iliad/lib/netconf" - "github.com/storyprotocol/iliad/lib/tutil" + "github.com/piplabs/story/e2e/app/key" + "github.com/piplabs/story/e2e/manifests" + "github.com/piplabs/story/e2e/types" + "github.com/piplabs/story/lib/k1util" + "github.com/piplabs/story/lib/netconf" + "github.com/piplabs/story/lib/tutil" ) //go:generate go test -golden -run=TestGenConsSeeds diff --git a/lib/netconf/network.go b/lib/netconf/network.go index 7395fdb9..b4323fe0 100644 --- a/lib/netconf/network.go +++ b/lib/netconf/network.go @@ -1,6 +1,6 @@ package netconf -import "github.com/storyprotocol/iliad/lib/errors" +import "github.com/piplabs/story/lib/errors" // ID is a network identifier. type ID string diff --git a/lib/netconf/static.go b/lib/netconf/static.go index 55a0fc87..66d422c7 100644 --- a/lib/netconf/static.go +++ b/lib/netconf/static.go @@ -9,8 +9,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/google/uuid" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/evmchain" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/evmchain" _ "embed" ) diff --git a/lib/promutil/resetgauge_test.go b/lib/promutil/resetgauge_test.go index a85b1fea..f6450509 100644 --- a/lib/promutil/resetgauge_test.go +++ b/lib/promutil/resetgauge_test.go @@ -8,7 +8,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/promutil" + "github.com/piplabs/story/lib/promutil" ) //nolint:paralleltest // This test uses global prometheus registry so concurrent tests are not safe. diff --git a/lib/stream/stream.go b/lib/stream/stream.go index ea408974..0079b961 100644 --- a/lib/stream/stream.go +++ b/lib/stream/stream.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/log" "go.opentelemetry.io/otel/trace" ) diff --git a/lib/tokens/coingecko/coingecko.go b/lib/tokens/coingecko/coingecko.go index 18b87de7..3c7f219d 100644 --- a/lib/tokens/coingecko/coingecko.go +++ b/lib/tokens/coingecko/coingecko.go @@ -7,8 +7,8 @@ import ( "net/url" "strings" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/tokens" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/tokens" ) const ( diff --git a/lib/tokens/coingecko/coingecko_test.go b/lib/tokens/coingecko/coingecko_test.go index 03a7126b..0121388d 100644 --- a/lib/tokens/coingecko/coingecko_test.go +++ b/lib/tokens/coingecko/coingecko_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/tokens" - "github.com/storyprotocol/iliad/lib/tokens/coingecko" + "github.com/piplabs/story/lib/tokens" + "github.com/piplabs/story/lib/tokens/coingecko" "gotest.tools/v3/assert" ) diff --git a/lib/tracer/config.go b/lib/tracer/config.go index c0a5a9a1..f80f388f 100644 --- a/lib/tracer/config.go +++ b/lib/tracer/config.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/pflag" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // BindFlags binds the provided flags to the corresponding fields in the Config struct. diff --git a/lib/tracer/trace.go b/lib/tracer/trace.go index 5b1a687c..224eeb8c 100644 --- a/lib/tracer/trace.go +++ b/lib/tracer/trace.go @@ -6,8 +6,8 @@ import ( "io" "sync" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/netconf" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/netconf" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" diff --git a/lib/tutil/require.go b/lib/tutil/require.go index 6e922d18..87685781 100644 --- a/lib/tutil/require.go +++ b/lib/tutil/require.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/log" ) // RequireNoError asserts that err is nil. It also logs the error to show the stacktrace. diff --git a/lib/txmgr/config.go b/lib/txmgr/config.go index bbe9fa4d..7733c122 100644 --- a/lib/txmgr/config.go +++ b/lib/txmgr/config.go @@ -11,8 +11,8 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" ) type DefaultFlagValues struct { diff --git a/lib/txmgr/ether.go b/lib/txmgr/ether.go index ff0eb944..6a8d30c5 100644 --- a/lib/txmgr/ether.go +++ b/lib/txmgr/ether.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/params" - "github.com/storyprotocol/iliad/lib/errors" + "github.com/piplabs/story/lib/errors" ) // GweiToWei converts a float64 GWei value into a big.Int Wei value. diff --git a/lib/txmgr/send_state_test.go b/lib/txmgr/send_state_test.go index a3e85690..0decc7cb 100644 --- a/lib/txmgr/send_state_test.go +++ b/lib/txmgr/send_state_test.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/core" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/txmgr" + "github.com/piplabs/story/lib/txmgr" ) var ( diff --git a/lib/txmgr/txmgr.go b/lib/txmgr/txmgr.go index 12e77500..8fa8bc3f 100644 --- a/lib/txmgr/txmgr.go +++ b/lib/txmgr/txmgr.go @@ -14,10 +14,10 @@ import ( "github.com/ethereum/go-ethereum/core/txpool" "github.com/ethereum/go-ethereum/core/types" - "github.com/storyprotocol/iliad/lib/errors" - "github.com/storyprotocol/iliad/lib/ethclient" - "github.com/storyprotocol/iliad/lib/expbackoff" - "github.com/storyprotocol/iliad/lib/log" + "github.com/piplabs/story/lib/errors" + "github.com/piplabs/story/lib/ethclient" + "github.com/piplabs/story/lib/expbackoff" + "github.com/piplabs/story/lib/log" ) const ( diff --git a/lib/txmgr/txmgr_internal_test.go b/lib/txmgr/txmgr_internal_test.go index 95bfa72d..3e127330 100644 --- a/lib/txmgr/txmgr_internal_test.go +++ b/lib/txmgr/txmgr_internal_test.go @@ -16,7 +16,7 @@ import ( "github.com/ethereum/go-ethereum/params" "github.com/stretchr/testify/require" - "github.com/storyprotocol/iliad/lib/ethclient" + "github.com/piplabs/story/lib/ethclient" ) const ( diff --git a/scripts/buf.gen.orm.yaml b/scripts/buf.gen.orm.yaml index 47d896f5..9d72e9b8 100644 --- a/scripts/buf.gen.orm.yaml +++ b/scripts/buf.gen.orm.yaml @@ -2,7 +2,7 @@ version: v1 managed: enabled: true go_package_prefix: - default: github.com/storyprotocol/iliad + default: github.com/piplabs/story override: buf.build/cosmos/cosmos-sdk: cosmossdk.io/api # Required to import the Cosmos SDK api module plugins: diff --git a/scripts/pubkey_to_bech32.go b/scripts/pubkey_to_bech32.go index 2c7464a3..6185de29 100644 --- a/scripts/pubkey_to_bech32.go +++ b/scripts/pubkey_to_bech32.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/storyprotocol/iliad/lib/k1util" + "github.com/piplabs/story/lib/k1util" ) //nolint:unused // main for go run diff --git a/scripts/verifypr/verify.go b/scripts/verifypr/verify.go index ce20a545..3fefcaae 100644 --- a/scripts/verifypr/verify.go +++ b/scripts/verifypr/verify.go @@ -18,7 +18,7 @@ var ( optionalLink = `(fix\w*\s|close\w*\s|resolve\w*\s)?` // Optional issue linking prefix, see https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue. descRegex = regexp.MustCompile(`^[a-z][-\w\s]+$`) // e.g. "add foo-bar" scopeRegex = regexp.MustCompile(`^[*\w]+(/[*\w]+)?$`) // e.g. "*" or "foo" or "foo/bar" - issueRegexFull = regexp.MustCompile(`^` + optionalLink + `https://github.com/storyprotocol/iliad/issues/\d+$`) + issueRegexFull = regexp.MustCompile(`^` + optionalLink + `https://github.com/piplabs/story/issues/\d+$`) issueRegexShort = regexp.MustCompile(`^` + optionalLink + `#\d+$`) // e.g. "#1334" )