Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deepanshutr/master #453

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/AssetMantle/modules
go 1.23

require (
github.com/AssetMantle/schema v0.0.0-20240206102051-27352b802163
github.com/AssetMantle/schema v1.0.1-0.20240917151727-0814b9bd44b7
github.com/Shopify/sarama v1.19.0
github.com/cometbft/cometbft v0.37.7
github.com/cometbft/cometbft-db v0.8.0
Expand Down Expand Up @@ -41,7 +41,6 @@ require (
github.com/cockroachdb/errors v1.11.1 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
github.com/cockroachdb/redact v1.1.5 // indirect
github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
Expand Down Expand Up @@ -148,8 +147,6 @@ require (

replace (
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
golang.org/x/exp => golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb
pgregory.net/rapid => pgregory.net/rapid v0.5.5
Expand Down
403 changes: 4 additions & 399 deletions go.sum

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion simulation/utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package simulation

import (
"github.com/modern-go/reflect2"

Check failure on line 7 in simulation/utilities.go

View workflow job for this annotation

GitHub Actions / test-coverage-upload

missing go.sum entry for module providing package github.com/modern-go/reflect2 (imported by github.com/AssetMantle/modules/simulation); to add:
"math/rand"

"github.com/AssetMantle/schema/data"
Expand Down Expand Up @@ -59,5 +60,6 @@
}

func ExecuteMessage(context sdkTypes.Context, module helpers.Module, message helpers.Message) (*sdkTypes.Result, error) {
return module.GetTransactions().GetTransaction(message.Type()).HandleMessage(sdkTypes.WrapSDKContext(context), message)
//TODO figure out an easier way to pick a transaction handle message from modules
return module.GetTransactions().GetTransaction(reflect2.TypeOf(message).String()).HandleMessage(sdkTypes.WrapSDKContext(context), message)
}
56 changes: 0 additions & 56 deletions x/assets/queries/asset/query_response_test.go

This file was deleted.

55 changes: 0 additions & 55 deletions x/classifications/queries/classification/query_response_test.go

This file was deleted.

138 changes: 0 additions & 138 deletions x/identities/queries/identity/query_response_test.go

This file was deleted.

55 changes: 0 additions & 55 deletions x/maintainers/queries/maintainer/query_response_test.go

This file was deleted.

Loading
Loading