diff --git a/.coverageignore b/.coverageignore index f3def31..587ae1e 100644 --- a/.coverageignore +++ b/.coverageignore @@ -1,6 +1,4 @@ *.pb.go *.pb.gw.go *.pulsar.go -*_simulation.go testnet.go -test_suite.go diff --git a/.github/workflows/simulation.yml b/.github/workflows/simulation.yml new file mode 100644 index 0000000..a9705ae --- /dev/null +++ b/.github/workflows/simulation.yml @@ -0,0 +1,39 @@ +name: Simulation Tests + +on: + push: + branches: + - main + pull_request: + branches: + - main + types: [opened, reopened, synchronize] + +env: + GO_VERSION: 1.22.5 + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - name: Check out source + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: ${{ env.GO_VERSION }} + check-latest: true + - name: Full application simulation (fixed seed) + run: make sim-full-app + - name: Simulation after state import (fixed seed) + run: make sim-after-import + # # Requires wiring v2 + # # https://github.com/liftedinit/manifest-ledger/issues/82 + # - name: Simulation export/import (fixed seed) + # run: make sim-export-import + - name: Simulate application state determinism (fixed seed) + run: make sim-app-determinism diff --git a/Makefile b/Makefile index ecd0674..4a36948 100644 --- a/Makefile +++ b/Makefile @@ -149,24 +149,41 @@ test: .PHONY: test +COV_ROOT="/tmp/manifest-ledger-coverage" +COV_UNIT_E2E="${COV_ROOT}/unit-e2e" +COV_SIMULATION="${COV_ROOT}/simulation" +COV_PKG="github.com/liftedinit/manifest-ledger/..." +COV_SIM_CMD=${COV_SIMULATION}/simulation.test +COV_SIM_COMMON=-Enabled=True -NumBlocks=100 -Commit=true -Period=5 -Params=$(shell pwd)/simulation/sim_params.json -Verbose=false -test.v -test.gocoverdir=${COV_SIMULATION} + coverage: ## Run coverage report @echo "--> Creating GOCOVERDIR" - @mkdir -p /tmp/manifest-ledger-coverage + @mkdir -p ${COV_UNIT_E2E} ${COV_SIMULATION} @echo "--> Cleaning up coverage files, if any" - @rm -rf /tmp/manifest-ledger-coverage/* - @echo "--> Running coverage" - @go test -timeout 30m -race -covermode=atomic -v -cpu=$$(nproc) -cover $$(go list ./...) ./interchaintest/... -coverpkg=github.com/liftedinit/manifest-ledger/... -args -test.gocoverdir="/tmp/manifest-ledger-coverage" > /dev/null 2>&1 + @rm -rf ${COV_UNIT_E2E}/* ${COV_SIMULATION}/* + @echo "--> Building instrumented simulation test binary" + @go test -c ./app -mod=readonly -covermode=atomic -coverpkg=${COV_PKG} -cover -o ${COV_SIM_CMD} + @echo " --> Running Full App Simulation" + @${COV_SIM_CMD} -test.run TestFullAppSimulation ${COV_SIM_COMMON} > /dev/null 2>&1 + @echo " --> Running App Simulation After Import" + @${COV_SIM_CMD} -test.run TestAppSimulationAfterImport ${COV_SIM_COMMON} > /dev/null 2>&1 + @echo " --> Running App State Determinism Simulation" + @${COV_SIM_CMD} -test.run TestAppStateDeterminism ${COV_SIM_COMMON} > /dev/null 2>&1 + @echo "--> Running unit & e2e tests coverage" + @go test -timeout 30m -race -covermode=atomic -v -cpu=$$(nproc) -cover $$(go list ./...) ./interchaintest/... -coverpkg=${COV_PKG} -args -test.gocoverdir="${COV_UNIT_E2E}" > /dev/null 2>&1 + @echo "--> Merging coverage reports" + @go tool covdata merge -i=${COV_UNIT_E2E},${COV_SIMULATION} -o ${COV_ROOT} @echo "--> Converting binary coverage report to text format" - @go tool covdata textfmt -i=/tmp/manifest-ledger-coverage -o coverage.out - @echo "--> Filtering coverage report" - @./scripts/filter-coverage.sh + @go tool covdata textfmt -i=${COV_ROOT} -o ${COV_ROOT}/coverage-merged.out + @echo "--> Filtering coverage reports" + @./scripts/filter-coverage.sh ${COV_ROOT}/coverage-merged.out ${COV_ROOT}/coverage-merged-filtered.out @echo "--> Generating coverage report" - @go tool cover -func=coverage-filtered.out + @go tool cover -func=${COV_ROOT}/coverage-merged-filtered.out @echo "--> Generating HTML coverage report" - @go tool cover -html=coverage-filtered.out -o coverage.html + @go tool cover -html=${COV_ROOT}/coverage-merged-filtered.out -o coverage.html @echo "--> Coverage report available at coverage.html" @echo "--> Cleaning up coverage files" - @rm coverage.out /tmp/manifest-ledger-coverage/* + @rm -rf ${COV_UNIT_E2E}/* ${COV_SIMULATION}/* @echo "--> Running coverage complete" .PHONY: coverage @@ -247,3 +264,47 @@ vet: ## Run go vet @go vet ./... .PHONY: vet + +#### Simulation #### + +SIM_PARAMS ?= $(shell pwd)/simulation/sim_params.json +SIM_NUM_BLOCKS ?= 100 +SIM_PERIOD ?= 5 +SIM_COMMIT ?= true +SIM_ENABLED ?= true +SIM_VERBOSE ?= false +SIM_TIMEOUT ?= 24h +SIM_SEED ?= 42 +SIM_COMMON_ARGS = -NumBlocks=${SIM_NUM_BLOCKS} -Enabled=${SIM_ENABLED} -Commit=${SIM_COMMIT} -Period=${SIM_PERIOD} -Params=${SIM_PARAMS} -Verbose=${SIM_VERBOSE} -Seed=${SIM_SEED} -v -timeout ${SIM_TIMEOUT} + +sim-full-app: + @echo "--> Running full app simulation (blocks: ${SIM_NUM_BLOCKS}, commit: ${SIM_COMMIT}, period: ${SIM_PERIOD}, seed: ${SIM_SEED}, params: ${SIM_PARAMS}" + @go test ./app -run TestFullAppSimulation ${SIM_COMMON_ARGS} + +sim-full-app-random: + $(MAKE) sim-full-app SIM_SEED=$$RANDOM + +# Note: known to fail when using app wiring v1 +sim-import-export: + @echo "--> Running app import/export simulation (blocks: ${SIM_NUM_BLOCKS}, commit: ${SIM_COMMIT}, period: ${SIM_PERIOD}, seed: ${SIM_SEED}, params: ${SIM_PARAMS}" + @go test ./app -run TestAppImportExport ${SIM_COMMON_ARGS} + +# Note: known to fail when using app wiring v1 +sim-import-export-random: + $(MAKE) sim-import-export SIM_SEED=$$RANDOM + +sim-after-import: + @echo "--> Running app after import simulation (blocks: ${SIM_NUM_BLOCKS}, commit: ${SIM_COMMIT}, period: ${SIM_PERIOD}, seed: ${SIM_SEED}, params: ${SIM_PARAMS}" + @go test ./app -run TestAppSimulationAfterImport ${SIM_COMMON_ARGS} + +sim-after-import-random: + $(MAKE) sim-after-import SIM_SEED=$$RANDOM + +sim-app-determinism: + @echo "--> Running app determinism simulation (blocks: ${SIM_NUM_BLOCKS}, commit: ${SIM_COMMIT}, period: ${SIM_PERIOD}, seed: ${SIM_SEED}, params: ${SIM_PARAMS}" + @go test ./app -run TestAppStateDeterminism ${SIM_COMMON_ARGS} + +sim-app-determinism-random: + $(MAKE) sim-app-determinism SIM_SEED=$$RANDOM + +.PHONY: sim-full-app sim-full-app-random sim-import-export sim-after-import sim-app-determinism sim-import-export-random sim-after-import-random sim-app-determinism-random \ No newline at end of file diff --git a/README.md b/README.md index c40f2a0..bfcf8e7 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,28 @@ make ictest-ibc make ictest-group-poa ``` +## Simulation + +**To execute the full application simulation run:** + +```bash +make sim-full-app +```` + +**To execute the application simulation after state import run:** + +```bash +make sim-after-import +``` + +**To test the application determinism run:** + +```bash +make sim-app-determinism +``` + +Append `-random` to the end of the commands above to run the simulation with a random seed, e.g., `make sim-full-app-random`. + ## Coverage To generate a coverage report for the modules run: diff --git a/api/manifest/module/v1/module.pulsar.go b/api/liftedinit/manifest/module/v1/module.pulsar.go similarity index 72% rename from api/manifest/module/v1/module.pulsar.go rename to api/liftedinit/manifest/module/v1/module.pulsar.go index 3a6e809..321780a 100644 --- a/api/manifest/module/v1/module.pulsar.go +++ b/api/liftedinit/manifest/module/v1/module.pulsar.go @@ -18,8 +18,8 @@ var ( ) func init() { - file_manifest_module_v1_module_proto_init() - md_Module = File_manifest_module_v1_module_proto.Messages().ByName("Module") + file_liftedinit_manifest_module_v1_module_proto_init() + md_Module = File_liftedinit_manifest_module_v1_module_proto.Messages().ByName("Module") } var _ protoreflect.Message = (*fastReflection_Module)(nil) @@ -31,7 +31,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { } func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_module_v1_module_proto_msgTypes[0] + mi := &file_liftedinit_manifest_module_v1_module_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protore switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.module.v1.Module")) } - panic(fmt.Errorf("message manifest.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.module.v1.Module", d.FullName())) } panic("unreachable") } @@ -373,7 +373,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: manifest/module/v1/module.proto +// source: liftedinit/manifest/module/v1/module.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -393,7 +393,7 @@ type Module struct { func (x *Module) Reset() { *x = Module{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_module_v1_module_proto_msgTypes[0] + mi := &file_liftedinit_manifest_module_v1_module_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -407,55 +407,60 @@ func (*Module) ProtoMessage() {} // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_manifest_module_v1_module_proto_rawDescGZIP(), []int{0} + return file_liftedinit_manifest_module_v1_module_proto_rawDescGZIP(), []int{0} } -var File_manifest_module_v1_module_proto protoreflect.FileDescriptor - -var file_manifest_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x12, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x3a, 0x2d, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x27, 0x0a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, - 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, - 0x42, 0xd6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, - 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, - 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, - 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x4d, 0x58, 0xaa, 0x02, 0x12, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x12, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, - 0x31, 0xe2, 0x02, 0x1e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x4d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x14, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, +var File_liftedinit_manifest_module_v1_module_proto protoreflect.FileDescriptor + +var file_liftedinit_manifest_module_v1_module_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x6c, 0x69, + 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, + 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x2d, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x27, 0x0a, + 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, + 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, + 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x42, 0x99, 0x02, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, + 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, + 0x73, 0x74, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, 0x67, + 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, + 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, + 0x4c, 0x4d, 0x4d, 0xaa, 0x02, 0x1d, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, + 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1d, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, + 0x5c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x29, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, + 0x5c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x20, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_manifest_module_v1_module_proto_rawDescOnce sync.Once - file_manifest_module_v1_module_proto_rawDescData = file_manifest_module_v1_module_proto_rawDesc + file_liftedinit_manifest_module_v1_module_proto_rawDescOnce sync.Once + file_liftedinit_manifest_module_v1_module_proto_rawDescData = file_liftedinit_manifest_module_v1_module_proto_rawDesc ) -func file_manifest_module_v1_module_proto_rawDescGZIP() []byte { - file_manifest_module_v1_module_proto_rawDescOnce.Do(func() { - file_manifest_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_manifest_module_v1_module_proto_rawDescData) +func file_liftedinit_manifest_module_v1_module_proto_rawDescGZIP() []byte { + file_liftedinit_manifest_module_v1_module_proto_rawDescOnce.Do(func() { + file_liftedinit_manifest_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_liftedinit_manifest_module_v1_module_proto_rawDescData) }) - return file_manifest_module_v1_module_proto_rawDescData + return file_liftedinit_manifest_module_v1_module_proto_rawDescData } -var file_manifest_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_manifest_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: manifest.module.v1.Module +var file_liftedinit_manifest_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_liftedinit_manifest_module_v1_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: liftedinit.manifest.module.v1.Module } -var file_manifest_module_v1_module_proto_depIdxs = []int32{ +var file_liftedinit_manifest_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -463,13 +468,13 @@ var file_manifest_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_manifest_module_v1_module_proto_init() } -func file_manifest_module_v1_module_proto_init() { - if File_manifest_module_v1_module_proto != nil { +func init() { file_liftedinit_manifest_module_v1_module_proto_init() } +func file_liftedinit_manifest_module_v1_module_proto_init() { + if File_liftedinit_manifest_module_v1_module_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_manifest_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Module); i { case 0: return &v.state @@ -486,18 +491,18 @@ func file_manifest_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_manifest_module_v1_module_proto_rawDesc, + RawDescriptor: file_liftedinit_manifest_module_v1_module_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_manifest_module_v1_module_proto_goTypes, - DependencyIndexes: file_manifest_module_v1_module_proto_depIdxs, - MessageInfos: file_manifest_module_v1_module_proto_msgTypes, + GoTypes: file_liftedinit_manifest_module_v1_module_proto_goTypes, + DependencyIndexes: file_liftedinit_manifest_module_v1_module_proto_depIdxs, + MessageInfos: file_liftedinit_manifest_module_v1_module_proto_msgTypes, }.Build() - File_manifest_module_v1_module_proto = out.File - file_manifest_module_v1_module_proto_rawDesc = nil - file_manifest_module_v1_module_proto_goTypes = nil - file_manifest_module_v1_module_proto_depIdxs = nil + File_liftedinit_manifest_module_v1_module_proto = out.File + file_liftedinit_manifest_module_v1_module_proto_rawDesc = nil + file_liftedinit_manifest_module_v1_module_proto_goTypes = nil + file_liftedinit_manifest_module_v1_module_proto_depIdxs = nil } diff --git a/api/manifest/v1/genesis.pulsar.go b/api/liftedinit/manifest/v1/genesis.pulsar.go similarity index 79% rename from api/manifest/v1/genesis.pulsar.go rename to api/liftedinit/manifest/v1/genesis.pulsar.go index 86088ec..6ff8cc4 100644 --- a/api/manifest/v1/genesis.pulsar.go +++ b/api/liftedinit/manifest/v1/genesis.pulsar.go @@ -20,8 +20,8 @@ var ( ) func init() { - file_manifest_v1_genesis_proto_init() - md_GenesisState = File_manifest_v1_genesis_proto.Messages().ByName("GenesisState") + file_liftedinit_manifest_v1_genesis_proto_init() + md_GenesisState = File_liftedinit_manifest_v1_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") } @@ -34,7 +34,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_genesis_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -111,13 +111,13 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -129,13 +129,13 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -147,14 +147,14 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -170,13 +170,13 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -192,16 +192,16 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -210,14 +210,14 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.GenesisState.params": + case "liftedinit.manifest.v1.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.GenesisState")) } - panic(fmt.Errorf("message manifest.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -227,7 +227,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.GenesisState", d.FullName())) } panic("unreachable") } @@ -454,8 +454,8 @@ var ( ) func init() { - file_manifest_v1_genesis_proto_init() - md_Params = File_manifest_v1_genesis_proto.Messages().ByName("Params") + file_liftedinit_manifest_v1_genesis_proto_init() + md_Params = File_liftedinit_manifest_v1_genesis_proto.Messages().ByName("Params") } var _ protoreflect.Message = (*fastReflection_Params)(nil) @@ -467,7 +467,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_genesis_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -540,9 +540,9 @@ func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", fd.FullName())) } } @@ -556,9 +556,9 @@ func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", fd.FullName())) } } @@ -572,9 +572,9 @@ func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) pro switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", descriptor.FullName())) } } @@ -592,9 +592,9 @@ func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value proto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", fd.FullName())) } } @@ -612,9 +612,9 @@ func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protore switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", fd.FullName())) } } @@ -625,9 +625,9 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.Params")) } - panic(fmt.Errorf("message manifest.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.Params does not contain field %s", fd.FullName())) } } @@ -637,7 +637,7 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.Params", d.FullName())) } panic("unreachable") } @@ -809,7 +809,7 @@ func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: manifest/v1/genesis.proto +// source: liftedinit/manifest/v1/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -831,7 +831,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_genesis_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -845,7 +845,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_manifest_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_liftedinit_manifest_v1_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetParams() *Params { @@ -865,7 +865,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_genesis_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -879,57 +879,63 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_manifest_v1_genesis_proto_rawDescGZIP(), []int{1} -} - -var File_manifest_v1_genesis_proto protoreflect.FileDescriptor - -var file_manifest_v1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, - 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, - 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x41, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x1c, - 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0f, 0x6d, 0x61, 0x6e, - 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xae, 0x01, 0x0a, - 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, - 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, - 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x69, - 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, - 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x0c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + return file_liftedinit_manifest_v1_genesis_proto_rawDescGZIP(), []int{1} +} + +var File_liftedinit_manifest_v1_genesis_proto protoreflect.FileDescriptor + +var file_liftedinit_manifest_v1_genesis_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x14, + 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, + 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, + 0x1c, 0x98, 0xa0, 0x1f, 0x00, 0xe8, 0xa0, 0x1f, 0x01, 0x8a, 0xe7, 0xb0, 0x2a, 0x0f, 0x6d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xf1, 0x01, + 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, + 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, + 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, + 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, + 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4c, 0x4d, 0x58, 0xaa, + 0x02, 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x4d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, + 0x64, 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x22, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, + 0x6e, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_manifest_v1_genesis_proto_rawDescOnce sync.Once - file_manifest_v1_genesis_proto_rawDescData = file_manifest_v1_genesis_proto_rawDesc + file_liftedinit_manifest_v1_genesis_proto_rawDescOnce sync.Once + file_liftedinit_manifest_v1_genesis_proto_rawDescData = file_liftedinit_manifest_v1_genesis_proto_rawDesc ) -func file_manifest_v1_genesis_proto_rawDescGZIP() []byte { - file_manifest_v1_genesis_proto_rawDescOnce.Do(func() { - file_manifest_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_manifest_v1_genesis_proto_rawDescData) +func file_liftedinit_manifest_v1_genesis_proto_rawDescGZIP() []byte { + file_liftedinit_manifest_v1_genesis_proto_rawDescOnce.Do(func() { + file_liftedinit_manifest_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_liftedinit_manifest_v1_genesis_proto_rawDescData) }) - return file_manifest_v1_genesis_proto_rawDescData + return file_liftedinit_manifest_v1_genesis_proto_rawDescData } -var file_manifest_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_manifest_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: manifest.v1.GenesisState - (*Params)(nil), // 1: manifest.v1.Params +var file_liftedinit_manifest_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_liftedinit_manifest_v1_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: liftedinit.manifest.v1.GenesisState + (*Params)(nil), // 1: liftedinit.manifest.v1.Params } -var file_manifest_v1_genesis_proto_depIdxs = []int32{ - 1, // 0: manifest.v1.GenesisState.params:type_name -> manifest.v1.Params +var file_liftedinit_manifest_v1_genesis_proto_depIdxs = []int32{ + 1, // 0: liftedinit.manifest.v1.GenesisState.params:type_name -> liftedinit.manifest.v1.Params 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -937,13 +943,13 @@ var file_manifest_v1_genesis_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_manifest_v1_genesis_proto_init() } -func file_manifest_v1_genesis_proto_init() { - if File_manifest_v1_genesis_proto != nil { +func init() { file_liftedinit_manifest_v1_genesis_proto_init() } +func file_liftedinit_manifest_v1_genesis_proto_init() { + if File_liftedinit_manifest_v1_genesis_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_manifest_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -955,7 +961,7 @@ func file_manifest_v1_genesis_proto_init() { return nil } } - file_manifest_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -972,18 +978,18 @@ func file_manifest_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_manifest_v1_genesis_proto_rawDesc, + RawDescriptor: file_liftedinit_manifest_v1_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_manifest_v1_genesis_proto_goTypes, - DependencyIndexes: file_manifest_v1_genesis_proto_depIdxs, - MessageInfos: file_manifest_v1_genesis_proto_msgTypes, + GoTypes: file_liftedinit_manifest_v1_genesis_proto_goTypes, + DependencyIndexes: file_liftedinit_manifest_v1_genesis_proto_depIdxs, + MessageInfos: file_liftedinit_manifest_v1_genesis_proto_msgTypes, }.Build() - File_manifest_v1_genesis_proto = out.File - file_manifest_v1_genesis_proto_rawDesc = nil - file_manifest_v1_genesis_proto_goTypes = nil - file_manifest_v1_genesis_proto_depIdxs = nil + File_liftedinit_manifest_v1_genesis_proto = out.File + file_liftedinit_manifest_v1_genesis_proto_rawDesc = nil + file_liftedinit_manifest_v1_genesis_proto_goTypes = nil + file_liftedinit_manifest_v1_genesis_proto_depIdxs = nil } diff --git a/api/manifest/v1/query.pulsar.go b/api/liftedinit/manifest/v1/query.pulsar.go similarity index 76% rename from api/manifest/v1/query.pulsar.go rename to api/liftedinit/manifest/v1/query.pulsar.go index d27d583..d59e428 100644 --- a/api/manifest/v1/query.pulsar.go +++ b/api/liftedinit/manifest/v1/query.pulsar.go @@ -18,8 +18,8 @@ var ( ) func init() { - file_manifest_v1_query_proto_init() - md_QueryParamsRequest = File_manifest_v1_query_proto.Messages().ByName("QueryParamsRequest") + file_liftedinit_manifest_v1_query_proto_init() + md_QueryParamsRequest = File_liftedinit_manifest_v1_query_proto.Messages().ByName("QueryParamsRequest") } var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) @@ -31,7 +31,7 @@ func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_query_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -104,9 +104,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -120,9 +120,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -136,9 +136,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -156,9 +156,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -176,9 +176,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -189,9 +189,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -201,7 +201,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -375,8 +375,8 @@ var ( ) func init() { - file_manifest_v1_query_proto_init() - md_QueryParamsResponse = File_manifest_v1_query_proto.Messages().ByName("QueryParamsResponse") + file_liftedinit_manifest_v1_query_proto_init() + md_QueryParamsResponse = File_liftedinit_manifest_v1_query_proto.Messages().ByName("QueryParamsResponse") fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") } @@ -389,7 +389,7 @@ func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_query_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -466,13 +466,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -484,13 +484,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -502,14 +502,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -525,13 +525,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -547,16 +547,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -565,14 +565,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.QueryParamsResponse.params": + case "liftedinit.manifest.v1.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -582,7 +582,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -808,7 +808,7 @@ func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: manifest/v1/query.proto +// source: liftedinit/manifest/v1/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -827,7 +827,7 @@ type QueryParamsRequest struct { func (x *QueryParamsRequest) Reset() { *x = QueryParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_query_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -841,7 +841,7 @@ func (*QueryParamsRequest) ProtoMessage() {} // Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return file_manifest_v1_query_proto_rawDescGZIP(), []int{0} + return file_liftedinit_manifest_v1_query_proto_rawDescGZIP(), []int{0} } // QueryParamsResponse is the response type for the Query/Params RPC method. @@ -857,7 +857,7 @@ type QueryParamsResponse struct { func (x *QueryParamsResponse) Reset() { *x = QueryParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_query_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -871,7 +871,7 @@ func (*QueryParamsResponse) ProtoMessage() {} // Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return file_manifest_v1_query_proto_rawDescGZIP(), []int{1} + return file_liftedinit_manifest_v1_query_proto_rawDescGZIP(), []int{1} } func (x *QueryParamsResponse) GetParams() *Params { @@ -881,64 +881,72 @@ func (x *QueryParamsResponse) GetParams() *Params { return nil } -var File_manifest_v1_query_proto protoreflect.FileDescriptor - -var file_manifest_v1_query_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, - 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x42, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x71, 0x0a, 0x05, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x12, 0x68, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x2e, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, - 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xac, 0x01, 0x0a, - 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, - 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, - 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, - 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x17, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, +var File_liftedinit_manifest_v1_query_proto protoreflect.FileDescriptor + +var file_liftedinit_manifest_v1_query_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, + 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x6c, 0x69, 0x66, 0x74, + 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, + 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x06, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x87, 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, + 0x7e, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2a, 0x2e, 0x6c, 0x69, 0x66, 0x74, + 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, + 0xef, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0a, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, + 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, + 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4c, 0x4d, 0x58, 0xaa, + 0x02, 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x4d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, + 0x64, 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x22, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, + 0x6e, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_manifest_v1_query_proto_rawDescOnce sync.Once - file_manifest_v1_query_proto_rawDescData = file_manifest_v1_query_proto_rawDesc + file_liftedinit_manifest_v1_query_proto_rawDescOnce sync.Once + file_liftedinit_manifest_v1_query_proto_rawDescData = file_liftedinit_manifest_v1_query_proto_rawDesc ) -func file_manifest_v1_query_proto_rawDescGZIP() []byte { - file_manifest_v1_query_proto_rawDescOnce.Do(func() { - file_manifest_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_manifest_v1_query_proto_rawDescData) +func file_liftedinit_manifest_v1_query_proto_rawDescGZIP() []byte { + file_liftedinit_manifest_v1_query_proto_rawDescOnce.Do(func() { + file_liftedinit_manifest_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_liftedinit_manifest_v1_query_proto_rawDescData) }) - return file_manifest_v1_query_proto_rawDescData + return file_liftedinit_manifest_v1_query_proto_rawDescData } -var file_manifest_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_manifest_v1_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: manifest.v1.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: manifest.v1.QueryParamsResponse - (*Params)(nil), // 2: manifest.v1.Params +var file_liftedinit_manifest_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_liftedinit_manifest_v1_query_proto_goTypes = []interface{}{ + (*QueryParamsRequest)(nil), // 0: liftedinit.manifest.v1.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: liftedinit.manifest.v1.QueryParamsResponse + (*Params)(nil), // 2: liftedinit.manifest.v1.Params } -var file_manifest_v1_query_proto_depIdxs = []int32{ - 2, // 0: manifest.v1.QueryParamsResponse.params:type_name -> manifest.v1.Params - 0, // 1: manifest.v1.Query.Params:input_type -> manifest.v1.QueryParamsRequest - 1, // 2: manifest.v1.Query.Params:output_type -> manifest.v1.QueryParamsResponse +var file_liftedinit_manifest_v1_query_proto_depIdxs = []int32{ + 2, // 0: liftedinit.manifest.v1.QueryParamsResponse.params:type_name -> liftedinit.manifest.v1.Params + 0, // 1: liftedinit.manifest.v1.Query.Params:input_type -> liftedinit.manifest.v1.QueryParamsRequest + 1, // 2: liftedinit.manifest.v1.Query.Params:output_type -> liftedinit.manifest.v1.QueryParamsResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -946,14 +954,14 @@ var file_manifest_v1_query_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_manifest_v1_query_proto_init() } -func file_manifest_v1_query_proto_init() { - if File_manifest_v1_query_proto != nil { +func init() { file_liftedinit_manifest_v1_query_proto_init() } +func file_liftedinit_manifest_v1_query_proto_init() { + if File_liftedinit_manifest_v1_query_proto != nil { return } - file_manifest_v1_genesis_proto_init() + file_liftedinit_manifest_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_manifest_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { case 0: return &v.state @@ -965,7 +973,7 @@ func file_manifest_v1_query_proto_init() { return nil } } - file_manifest_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsResponse); i { case 0: return &v.state @@ -982,18 +990,18 @@ func file_manifest_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_manifest_v1_query_proto_rawDesc, + RawDescriptor: file_liftedinit_manifest_v1_query_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_manifest_v1_query_proto_goTypes, - DependencyIndexes: file_manifest_v1_query_proto_depIdxs, - MessageInfos: file_manifest_v1_query_proto_msgTypes, + GoTypes: file_liftedinit_manifest_v1_query_proto_goTypes, + DependencyIndexes: file_liftedinit_manifest_v1_query_proto_depIdxs, + MessageInfos: file_liftedinit_manifest_v1_query_proto_msgTypes, }.Build() - File_manifest_v1_query_proto = out.File - file_manifest_v1_query_proto_rawDesc = nil - file_manifest_v1_query_proto_goTypes = nil - file_manifest_v1_query_proto_depIdxs = nil + File_liftedinit_manifest_v1_query_proto = out.File + file_liftedinit_manifest_v1_query_proto_rawDesc = nil + file_liftedinit_manifest_v1_query_proto_goTypes = nil + file_liftedinit_manifest_v1_query_proto_depIdxs = nil } diff --git a/api/manifest/v1/query_grpc.pb.go b/api/liftedinit/manifest/v1/query_grpc.pb.go similarity index 94% rename from api/manifest/v1/query_grpc.pb.go rename to api/liftedinit/manifest/v1/query_grpc.pb.go index 4f657ee..9045415 100644 --- a/api/manifest/v1/query_grpc.pb.go +++ b/api/liftedinit/manifest/v1/query_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: manifest/v1/query.proto +// source: liftedinit/manifest/v1/query.proto package manifestv1 @@ -19,7 +19,7 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Query_Params_FullMethodName = "/manifest.v1.Query/Params" + Query_Params_FullMethodName = "/liftedinit.manifest.v1.Query/Params" ) // QueryClient is the client API for Query service. @@ -98,7 +98,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Query_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "manifest.v1.Query", + ServiceName: "liftedinit.manifest.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -107,5 +107,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "manifest/v1/query.proto", + Metadata: "liftedinit/manifest/v1/query.proto", } diff --git a/api/manifest/v1/tx.pulsar.go b/api/liftedinit/manifest/v1/tx.pulsar.go similarity index 82% rename from api/manifest/v1/tx.pulsar.go rename to api/liftedinit/manifest/v1/tx.pulsar.go index 070695c..857d8cc 100644 --- a/api/manifest/v1/tx.pulsar.go +++ b/api/liftedinit/manifest/v1/tx.pulsar.go @@ -24,8 +24,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgUpdateParams = File_manifest_v1_tx_proto.Messages().ByName("MsgUpdateParams") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgUpdateParams = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgUpdateParams") fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") } @@ -39,7 +39,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -122,15 +122,15 @@ func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.MsgUpdateParams.authority": + case "liftedinit.manifest.v1.MsgUpdateParams.authority": return x.Authority != "" - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -142,15 +142,15 @@ func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.MsgUpdateParams.authority": + case "liftedinit.manifest.v1.MsgUpdateParams.authority": x.Authority = "" - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -162,17 +162,17 @@ func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.MsgUpdateParams.authority": + case "liftedinit.manifest.v1.MsgUpdateParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) } } @@ -188,15 +188,15 @@ func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.MsgUpdateParams.authority": + case "liftedinit.manifest.v1.MsgUpdateParams.authority": x.Authority = value.Interface().(string) - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -212,18 +212,18 @@ func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "manifest.v1.MsgUpdateParams.authority": - panic(fmt.Errorf("field authority of message manifest.v1.MsgUpdateParams is not mutable")) + case "liftedinit.manifest.v1.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message liftedinit.manifest.v1.MsgUpdateParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -232,16 +232,16 @@ func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgUpdateParams.authority": + case "liftedinit.manifest.v1.MsgUpdateParams.authority": return protoreflect.ValueOfString("") - case "manifest.v1.MsgUpdateParams.params": + case "liftedinit.manifest.v1.MsgUpdateParams.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -251,7 +251,7 @@ func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgUpdateParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgUpdateParams", d.FullName())) } panic("unreachable") } @@ -521,8 +521,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgUpdateParamsResponse = File_manifest_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgUpdateParamsResponse = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") } var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) @@ -534,7 +534,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -607,9 +607,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -623,9 +623,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -639,9 +639,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.Fie switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -659,9 +659,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -679,9 +679,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDe switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -692,9 +692,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -704,7 +704,7 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgUpdateParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgUpdateParamsResponse", d.FullName())) } panic("unreachable") } @@ -930,8 +930,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgPayout = File_manifest_v1_tx_proto.Messages().ByName("MsgPayout") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgPayout = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgPayout") fd_MsgPayout_authority = md_MsgPayout.Fields().ByName("authority") fd_MsgPayout_payout_pairs = md_MsgPayout.Fields().ByName("payout_pairs") } @@ -945,7 +945,7 @@ func (x *MsgPayout) ProtoReflect() protoreflect.Message { } func (x *MsgPayout) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[2] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1028,15 +1028,15 @@ func (x *fastReflection_MsgPayout) Range(f func(protoreflect.FieldDescriptor, pr // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgPayout) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.MsgPayout.authority": + case "liftedinit.manifest.v1.MsgPayout.authority": return x.Authority != "" - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": return len(x.PayoutPairs) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", fd.FullName())) } } @@ -1048,15 +1048,15 @@ func (x *fastReflection_MsgPayout) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgPayout) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.MsgPayout.authority": + case "liftedinit.manifest.v1.MsgPayout.authority": x.Authority = "" - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": x.PayoutPairs = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", fd.FullName())) } } @@ -1068,10 +1068,10 @@ func (x *fastReflection_MsgPayout) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgPayout) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.MsgPayout.authority": + case "liftedinit.manifest.v1.MsgPayout.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": if len(x.PayoutPairs) == 0 { return protoreflect.ValueOfList(&_MsgPayout_2_list{}) } @@ -1079,9 +1079,9 @@ func (x *fastReflection_MsgPayout) Get(descriptor protoreflect.FieldDescriptor) return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", descriptor.FullName())) } } @@ -1097,17 +1097,17 @@ func (x *fastReflection_MsgPayout) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgPayout) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.MsgPayout.authority": + case "liftedinit.manifest.v1.MsgPayout.authority": x.Authority = value.Interface().(string) - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": lv := value.List() clv := lv.(*_MsgPayout_2_list) x.PayoutPairs = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", fd.FullName())) } } @@ -1123,19 +1123,19 @@ func (x *fastReflection_MsgPayout) Set(fd protoreflect.FieldDescriptor, value pr // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgPayout) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": if x.PayoutPairs == nil { x.PayoutPairs = []*PayoutPair{} } value := &_MsgPayout_2_list{list: &x.PayoutPairs} return protoreflect.ValueOfList(value) - case "manifest.v1.MsgPayout.authority": - panic(fmt.Errorf("field authority of message manifest.v1.MsgPayout is not mutable")) + case "liftedinit.manifest.v1.MsgPayout.authority": + panic(fmt.Errorf("field authority of message liftedinit.manifest.v1.MsgPayout is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", fd.FullName())) } } @@ -1144,16 +1144,16 @@ func (x *fastReflection_MsgPayout) Mutable(fd protoreflect.FieldDescriptor) prot // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgPayout) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgPayout.authority": + case "liftedinit.manifest.v1.MsgPayout.authority": return protoreflect.ValueOfString("") - case "manifest.v1.MsgPayout.payout_pairs": + case "liftedinit.manifest.v1.MsgPayout.payout_pairs": list := []*PayoutPair{} return protoreflect.ValueOfList(&_MsgPayout_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayout")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayout")) } - panic(fmt.Errorf("message manifest.v1.MsgPayout does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayout does not contain field %s", fd.FullName())) } } @@ -1163,7 +1163,7 @@ func (x *fastReflection_MsgPayout) NewField(fd protoreflect.FieldDescriptor) pro func (x *fastReflection_MsgPayout) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgPayout", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgPayout", d.FullName())) } panic("unreachable") } @@ -1437,8 +1437,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_PayoutPair = File_manifest_v1_tx_proto.Messages().ByName("PayoutPair") + file_liftedinit_manifest_v1_tx_proto_init() + md_PayoutPair = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("PayoutPair") fd_PayoutPair_address = md_PayoutPair.Fields().ByName("address") fd_PayoutPair_coin = md_PayoutPair.Fields().ByName("coin") } @@ -1452,7 +1452,7 @@ func (x *PayoutPair) ProtoReflect() protoreflect.Message { } func (x *PayoutPair) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[3] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1535,15 +1535,15 @@ func (x *fastReflection_PayoutPair) Range(f func(protoreflect.FieldDescriptor, p // a repeated field is populated if it is non-empty. func (x *fastReflection_PayoutPair) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.PayoutPair.address": + case "liftedinit.manifest.v1.PayoutPair.address": return x.Address != "" - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": return x.Coin != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", fd.FullName())) } } @@ -1555,15 +1555,15 @@ func (x *fastReflection_PayoutPair) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PayoutPair) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.PayoutPair.address": + case "liftedinit.manifest.v1.PayoutPair.address": x.Address = "" - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": x.Coin = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", fd.FullName())) } } @@ -1575,17 +1575,17 @@ func (x *fastReflection_PayoutPair) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_PayoutPair) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.PayoutPair.address": + case "liftedinit.manifest.v1.PayoutPair.address": value := x.Address return protoreflect.ValueOfString(value) - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": value := x.Coin return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", descriptor.FullName())) } } @@ -1601,15 +1601,15 @@ func (x *fastReflection_PayoutPair) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PayoutPair) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.PayoutPair.address": + case "liftedinit.manifest.v1.PayoutPair.address": x.Address = value.Interface().(string) - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": x.Coin = value.Message().Interface().(*types.Coin) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", fd.FullName())) } } @@ -1625,18 +1625,18 @@ func (x *fastReflection_PayoutPair) Set(fd protoreflect.FieldDescriptor, value p // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_PayoutPair) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": if x.Coin == nil { x.Coin = new(types.Coin) } return protoreflect.ValueOfMessage(x.Coin.ProtoReflect()) - case "manifest.v1.PayoutPair.address": - panic(fmt.Errorf("field address of message manifest.v1.PayoutPair is not mutable")) + case "liftedinit.manifest.v1.PayoutPair.address": + panic(fmt.Errorf("field address of message liftedinit.manifest.v1.PayoutPair is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", fd.FullName())) } } @@ -1645,16 +1645,16 @@ func (x *fastReflection_PayoutPair) Mutable(fd protoreflect.FieldDescriptor) pro // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_PayoutPair) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.PayoutPair.address": + case "liftedinit.manifest.v1.PayoutPair.address": return protoreflect.ValueOfString("") - case "manifest.v1.PayoutPair.coin": + case "liftedinit.manifest.v1.PayoutPair.coin": m := new(types.Coin) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.PayoutPair")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.PayoutPair")) } - panic(fmt.Errorf("message manifest.v1.PayoutPair does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.PayoutPair does not contain field %s", fd.FullName())) } } @@ -1664,7 +1664,7 @@ func (x *fastReflection_PayoutPair) NewField(fd protoreflect.FieldDescriptor) pr func (x *fastReflection_PayoutPair) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.PayoutPair", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.PayoutPair", d.FullName())) } panic("unreachable") } @@ -1934,8 +1934,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgPayoutResponse = File_manifest_v1_tx_proto.Messages().ByName("MsgPayoutResponse") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgPayoutResponse = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgPayoutResponse") } var _ protoreflect.Message = (*fastReflection_MsgPayoutResponse)(nil) @@ -1947,7 +1947,7 @@ func (x *MsgPayoutResponse) ProtoReflect() protoreflect.Message { } func (x *MsgPayoutResponse) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[4] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2020,9 +2020,9 @@ func (x *fastReflection_MsgPayoutResponse) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) } } @@ -2036,9 +2036,9 @@ func (x *fastReflection_MsgPayoutResponse) Clear(fd protoreflect.FieldDescriptor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) } } @@ -2052,9 +2052,9 @@ func (x *fastReflection_MsgPayoutResponse) Get(descriptor protoreflect.FieldDesc switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", descriptor.FullName())) } } @@ -2072,9 +2072,9 @@ func (x *fastReflection_MsgPayoutResponse) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) } } @@ -2092,9 +2092,9 @@ func (x *fastReflection_MsgPayoutResponse) Mutable(fd protoreflect.FieldDescript switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) } } @@ -2105,9 +2105,9 @@ func (x *fastReflection_MsgPayoutResponse) NewField(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgPayoutResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgPayoutResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgPayoutResponse does not contain field %s", fd.FullName())) } } @@ -2117,7 +2117,7 @@ func (x *fastReflection_MsgPayoutResponse) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_MsgPayoutResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgPayoutResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgPayoutResponse", d.FullName())) } panic("unreachable") } @@ -2343,8 +2343,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgBurnHeldBalance = File_manifest_v1_tx_proto.Messages().ByName("MsgBurnHeldBalance") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgBurnHeldBalance = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgBurnHeldBalance") fd_MsgBurnHeldBalance_authority = md_MsgBurnHeldBalance.Fields().ByName("authority") fd_MsgBurnHeldBalance_burn_coins = md_MsgBurnHeldBalance.Fields().ByName("burn_coins") } @@ -2358,7 +2358,7 @@ func (x *MsgBurnHeldBalance) ProtoReflect() protoreflect.Message { } func (x *MsgBurnHeldBalance) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[5] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2441,15 +2441,15 @@ func (x *fastReflection_MsgBurnHeldBalance) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgBurnHeldBalance) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "manifest.v1.MsgBurnHeldBalance.authority": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": return x.Authority != "" - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": return len(x.BurnCoins) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) } } @@ -2461,15 +2461,15 @@ func (x *fastReflection_MsgBurnHeldBalance) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgBurnHeldBalance) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "manifest.v1.MsgBurnHeldBalance.authority": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": x.Authority = "" - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": x.BurnCoins = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) } } @@ -2481,10 +2481,10 @@ func (x *fastReflection_MsgBurnHeldBalance) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgBurnHeldBalance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "manifest.v1.MsgBurnHeldBalance.authority": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": if len(x.BurnCoins) == 0 { return protoreflect.ValueOfList(&_MsgBurnHeldBalance_2_list{}) } @@ -2492,9 +2492,9 @@ func (x *fastReflection_MsgBurnHeldBalance) Get(descriptor protoreflect.FieldDes return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", descriptor.FullName())) } } @@ -2510,17 +2510,17 @@ func (x *fastReflection_MsgBurnHeldBalance) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgBurnHeldBalance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "manifest.v1.MsgBurnHeldBalance.authority": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": x.Authority = value.Interface().(string) - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": lv := value.List() clv := lv.(*_MsgBurnHeldBalance_2_list) x.BurnCoins = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) } } @@ -2536,19 +2536,19 @@ func (x *fastReflection_MsgBurnHeldBalance) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgBurnHeldBalance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": if x.BurnCoins == nil { x.BurnCoins = []*types.Coin{} } value := &_MsgBurnHeldBalance_2_list{list: &x.BurnCoins} return protoreflect.ValueOfList(value) - case "manifest.v1.MsgBurnHeldBalance.authority": - panic(fmt.Errorf("field authority of message manifest.v1.MsgBurnHeldBalance is not mutable")) + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": + panic(fmt.Errorf("field authority of message liftedinit.manifest.v1.MsgBurnHeldBalance is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) } } @@ -2557,16 +2557,16 @@ func (x *fastReflection_MsgBurnHeldBalance) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgBurnHeldBalance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "manifest.v1.MsgBurnHeldBalance.authority": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.authority": return protoreflect.ValueOfString("") - case "manifest.v1.MsgBurnHeldBalance.burn_coins": + case "liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins": list := []*types.Coin{} return protoreflect.ValueOfList(&_MsgBurnHeldBalance_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalance")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalance")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalance does not contain field %s", fd.FullName())) } } @@ -2576,7 +2576,7 @@ func (x *fastReflection_MsgBurnHeldBalance) NewField(fd protoreflect.FieldDescri func (x *fastReflection_MsgBurnHeldBalance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgBurnHeldBalance", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgBurnHeldBalance", d.FullName())) } panic("unreachable") } @@ -2848,8 +2848,8 @@ var ( ) func init() { - file_manifest_v1_tx_proto_init() - md_MsgBurnHeldBalanceResponse = File_manifest_v1_tx_proto.Messages().ByName("MsgBurnHeldBalanceResponse") + file_liftedinit_manifest_v1_tx_proto_init() + md_MsgBurnHeldBalanceResponse = File_liftedinit_manifest_v1_tx_proto.Messages().ByName("MsgBurnHeldBalanceResponse") } var _ protoreflect.Message = (*fastReflection_MsgBurnHeldBalanceResponse)(nil) @@ -2861,7 +2861,7 @@ func (x *MsgBurnHeldBalanceResponse) ProtoReflect() protoreflect.Message { } func (x *MsgBurnHeldBalanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_manifest_v1_tx_proto_msgTypes[6] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2934,9 +2934,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) Has(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) } } @@ -2950,9 +2950,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) Clear(fd protoreflect.FieldD switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) } } @@ -2966,9 +2966,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) Get(descriptor protoreflect. switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", descriptor.FullName())) } } @@ -2986,9 +2986,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) Set(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) } } @@ -3006,9 +3006,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) Mutable(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) } } @@ -3019,9 +3019,9 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) NewField(fd protoreflect.Fie switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: manifest.v1.MsgBurnHeldBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse")) } - panic(fmt.Errorf("message manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message liftedinit.manifest.v1.MsgBurnHeldBalanceResponse does not contain field %s", fd.FullName())) } } @@ -3031,7 +3031,7 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) NewField(fd protoreflect.Fie func (x *fastReflection_MsgBurnHeldBalanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in manifest.v1.MsgBurnHeldBalanceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in liftedinit.manifest.v1.MsgBurnHeldBalanceResponse", d.FullName())) } panic("unreachable") } @@ -3203,7 +3203,7 @@ func (x *fastReflection_MsgBurnHeldBalanceResponse) ProtoMethods() *protoiface.M // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: manifest/v1/tx.proto +// source: liftedinit/manifest/v1/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -3231,7 +3231,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[0] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3245,7 +3245,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{0} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{0} } func (x *MsgUpdateParams) GetAuthority() string { @@ -3275,7 +3275,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[1] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3289,7 +3289,7 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{1} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{1} } // MsgPayout is the Msg/Payout request type. @@ -3307,7 +3307,7 @@ type MsgPayout struct { func (x *MsgPayout) Reset() { *x = MsgPayout{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[2] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3321,7 +3321,7 @@ func (*MsgPayout) ProtoMessage() {} // Deprecated: Use MsgPayout.ProtoReflect.Descriptor instead. func (*MsgPayout) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{2} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{2} } func (x *MsgPayout) GetAuthority() string { @@ -3351,7 +3351,7 @@ type PayoutPair struct { func (x *PayoutPair) Reset() { *x = PayoutPair{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[3] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3365,7 +3365,7 @@ func (*PayoutPair) ProtoMessage() {} // Deprecated: Use PayoutPair.ProtoReflect.Descriptor instead. func (*PayoutPair) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{3} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{3} } func (x *PayoutPair) GetAddress() string { @@ -3392,7 +3392,7 @@ type MsgPayoutResponse struct { func (x *MsgPayoutResponse) Reset() { *x = MsgPayoutResponse{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[4] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3406,7 +3406,7 @@ func (*MsgPayoutResponse) ProtoMessage() {} // Deprecated: Use MsgPayoutResponse.ProtoReflect.Descriptor instead. func (*MsgPayoutResponse) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{4} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{4} } // MsgPayout is the Msg/BurnHeldBalance request type. @@ -3424,7 +3424,7 @@ type MsgBurnHeldBalance struct { func (x *MsgBurnHeldBalance) Reset() { *x = MsgBurnHeldBalance{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[5] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3438,7 +3438,7 @@ func (*MsgBurnHeldBalance) ProtoMessage() {} // Deprecated: Use MsgBurnHeldBalance.ProtoReflect.Descriptor instead. func (*MsgBurnHeldBalance) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{5} + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{5} } func (x *MsgBurnHeldBalance) GetAuthority() string { @@ -3465,7 +3465,7 @@ type MsgBurnHeldBalanceResponse struct { func (x *MsgBurnHeldBalanceResponse) Reset() { *x = MsgBurnHeldBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_manifest_v1_tx_proto_msgTypes[6] + mi := &file_liftedinit_manifest_v1_tx_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3479,137 +3479,148 @@ func (*MsgBurnHeldBalanceResponse) ProtoMessage() {} // Deprecated: Use MsgBurnHeldBalanceResponse.ProtoReflect.Descriptor instead. func (*MsgBurnHeldBalanceResponse) Descriptor() ([]byte, []int) { - return file_manifest_v1_tx_proto_rawDescGZIP(), []int{6} -} - -var File_manifest_v1_tx_proto protoreflect.FileDescriptor - -var file_manifest_v1_tx_proto_rawDesc = []byte{ - 0x0a, 0x14, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, - 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x61, - 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, - 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, - 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x0f, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, - 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, - 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9e, 0x01, 0x0a, 0x09, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x45, 0x0a, 0x0c, 0x70, - 0x61, 0x79, 0x6f, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x69, 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, - 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x69, - 0x72, 0x73, 0x3a, 0x12, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x9b, 0x01, 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x6f, 0x75, - 0x74, 0x50, 0x61, 0x69, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x73, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x44, 0xc8, 0xde, 0x1f, 0x00, 0xfa, 0xde, - 0x1f, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x9a, 0xe7, 0xb0, 0x2a, 0x0b, 0x6c, 0x65, - 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x04, - 0x63, 0x6f, 0x69, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x79, 0x6f, 0x75, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe3, 0x01, 0x0a, 0x12, 0x4d, 0x73, - 0x67, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + return file_liftedinit_manifest_v1_tx_proto_rawDescGZIP(), []int{6} +} + +var File_liftedinit_manifest_v1_tx_proto protoreflect.FileDescriptor + +var file_liftedinit_manifest_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x16, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x24, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, + 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, + 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, + 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, + 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x80, 0x01, 0x0a, 0x0a, 0x62, 0x75, 0x72, - 0x6e, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x46, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, - 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x9a, 0xe7, 0xb0, 0x2a, 0x0c, 0x6c, - 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x09, 0x62, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x3a, 0x12, 0xe8, 0xa0, 0x1f, - 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, - 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xff, 0x01, - 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x52, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x50, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x12, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, + 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x09, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, + 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x50, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6f, 0x75, + 0x74, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x69, + 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x70, 0x61, + 0x79, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x69, 0x72, 0x73, 0x3a, 0x12, 0xe8, 0xa0, 0x1f, 0x00, 0x82, + 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x9b, 0x01, + 0x0a, 0x0a, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x50, 0x61, 0x69, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x73, 0x0a, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, + 0x44, 0xc8, 0xde, 0x1f, 0x00, 0xfa, 0xde, 0x1f, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, + 0x9a, 0xe7, 0xb0, 0x2a, 0x0b, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x69, 0x6e, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x04, 0x63, 0x6f, 0x69, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x4d, + 0x73, 0x67, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xe3, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, + 0x80, 0x01, 0x0a, 0x0a, 0x62, 0x75, 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, + 0x46, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, + 0x73, 0x9a, 0xe7, 0xb0, 0x2a, 0x0c, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x69, + 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x09, 0x62, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x69, + 0x6e, 0x73, 0x3a, 0x12, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, + 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc1, 0x02, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x68, 0x0a, 0x0c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x2e, 0x6c, + 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, + 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2f, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x06, 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, + 0x12, 0x21, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x61, 0x79, - 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x42, - 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, + 0x6f, 0x75, 0x74, 0x1a, 0x29, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, - 0x27, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, - 0xa9, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, - 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x66, 0x74, 0x65, - 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2d, 0x6c, - 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, - 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x17, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x50, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, + 0x0a, 0x0f, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x2a, 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, + 0x72, 0x6e, 0x48, 0x65, 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x32, 0x2e, + 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x42, 0x75, 0x72, 0x6e, 0x48, 0x65, + 0x6c, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xec, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, + 0x2e, 0x6c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, + 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, + 0x73, 0x74, 0x2d, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x69, + 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x2f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x76, 0x31, 0xa2, + 0x02, 0x03, 0x4c, 0x4d, 0x58, 0xaa, 0x02, 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, + 0x69, 0x74, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x16, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x4c, 0x69, 0x66, 0x74, 0x65, 0x64, + 0x69, 0x6e, 0x69, 0x74, 0x5c, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5c, 0x56, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x4c, + 0x69, 0x66, 0x74, 0x65, 0x64, 0x69, 0x6e, 0x69, 0x74, 0x3a, 0x3a, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_manifest_v1_tx_proto_rawDescOnce sync.Once - file_manifest_v1_tx_proto_rawDescData = file_manifest_v1_tx_proto_rawDesc + file_liftedinit_manifest_v1_tx_proto_rawDescOnce sync.Once + file_liftedinit_manifest_v1_tx_proto_rawDescData = file_liftedinit_manifest_v1_tx_proto_rawDesc ) -func file_manifest_v1_tx_proto_rawDescGZIP() []byte { - file_manifest_v1_tx_proto_rawDescOnce.Do(func() { - file_manifest_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_manifest_v1_tx_proto_rawDescData) +func file_liftedinit_manifest_v1_tx_proto_rawDescGZIP() []byte { + file_liftedinit_manifest_v1_tx_proto_rawDescOnce.Do(func() { + file_liftedinit_manifest_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_liftedinit_manifest_v1_tx_proto_rawDescData) }) - return file_manifest_v1_tx_proto_rawDescData -} - -var file_manifest_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_manifest_v1_tx_proto_goTypes = []interface{}{ - (*MsgUpdateParams)(nil), // 0: manifest.v1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 1: manifest.v1.MsgUpdateParamsResponse - (*MsgPayout)(nil), // 2: manifest.v1.MsgPayout - (*PayoutPair)(nil), // 3: manifest.v1.PayoutPair - (*MsgPayoutResponse)(nil), // 4: manifest.v1.MsgPayoutResponse - (*MsgBurnHeldBalance)(nil), // 5: manifest.v1.MsgBurnHeldBalance - (*MsgBurnHeldBalanceResponse)(nil), // 6: manifest.v1.MsgBurnHeldBalanceResponse - (*Params)(nil), // 7: manifest.v1.Params + return file_liftedinit_manifest_v1_tx_proto_rawDescData +} + +var file_liftedinit_manifest_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_liftedinit_manifest_v1_tx_proto_goTypes = []interface{}{ + (*MsgUpdateParams)(nil), // 0: liftedinit.manifest.v1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 1: liftedinit.manifest.v1.MsgUpdateParamsResponse + (*MsgPayout)(nil), // 2: liftedinit.manifest.v1.MsgPayout + (*PayoutPair)(nil), // 3: liftedinit.manifest.v1.PayoutPair + (*MsgPayoutResponse)(nil), // 4: liftedinit.manifest.v1.MsgPayoutResponse + (*MsgBurnHeldBalance)(nil), // 5: liftedinit.manifest.v1.MsgBurnHeldBalance + (*MsgBurnHeldBalanceResponse)(nil), // 6: liftedinit.manifest.v1.MsgBurnHeldBalanceResponse + (*Params)(nil), // 7: liftedinit.manifest.v1.Params (*types.Coin)(nil), // 8: cosmos.base.v1beta1.Coin } -var file_manifest_v1_tx_proto_depIdxs = []int32{ - 7, // 0: manifest.v1.MsgUpdateParams.params:type_name -> manifest.v1.Params - 3, // 1: manifest.v1.MsgPayout.payout_pairs:type_name -> manifest.v1.PayoutPair - 8, // 2: manifest.v1.PayoutPair.coin:type_name -> cosmos.base.v1beta1.Coin - 8, // 3: manifest.v1.MsgBurnHeldBalance.burn_coins:type_name -> cosmos.base.v1beta1.Coin - 0, // 4: manifest.v1.Msg.UpdateParams:input_type -> manifest.v1.MsgUpdateParams - 2, // 5: manifest.v1.Msg.Payout:input_type -> manifest.v1.MsgPayout - 5, // 6: manifest.v1.Msg.BurnHeldBalance:input_type -> manifest.v1.MsgBurnHeldBalance - 1, // 7: manifest.v1.Msg.UpdateParams:output_type -> manifest.v1.MsgUpdateParamsResponse - 4, // 8: manifest.v1.Msg.Payout:output_type -> manifest.v1.MsgPayoutResponse - 6, // 9: manifest.v1.Msg.BurnHeldBalance:output_type -> manifest.v1.MsgBurnHeldBalanceResponse +var file_liftedinit_manifest_v1_tx_proto_depIdxs = []int32{ + 7, // 0: liftedinit.manifest.v1.MsgUpdateParams.params:type_name -> liftedinit.manifest.v1.Params + 3, // 1: liftedinit.manifest.v1.MsgPayout.payout_pairs:type_name -> liftedinit.manifest.v1.PayoutPair + 8, // 2: liftedinit.manifest.v1.PayoutPair.coin:type_name -> cosmos.base.v1beta1.Coin + 8, // 3: liftedinit.manifest.v1.MsgBurnHeldBalance.burn_coins:type_name -> cosmos.base.v1beta1.Coin + 0, // 4: liftedinit.manifest.v1.Msg.UpdateParams:input_type -> liftedinit.manifest.v1.MsgUpdateParams + 2, // 5: liftedinit.manifest.v1.Msg.Payout:input_type -> liftedinit.manifest.v1.MsgPayout + 5, // 6: liftedinit.manifest.v1.Msg.BurnHeldBalance:input_type -> liftedinit.manifest.v1.MsgBurnHeldBalance + 1, // 7: liftedinit.manifest.v1.Msg.UpdateParams:output_type -> liftedinit.manifest.v1.MsgUpdateParamsResponse + 4, // 8: liftedinit.manifest.v1.Msg.Payout:output_type -> liftedinit.manifest.v1.MsgPayoutResponse + 6, // 9: liftedinit.manifest.v1.Msg.BurnHeldBalance:output_type -> liftedinit.manifest.v1.MsgBurnHeldBalanceResponse 7, // [7:10] is the sub-list for method output_type 4, // [4:7] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name @@ -3617,14 +3628,14 @@ var file_manifest_v1_tx_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_manifest_v1_tx_proto_init() } -func file_manifest_v1_tx_proto_init() { - if File_manifest_v1_tx_proto != nil { +func init() { file_liftedinit_manifest_v1_tx_proto_init() } +func file_liftedinit_manifest_v1_tx_proto_init() { + if File_liftedinit_manifest_v1_tx_proto != nil { return } - file_manifest_v1_genesis_proto_init() + file_liftedinit_manifest_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_manifest_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParams); i { case 0: return &v.state @@ -3636,7 +3647,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state @@ -3648,7 +3659,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgPayout); i { case 0: return &v.state @@ -3660,7 +3671,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PayoutPair); i { case 0: return &v.state @@ -3672,7 +3683,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgPayoutResponse); i { case 0: return &v.state @@ -3684,7 +3695,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgBurnHeldBalance); i { case 0: return &v.state @@ -3696,7 +3707,7 @@ func file_manifest_v1_tx_proto_init() { return nil } } - file_manifest_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_liftedinit_manifest_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgBurnHeldBalanceResponse); i { case 0: return &v.state @@ -3713,18 +3724,18 @@ func file_manifest_v1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_manifest_v1_tx_proto_rawDesc, + RawDescriptor: file_liftedinit_manifest_v1_tx_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_manifest_v1_tx_proto_goTypes, - DependencyIndexes: file_manifest_v1_tx_proto_depIdxs, - MessageInfos: file_manifest_v1_tx_proto_msgTypes, + GoTypes: file_liftedinit_manifest_v1_tx_proto_goTypes, + DependencyIndexes: file_liftedinit_manifest_v1_tx_proto_depIdxs, + MessageInfos: file_liftedinit_manifest_v1_tx_proto_msgTypes, }.Build() - File_manifest_v1_tx_proto = out.File - file_manifest_v1_tx_proto_rawDesc = nil - file_manifest_v1_tx_proto_goTypes = nil - file_manifest_v1_tx_proto_depIdxs = nil + File_liftedinit_manifest_v1_tx_proto = out.File + file_liftedinit_manifest_v1_tx_proto_rawDesc = nil + file_liftedinit_manifest_v1_tx_proto_goTypes = nil + file_liftedinit_manifest_v1_tx_proto_depIdxs = nil } diff --git a/api/manifest/v1/tx_grpc.pb.go b/api/liftedinit/manifest/v1/tx_grpc.pb.go similarity index 94% rename from api/manifest/v1/tx_grpc.pb.go rename to api/liftedinit/manifest/v1/tx_grpc.pb.go index 803becc..4dda9e1 100644 --- a/api/manifest/v1/tx_grpc.pb.go +++ b/api/liftedinit/manifest/v1/tx_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: manifest/v1/tx.proto +// source: liftedinit/manifest/v1/tx.proto package manifestv1 @@ -19,9 +19,9 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Msg_UpdateParams_FullMethodName = "/manifest.v1.Msg/UpdateParams" - Msg_Payout_FullMethodName = "/manifest.v1.Msg/Payout" - Msg_BurnHeldBalance_FullMethodName = "/manifest.v1.Msg/BurnHeldBalance" + Msg_UpdateParams_FullMethodName = "/liftedinit.manifest.v1.Msg/UpdateParams" + Msg_Payout_FullMethodName = "/liftedinit.manifest.v1.Msg/Payout" + Msg_BurnHeldBalance_FullMethodName = "/liftedinit.manifest.v1.Msg/BurnHeldBalance" ) // MsgClient is the client API for Msg service. @@ -172,7 +172,7 @@ func _Msg_BurnHeldBalance_Handler(srv interface{}, ctx context.Context, dec func // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Msg_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "manifest.v1.Msg", + ServiceName: "liftedinit.manifest.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -189,5 +189,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "manifest/v1/tx.proto", + Metadata: "liftedinit/manifest/v1/tx.proto", } diff --git a/app/ante.go b/app/ante.go index 912f9fe..58f8ce0 100644 --- a/app/ante.go +++ b/app/ante.go @@ -16,6 +16,11 @@ import ( poaante "github.com/strangelove-ventures/poa/ante" ) +type RateMinMax struct { + Floor sdkmath.LegacyDec + Ceil sdkmath.LegacyDec +} + // HandlerOptions extend the SDK's AnteHandler options by requiring the IBC // channel keeper. type HandlerOptions struct { @@ -23,6 +28,7 @@ type HandlerOptions struct { IBCKeeper *keeper.Keeper CircuitKeeper *circuitkeeper.Keeper + RateMinMax RateMinMax } func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { @@ -38,10 +44,20 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { if options.CircuitKeeper == nil { return nil, errors.New("circuit keeper is required for ante builder") } + if options.RateMinMax.Floor.IsNil() { + return nil, errors.New("rate floor is required for ante builder") + } + if options.RateMinMax.Ceil.IsNil() { + return nil, errors.New("rate ceil is required for ante builder") + } + if options.RateMinMax.Floor.IsNegative() { + return nil, errors.New("rate floor must be non-negative") + } + if options.RateMinMax.Ceil.IsNegative() { + return nil, errors.New("rate ceil must be non-negative") + } doGenTxRateValidation := false - rateFloor := sdkmath.LegacyMustNewDecFromStr("0.00") // can use this or Staking params. Which even is higher will be used. Will set that to 0 - rateCeil := sdkmath.LegacyMustNewDecFromStr("0.00") anteDecorators := []sdk.AnteDecorator{ ante.NewSetUpContextDecorator(), @@ -58,7 +74,8 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { ante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler), ante.NewIncrementSequenceDecorator(options.AccountKeeper), poaante.NewPOADisableStakingDecorator(), - poaante.NewCommissionLimitDecorator(doGenTxRateValidation, rateFloor, rateCeil), + poaante.NewPOADisableWithdrawDelegatorRewards(), + poaante.NewCommissionLimitDecorator(doGenTxRateValidation, options.RateMinMax.Floor, options.RateMinMax.Ceil), ibcante.NewRedundantRelayDecorator(options.IBCKeeper), } diff --git a/app/app.go b/app/app.go index 98a61d1..9db7d1b 100644 --- a/app/app.go +++ b/app/app.go @@ -42,6 +42,7 @@ import ( "cosmossdk.io/client/v2/autocli" "cosmossdk.io/core/appmodule" "cosmossdk.io/log" + sdkmath "cosmossdk.io/math" storetypes "cosmossdk.io/store/types" "cosmossdk.io/x/circuit" circuitkeeper "cosmossdk.io/x/circuit/keeper" @@ -151,9 +152,13 @@ func GetPoAAdmin() string { // We pull these out so we can set them with LDFLAGS in the Makefile var ( - appName = "manifest" - Bech32Prefix = "manifest" - DefaultNodeHome = ".manifest" + AppName = "manifest" + Bech32Prefix = "manifest" + DefaultNodeHome = ".manifest" + DefaultCommissionRateMinMax = RateMinMax{ + Floor: sdkmath.LegacyZeroDec(), + Ceil: sdkmath.LegacyZeroDec(), + } tokenFactoryCapabilities = []string{ tokenfactorytypes.EnableBurnFrom, @@ -277,6 +282,7 @@ func NewApp( db dbm.DB, traceStore io.Writer, loadLatest bool, + commissionRateMinMax RateMinMax, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) *ManifestApp { @@ -301,7 +307,7 @@ func NewApp( std.RegisterLegacyAminoCodec(legacyAmino) std.RegisterInterfaces(interfaceRegistry) - bApp := baseapp.NewBaseApp(appName, logger, db, txConfig.TxDecoder(), baseAppOptions...) + bApp := baseapp.NewBaseApp(AppName, logger, db, txConfig.TxDecoder(), baseAppOptions...) bApp.SetCommitMultiStoreTracer(traceStore) bApp.SetVersion(version.Version) bApp.SetInterfaceRegistry(interfaceRegistry) @@ -433,6 +439,7 @@ func NewApp( app.BankKeeper, logger, ) + app.POAKeeper.SetTestAccountKeeper(app.AccountKeeper) invCheckPeriod := cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)) app.CrisisKeeper = crisiskeeper.NewKeeper( @@ -558,6 +565,7 @@ func NewApp( logger, GetPoAAdmin(), ) + app.ManifestKeeper.SetTestAccountKeeper(app.AccountKeeper) // Create the TokenFactory Keeper app.TokenFactoryKeeper = tokenfactorykeeper.NewKeeper( @@ -820,7 +828,6 @@ func NewApp( authtypes.ModuleName: auth.NewAppModule(app.appCodec, app.AccountKeeper, authsims.RandomGenesisAccounts, app.GetSubspace(authtypes.ModuleName)), } app.sm = module.NewSimulationManagerFromAppModules(app.ModuleManager.Modules, overrideModules) - app.sm.RegisterStoreDecoders() // initialize stores @@ -840,7 +847,7 @@ func NewApp( app.ScopedICAHostKeeper = scopedICAHostKeeper app.ScopedICAControllerKeeper = scopedICAControllerKeeper - app.setAnteHandler(txConfig) + app.setAnteHandler(txConfig, commissionRateMinMax) // In v0.46, the SDK introduces _postHandlers_. PostHandlers are like // antehandlers, but are run _after_ the `runMsgs` execution. They are also @@ -884,7 +891,7 @@ func NewApp( return app } -func (app *ManifestApp) setAnteHandler(txConfig client.TxConfig) { +func (app *ManifestApp) setAnteHandler(txConfig client.TxConfig, commissionRateMinMax RateMinMax) { anteHandler, err := NewAnteHandler( HandlerOptions{ HandlerOptions: ante.HandlerOptions{ @@ -896,6 +903,7 @@ func (app *ManifestApp) setAnteHandler(txConfig client.TxConfig) { }, IBCKeeper: app.IBCKeeper, CircuitKeeper: &app.CircuitKeeper, + RateMinMax: commissionRateMinMax, }, ) if err != nil { diff --git a/app/apptesting/test_suite.go b/app/apptesting/test_suite.go index 4cdd714..ba970b4 100644 --- a/app/apptesting/test_suite.go +++ b/app/apptesting/test_suite.go @@ -1,272 +1,11 @@ package apptesting import ( - "fmt" - "time" - - "github.com/stretchr/testify/suite" - "github.com/cometbft/cometbft/crypto/ed25519" - tmtypes "github.com/cometbft/cometbft/proto/tendermint/types" - - dbm "github.com/cosmos/cosmos-db" - "cosmossdk.io/log" - "cosmossdk.io/math" - "cosmossdk.io/store/metrics" - "cosmossdk.io/store/rootmulti" - storetypes "cosmossdk.io/store/types" - upgradetypes "cosmossdk.io/x/upgrade/types" - - "github.com/cosmos/cosmos-sdk/baseapp" - "github.com/cosmos/cosmos-sdk/client" - "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/tx/signing" - authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" - banktestutil "github.com/cosmos/cosmos-sdk/x/bank/testutil" - distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" - minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakinghelper "github.com/cosmos/cosmos-sdk/x/staking/testutil" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - - "github.com/liftedinit/manifest-ledger/app" - appparams "github.com/liftedinit/manifest-ledger/app/params" ) -type KeeperTestHelper struct { - suite.Suite - - App *app.ManifestApp - Ctx sdk.Context - QueryHelper *baseapp.QueryServiceTestHelper - TestAccs []sdk.AccAddress - - StakingHelper *stakinghelper.Helper -} - -// Setup sets up basic environment for suite (App, Ctx, and test accounts) -func (s *KeeperTestHelper) Setup() { - t := s.T() - s.Ctx, s.App = app.Setup(t) - - s.QueryHelper = &baseapp.QueryServiceTestHelper{ - GRPCQueryRouter: s.App.GRPCQueryRouter(), - Ctx: s.Ctx, - } - s.TestAccs = CreateRandomAccounts(3) - - s.StakingHelper = stakinghelper.NewHelper(s.Suite.T(), s.Ctx, s.App.StakingKeeper) - s.StakingHelper.Denom = "stake" -} - -func (s *KeeperTestHelper) SetupTestForInitGenesis() { - t := s.T() - // Setting to True, leads to init genesis not running - s.Ctx, s.App = app.Setup(t) - s.Ctx = s.App.BaseApp.NewContext(true) - s.Ctx = s.Ctx.WithBlockHeader(tmtypes.Header{ - ChainID: "testing", - }) -} - -// CreateTestContext creates a test context. -func (s *KeeperTestHelper) CreateTestContext() sdk.Context { - ctx, _ := s.CreateTestContextWithMultiStore() - return ctx -} - -// CreateTestContextWithMultiStore creates a test context and returns it together with multi store. -func (s *KeeperTestHelper) CreateTestContextWithMultiStore() (sdk.Context, storetypes.CommitMultiStore) { - db := dbm.NewMemDB() - logger := log.NewNopLogger() - - ms := rootmulti.NewStore(db, logger, metrics.NewNoOpMetrics()) - - return sdk.NewContext(ms, tmtypes.Header{}, false, logger), ms -} - -// CreateTestContext creates a test context. -func (s *KeeperTestHelper) Commit() { - oldHeight := s.Ctx.BlockHeight() - oldHeader := s.Ctx.BlockHeader() - _, err := s.App.Commit() - s.Require().NoError(err) - newHeader := tmtypes.Header{Height: oldHeight + 1, ChainID: "testing", Time: oldHeader.Time.Add(time.Second)} - s.Ctx = s.App.NewContext(false) - s.Ctx = s.Ctx.WithBlockHeader(newHeader) -} - -// FundAcc funds target address with specified amount. -func (s *KeeperTestHelper) FundAcc(acc sdk.AccAddress, amounts sdk.Coins) { - err := banktestutil.FundAccount(s.Ctx, s.App.BankKeeper, acc, amounts) - s.Require().NoError(err) -} - -// FundModuleAcc funds target modules with specified amount. -func (s *KeeperTestHelper) FundModuleAcc(moduleName string, amounts sdk.Coins) { - err := banktestutil.FundModuleAccount(s.Ctx, s.App.BankKeeper, moduleName, amounts) - s.Require().NoError(err) -} - -func (s *KeeperTestHelper) MintCoins(coins sdk.Coins) { - err := s.App.BankKeeper.MintCoins(s.Ctx, minttypes.ModuleName, coins) - s.Require().NoError(err) -} - -// SetupValidator sets up a validator and returns the ValAddress. -func (s *KeeperTestHelper) SetupValidator(bondStatus stakingtypes.BondStatus) sdk.ValAddress { - valPriv := secp256k1.GenPrivKey() - valPub := valPriv.PubKey() - valAddr := sdk.ValAddress(valPub.Address()) - p, err := s.App.StakingKeeper.GetParams(s.Ctx) - s.Require().NoError(err) - bondDenom := p.BondDenom - selfBond := sdk.NewCoins(sdk.Coin{Amount: math.NewInt(100), Denom: bondDenom}) - - s.FundAcc(sdk.AccAddress(valAddr), selfBond) - - msg := s.StakingHelper.CreateValidatorMsg(valAddr, valPub, selfBond[0].Amount) - res, err := s.StakingHelper.CreateValidatorWithMsg(s.Ctx, msg) - s.Require().NoError(err) - s.Require().NotNil(res) - - val, err := s.App.StakingKeeper.GetValidator(s.Ctx, valAddr) - s.Require().NoError(err) - - val = val.UpdateStatus(bondStatus) - s.Require().NoError(s.App.StakingKeeper.SetValidator(s.Ctx, val)) - - consAddr, err := val.GetConsAddr() - s.Suite.Require().NoError(err) - - signingInfo := slashingtypes.NewValidatorSigningInfo( - consAddr, - s.Ctx.BlockHeight(), - 0, - time.Unix(0, 0), - false, - 0, - ) - s.Require().NoError(s.App.SlashingKeeper.SetValidatorSigningInfo(s.Ctx, consAddr, signingInfo)) - - return valAddr -} - -// BeginNewBlock starts a new block. -func (s *KeeperTestHelper) BeginNewBlock() { - var valAddr []byte - - validators, err := s.App.StakingKeeper.GetAllValidators(s.Ctx) - s.Require().NoError(err) - - if len(validators) >= 1 { - valAddrFancy, err := validators[0].GetConsAddr() - s.Require().NoError(err) - valAddr = valAddrFancy - } else { - valAddrFancy := s.SetupValidator(stakingtypes.Bonded) - validator, _ := s.App.StakingKeeper.GetValidator(s.Ctx, valAddrFancy) - valAddr2, _ := validator.GetConsAddr() - valAddr = valAddr2 - } - - s.BeginNewBlockWithProposer(valAddr) -} - -// BeginNewBlockWithProposer begins a new block with a proposer. -func (s *KeeperTestHelper) BeginNewBlockWithProposer(proposer sdk.ValAddress) { - validator, err := s.App.StakingKeeper.GetValidator(s.Ctx, proposer) - s.Assert().NoError(err) - - valConsAddr, err := validator.GetConsAddr() - s.Require().NoError(err) - - valAddr := valConsAddr - - newBlockTime := s.Ctx.BlockTime().Add(5 * time.Second) - - s.Ctx = s.Ctx.WithBlockTime(newBlockTime).WithBlockHeight(s.Ctx.BlockHeight() + 1).WithProposer(valAddr) - - fmt.Println("beginning block ", s.Ctx.BlockHeight()) - _, err = s.App.BeginBlocker(s.Ctx) - s.Require().NoError(err) -} - -// EndBlock ends the block. -func (s *KeeperTestHelper) EndBlock() { - _, err := s.App.EndBlocker(s.Ctx) - s.Require().NoError(err) -} - -// AllocateRewardsToValidator allocates reward tokens to a distribution module then allocates rewards to the validator address. -func (s *KeeperTestHelper) AllocateRewardsToValidator(valAddr sdk.ValAddress, rewardAmt math.Int) { - validator, err := s.App.StakingKeeper.GetValidator(s.Ctx, valAddr) - s.Require().NoError(err) - - // allocate reward tokens to distribution module - coins := sdk.Coins{sdk.NewCoin(appparams.BondDenom, rewardAmt)} - err = banktestutil.FundModuleAccount(s.Ctx, s.App.BankKeeper, distrtypes.ModuleName, coins) - s.Require().NoError(err) - - // allocate rewards to validator - s.Ctx = s.Ctx.WithBlockHeight(s.Ctx.BlockHeight() + 1) - decTokens := sdk.DecCoins{{Denom: appparams.BondDenom, Amount: math.LegacyNewDec(20000)}} - s.Require().NoError(s.App.DistrKeeper.AllocateTokensToValidator(s.Ctx, validator, decTokens)) -} - -// BuildTx builds a transaction. -func (s *KeeperTestHelper) BuildTx( - txBuilder client.TxBuilder, - msgs []sdk.Msg, - sigV2 signing.SignatureV2, - memo string, txFee sdk.Coins, - gasLimit uint64, -) authsigning.Tx { - err := txBuilder.SetMsgs(msgs[0]) - s.Require().NoError(err) - - err = txBuilder.SetSignatures(sigV2) - s.Require().NoError(err) - - txBuilder.SetMemo(memo) - txBuilder.SetFeeAmount(txFee) - txBuilder.SetGasLimit(gasLimit) - - return txBuilder.GetTx() -} - -func (s *KeeperTestHelper) ConfirmUpgradeSucceeded(upgradeName string, upgradeHeight int64) { - s.Ctx = s.Ctx.WithBlockHeight(upgradeHeight - 1) - plan := upgradetypes.Plan{Name: upgradeName, Height: upgradeHeight} - err := s.App.UpgradeKeeper.ScheduleUpgrade(s.Ctx, plan) - s.Require().NoError(err) - _, err = s.App.UpgradeKeeper.GetUpgradePlan(s.Ctx) - s.Require().NoError(err) - - s.Ctx = s.Ctx.WithBlockHeight(upgradeHeight) - s.Require().NotPanics(func() { - _, err := s.App.BeginBlocker(s.Ctx) - s.Require().NoError(err) - }) -} - -// AssertEventEmitted asserts that ctx's event manager has emitted the given number of events -// of the given type. -func (s *KeeperTestHelper) AssertEventEmitted(ctx sdk.Context, eventTypeExpected string, numEventsExpected int) { - allEvents := ctx.EventManager().Events() - - // filter out other events - actualEvents := make([]sdk.Event, 0) - for _, event := range allEvents { - if event.Type == eventTypeExpected { - actualEvents = append(actualEvents, event) - } - } - s.Equal(numEventsExpected, len(actualEvents)) -} - // CreateRandomAccounts is a function return a list of randomly generated AccAddresses func CreateRandomAccounts(numAccts int) []sdk.AccAddress { testAddrs := make([]sdk.AccAddress, numAccts) @@ -277,10 +16,3 @@ func CreateRandomAccounts(numAccts int) []sdk.AccAddress { return testAddrs } - -func GenerateTestAddrs() (string, string) { - pk1 := ed25519.GenPrivKey().PubKey() - validAddr := sdk.AccAddress(pk1.Address()).String() - invalidAddr := sdk.AccAddress("invalid").String() - return validAddr, invalidAddr -} diff --git a/app/encoding.go b/app/encoding.go index 0e47b55..066aa15 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -17,7 +17,7 @@ func MakeEncodingConfig(tb testing.TB) params.EncodingConfig { tb.Helper() // we "pre"-instantiate the application for getting the injected/configured encoding configuration // note, this is not necessary when using app wiring, as depinject can be directly used (see root_v2.go) - tempApp := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.NewAppOptionsWithFlagHome(tb.TempDir())) + tempApp := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, DefaultCommissionRateMinMax, simtestutil.NewAppOptionsWithFlagHome(tb.TempDir())) return makeEncodingConfig(tempApp) } diff --git a/app/genesis.go b/app/genesis.go index 28c1818..4458e55 100644 --- a/app/genesis.go +++ b/app/genesis.go @@ -26,6 +26,6 @@ func NewDefaultGenesisState(t *testing.T) GenesisState { t.Helper() // we "pre"-instantiate the application for getting the injected/configured encoding configuration // note, this is not necessary when using app wiring, as depinject can be directly used (see root_v2.go) - tempApp := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.NewAppOptionsWithFlagHome(t.TempDir())) + tempApp := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, DefaultCommissionRateMinMax, simtestutil.NewAppOptionsWithFlagHome(t.TempDir())) return tempApp.DefaultGenesis() } diff --git a/app/sim_test.go b/app/sim_test.go new file mode 100644 index 0000000..fa4c276 --- /dev/null +++ b/app/sim_test.go @@ -0,0 +1,535 @@ +package app_test + +import ( + "encoding/hex" + "encoding/json" + "flag" + "fmt" + "math/rand" + "os" + "runtime/debug" + "strings" + "testing" + "time" + + "github.com/spf13/viper" + "github.com/stretchr/testify/require" + + abci "github.com/cometbft/cometbft/abci/types" + cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" + + dbm "github.com/cosmos/cosmos-db" + + "cosmossdk.io/log" + sdkmath "cosmossdk.io/math" + "cosmossdk.io/store" + storetypes "cosmossdk.io/store/types" + "cosmossdk.io/x/feegrant" + + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/cosmos/cosmos-sdk/server" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" + sdk "github.com/cosmos/cosmos-sdk/types" + simulationtypes "github.com/cosmos/cosmos-sdk/types/simulation" + authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" + "github.com/cosmos/cosmos-sdk/x/simulation" + simcli "github.com/cosmos/cosmos-sdk/x/simulation/client/cli" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + + "github.com/liftedinit/manifest-ledger/app" +) + +const ( + SimAppChainID = "manifest-ledger-simapp" +) + +var FlagEnableStreamingValue bool + +var SimulatorCommissionRateMinMax = app.RateMinMax{ + Floor: sdkmath.LegacyMustNewDecFromStr("0.1"), + Ceil: sdkmath.LegacyMustNewDecFromStr("0.5"), +} + +// Get flags every time the simulator is run +func init() { + simcli.GetSimulatorFlags() + flag.BoolVar(&FlagEnableStreamingValue, "EnableStreaming", false, "Enable streaming service") +} + +// fauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of +// an IAVLStore for faster simulation speed. +func fauxMerkleModeOpt(bapp *baseapp.BaseApp) { + bapp.SetFauxMerkleMode() +} + +// interBlockCacheOpt returns a BaseApp option function that sets the persistent +// inter-block write-through cache. +func interBlockCacheOpt() func(*baseapp.BaseApp) { + return baseapp.SetInterBlockCache(store.NewCommitKVStoreCacheManager()) +} + +// BenchmarkSimulation run the chain simulation +// Running using starport command: +// `ignite chain simulate -v --numBlocks 200 --blockSize 50` +// Running as go benchmark test: +// `go test -benchmem -run=^$ -bench ^BenchmarkSimulation ./app -NumBlocks=200 -BlockSize 50 -Commit=true -Verbose=true -Enabled=true` +func BenchmarkSimulation(b *testing.B) { + simcli.FlagSeedValue = time.Now().Unix() + simcli.FlagVerboseValue = true + simcli.FlagCommitValue = true + simcli.FlagEnabledValue = true + + config := simcli.NewConfigFromFlags() + config.ChainID = SimAppChainID + + db, dir, logger, skip, err := simtestutil.SetupSimulation(config, "leveldb-app-sim", "Simulation", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + if skip { + b.Skip("skipping application simulation") + } + require.NoError(b, err, "simulation setup failed") + + defer func() { + require.NoError(b, db.Close()) + require.NoError(b, os.RemoveAll(dir)) + }() + + appOptions := make(simtestutil.AppOptionsMap, 0) + appOptions[flags.FlagHome] = app.DefaultNodeHome + appOptions[server.FlagInvCheckPeriod] = simcli.FlagPeriodValue + + cfg := sdk.GetConfig() + cfg.SetBech32PrefixForAccount(app.Bech32PrefixAccAddr, app.Bech32PrefixAccPub) + cfg.SetBech32PrefixForValidator(app.Bech32PrefixValAddr, app.Bech32PrefixValPub) + cfg.SetBech32PrefixForConsensusNode(app.Bech32PrefixConsAddr, app.Bech32PrefixConsPub) + cfg.Seal() + + err = setPOAAdmin(config) + require.NoError(b, err) + + bApp := app.NewApp(logger, db, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(b, app.AppName, bApp.Name()) + + // run randomized simulation + _, simParams, simErr := simulation.SimulateFromSeed( + b, + os.Stdout, + bApp.BaseApp, + simtestutil.AppStateFn(bApp.AppCodec(), bApp.SimulationManager(), bApp.DefaultGenesis()), + simulationtypes.RandomAccounts, + simtestutil.SimulationOperations(bApp, bApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + + // export state and simParams before the simulation error is checked + err = simtestutil.CheckExportSimulation(bApp, config, simParams) + require.NoError(b, err) + require.NoError(b, simErr) + + if config.Commit { + simtestutil.PrintStats(db) + } +} + +func TestFullAppSimulation(t *testing.T) { + config := simcli.NewConfigFromFlags() + config.ChainID = SimAppChainID + + db, dir, logger, skip, err := simtestutil.SetupSimulation(config, "leveldb-app-sim", "Simulation", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + if skip { + t.Skip("skipping application simulation") + } + require.NoError(t, err, "simulation setup failed") + + defer func() { + require.NoError(t, db.Close()) + require.NoError(t, os.RemoveAll(dir)) + }() + + appOptions := make(simtestutil.AppOptionsMap, 0) + appOptions[flags.FlagHome] = app.DefaultNodeHome + appOptions[server.FlagInvCheckPeriod] = simcli.FlagPeriodValue + + cfg := sdk.GetConfig() + cfg.SetBech32PrefixForAccount(app.Bech32PrefixAccAddr, app.Bech32PrefixAccPub) + cfg.SetBech32PrefixForValidator(app.Bech32PrefixValAddr, app.Bech32PrefixValPub) + cfg.SetBech32PrefixForConsensusNode(app.Bech32PrefixConsAddr, app.Bech32PrefixConsPub) + cfg.Seal() + + err = setPOAAdmin(config) + require.NoError(t, err) + + bApp := app.NewApp(logger, db, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(t, app.AppName, bApp.Name()) + + // run randomized simulation + _, simParams, simErr := simulation.SimulateFromSeed( + t, + os.Stdout, + bApp.BaseApp, + simtestutil.AppStateFn(bApp.AppCodec(), bApp.SimulationManager(), bApp.DefaultGenesis()), + simulationtypes.RandomAccounts, // Replace with own random account function if using keys other than secp256k1 + simtestutil.SimulationOperations(bApp, bApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + + // export state and simParams before the simulation error is checked + err = simtestutil.CheckExportSimulation(bApp, config, simParams) + require.NoError(t, err) + require.NoError(t, simErr) + + if config.Commit { + simtestutil.PrintStats(db) + } +} + +func TestAppImportExport(t *testing.T) { + config := simcli.NewConfigFromFlags() + config.ChainID = SimAppChainID + + db, dir, logger, skip, err := simtestutil.SetupSimulation(config, "leveldb-app-sim", "Simulation", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + if skip { + t.Skip("skipping application import/export simulation") + } + require.NoError(t, err, "simulation setup failed") + + cfg := sdk.GetConfig() + cfg.SetBech32PrefixForAccount(app.Bech32PrefixAccAddr, app.Bech32PrefixAccPub) + cfg.SetBech32PrefixForValidator(app.Bech32PrefixValAddr, app.Bech32PrefixValPub) + cfg.SetBech32PrefixForConsensusNode(app.Bech32PrefixConsAddr, app.Bech32PrefixConsPub) + cfg.Seal() + + err = setPOAAdmin(config) + require.NoError(t, err) + + defer func() { + require.NoError(t, db.Close()) + require.NoError(t, os.RemoveAll(dir)) + }() + + appOptions := make(simtestutil.AppOptionsMap, 0) + appOptions[flags.FlagHome] = app.DefaultNodeHome + appOptions[server.FlagInvCheckPeriod] = simcli.FlagPeriodValue + + bApp := app.NewApp(logger, db, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(t, app.AppName, bApp.Name()) + + // Run randomized simulation + _, simParams, simErr := simulation.SimulateFromSeed( + t, + os.Stdout, + bApp.BaseApp, + simtestutil.AppStateFn(bApp.AppCodec(), bApp.SimulationManager(), bApp.DefaultGenesis()), + simulationtypes.RandomAccounts, + simtestutil.SimulationOperations(bApp, bApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + + // export state and simParams before the simulation error is checked + err = simtestutil.CheckExportSimulation(bApp, config, simParams) + require.NoError(t, err) + require.NoError(t, simErr) + + if config.Commit { + simtestutil.PrintStats(db) + } + + fmt.Printf("exporting genesis...\n") + + exported, err := bApp.ExportAppStateAndValidators(false, []string{}, []string{}) + require.NoError(t, err) + + fmt.Printf("importing genesis...\n") + + newDB, newDir, _, _, err := simtestutil.SetupSimulation(config, "leveldb-app-sim-2", "Simulation-2", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + require.NoError(t, err, "simulation setup failed") + + defer func() { + require.NoError(t, newDB.Close()) + require.NoError(t, os.RemoveAll(newDir)) + }() + + newApp := app.NewApp(log.NewNopLogger(), newDB, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(t, app.AppName, newApp.Name()) + + var genesisState app.GenesisState + err = json.Unmarshal(exported.AppState, &genesisState) + require.NoError(t, err) + + ctxA := bApp.NewContextLegacy(true, cmtproto.Header{Height: bApp.LastBlockHeight()}) + ctxB := newApp.NewContextLegacy(true, cmtproto.Header{Height: bApp.LastBlockHeight()}) + _, err = newApp.ModuleManager.InitGenesis(ctxB, bApp.AppCodec(), genesisState) + if err != nil { + if strings.Contains(err.Error(), "validator set is empty after InitGenesis") { + logger.Info("Skipping simulation as all validators have been unbonded") + logger.Info("err", err, "stacktrace", string(debug.Stack())) + return + } + } + require.NoError(t, err) + err = newApp.StoreConsensusParams(ctxB, exported.ConsensusParams) + require.NoError(t, err) + fmt.Printf("comparing stores...\n") + + // skip certain prefixes + skipPrefixes := map[string][][]byte{ + stakingtypes.StoreKey: { + stakingtypes.UnbondingQueueKey, stakingtypes.RedelegationQueueKey, stakingtypes.ValidatorQueueKey, + stakingtypes.HistoricalInfoKey, stakingtypes.UnbondingIDKey, stakingtypes.UnbondingIndexKey, + stakingtypes.UnbondingTypeKey, stakingtypes.ValidatorUpdatesKey, + }, + authzkeeper.StoreKey: {authzkeeper.GrantQueuePrefix}, + feegrant.StoreKey: {feegrant.FeeAllowanceQueueKeyPrefix}, + slashingtypes.StoreKey: {slashingtypes.ValidatorMissedBlockBitmapKeyPrefix}, + } + + storeKeys := bApp.GetStoreKeys() + require.NotEmpty(t, storeKeys) + + for _, appKeyA := range storeKeys { + // only compare kvstores + if _, ok := appKeyA.(*storetypes.KVStoreKey); !ok { + continue + } + + keyName := appKeyA.Name() + appKeyB := newApp.GetKey(keyName) + + storeA := ctxA.KVStore(appKeyA) + storeB := ctxB.KVStore(appKeyB) + + failedKVAs, failedKVBs := simtestutil.DiffKVStores(storeA, storeB, skipPrefixes[keyName]) + require.Equal(t, len(failedKVAs), len(failedKVBs), "unequal sets of key-values to compare %s", keyName) + + fmt.Printf("compared %d different key/value pairs between %s and %s\n", len(failedKVAs), appKeyA, appKeyB) + + require.Equal(t, 0, len(failedKVAs), simtestutil.GetSimulationLog(keyName, bApp.SimulationManager().StoreDecoders, failedKVAs, failedKVBs)) + } +} + +func TestAppSimulationAfterImport(t *testing.T) { + config := simcli.NewConfigFromFlags() + config.ChainID = SimAppChainID + + cfg := sdk.GetConfig() + cfg.SetBech32PrefixForAccount(app.Bech32PrefixAccAddr, app.Bech32PrefixAccPub) + cfg.SetBech32PrefixForValidator(app.Bech32PrefixValAddr, app.Bech32PrefixValPub) + cfg.SetBech32PrefixForConsensusNode(app.Bech32PrefixConsAddr, app.Bech32PrefixConsPub) + cfg.Seal() + + err := setPOAAdmin(config) + require.NoError(t, err) + + db, dir, logger, skip, err := simtestutil.SetupSimulation(config, "leveldb-app-sim", "Simulation", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + if skip { + t.Skip("skipping application simulation after import") + } + require.NoError(t, err, "simulation setup failed") + + defer func() { + require.NoError(t, db.Close()) + require.NoError(t, os.RemoveAll(dir)) + }() + + appOptions := make(simtestutil.AppOptionsMap, 0) + appOptions[flags.FlagHome] = app.DefaultNodeHome + appOptions[server.FlagInvCheckPeriod] = simcli.FlagPeriodValue + + bApp := app.NewApp(logger, db, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(t, app.AppName, bApp.Name()) + + // Run randomized simulation + stopEarly, simParams, simErr := simulation.SimulateFromSeed( + t, + os.Stdout, + bApp.BaseApp, + simtestutil.AppStateFn(bApp.AppCodec(), bApp.SimulationManager(), bApp.DefaultGenesis()), + simulationtypes.RandomAccounts, + simtestutil.SimulationOperations(bApp, bApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + + // export state and simParams before the simulation error is checked + err = simtestutil.CheckExportSimulation(bApp, config, simParams) + require.NoError(t, err) + require.NoError(t, simErr) + + if config.Commit { + simtestutil.PrintStats(db) + } + + if stopEarly { + fmt.Println("can't export or import a zero-validator genesis, exiting test...") + return + } + + fmt.Printf("exporting genesis...\n") + + exported, err := bApp.ExportAppStateAndValidators(true, []string{}, []string{}) + require.NoError(t, err) + + fmt.Printf("importing genesis...\n") + + newDB, newDir, _, _, err := simtestutil.SetupSimulation(config, "leveldb-app-sim-2", "Simulation-2", simcli.FlagVerboseValue, simcli.FlagEnabledValue) + require.NoError(t, err, "simulation setup failed") + + defer func() { + require.NoError(t, newDB.Close()) + require.NoError(t, os.RemoveAll(newDir)) + }() + + newApp := app.NewApp(log.NewNopLogger(), newDB, nil, true, SimulatorCommissionRateMinMax, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + require.Equal(t, app.AppName, newApp.Name()) + + _, err = newApp.InitChain(&abci.RequestInitChain{ + AppStateBytes: exported.AppState, + ChainId: SimAppChainID, + }) + require.NoError(t, err) + + _, _, err = simulation.SimulateFromSeed( + t, + os.Stdout, + newApp.BaseApp, + simtestutil.AppStateFn(bApp.AppCodec(), bApp.SimulationManager(), bApp.DefaultGenesis()), + simulationtypes.RandomAccounts, + simtestutil.SimulationOperations(newApp, newApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + require.NoError(t, err) +} + +func TestAppStateDeterminism(t *testing.T) { + if !simcli.FlagEnabledValue { + t.Skip("skipping application simulation") + } + + cfg := sdk.GetConfig() + cfg.SetBech32PrefixForAccount(app.Bech32PrefixAccAddr, app.Bech32PrefixAccPub) + cfg.SetBech32PrefixForValidator(app.Bech32PrefixValAddr, app.Bech32PrefixValPub) + cfg.SetBech32PrefixForConsensusNode(app.Bech32PrefixConsAddr, app.Bech32PrefixConsPub) + cfg.Seal() + + config := simcli.NewConfigFromFlags() + config.InitialBlockHeight = 1 + config.ExportParamsPath = "" + config.OnOperation = true + config.AllInvariants = true + config.ChainID = SimAppChainID + + numSeeds := 3 + numTimesToRunPerSeed := 3 // This used to be set to 5, but we've temporarily reduced it to 3 for the sake of faster CI. + appHashList := make([]json.RawMessage, numTimesToRunPerSeed) + + // We will be overriding the random seed and just run a single simulation on the provided seed value + if config.Seed != simcli.DefaultSeedValue { + numSeeds = 1 + } + + appOptions := viper.New() + if FlagEnableStreamingValue { + m := make(map[string]interface{}) + m["streaming.abci.keys"] = []string{"*"} + m["streaming.abci.plugin"] = "abci_v1" + m["streaming.abci.stop-node-on-err"] = true + for key, value := range m { + appOptions.SetDefault(key, value) + } + } + appOptions.SetDefault(flags.FlagHome, app.DefaultNodeHome) + appOptions.SetDefault(server.FlagInvCheckPeriod, simcli.FlagPeriodValue) + if simcli.FlagVerboseValue { + appOptions.SetDefault(flags.FlagLogLevel, "debug") + } + + for i := 0; i < numSeeds; i++ { + if config.Seed == simcli.DefaultSeedValue { + config.Seed = rand.Int63() + } + fmt.Println("config.Seed: ", config.Seed) + + for j := 0; j < numTimesToRunPerSeed; j++ { + var logger log.Logger + if simcli.FlagVerboseValue { + logger = log.NewTestLogger(t) + } else { + logger = log.NewNopLogger() + } + + err := setPOAAdmin(config) + require.NoError(t, err) + + db := dbm.NewMemDB() + bApp := app.NewApp( + logger, + db, + nil, + true, + SimulatorCommissionRateMinMax, + appOptions, + interBlockCacheOpt(), + baseapp.SetChainID(SimAppChainID), + ) + + fmt.Printf( + "running non-determinism simulation; seed %d: %d/%d, attempt: %d/%d\n", + config.Seed, i+1, numSeeds, j+1, numTimesToRunPerSeed, + ) + + _, _, err = simulation.SimulateFromSeed( + t, + os.Stdout, + bApp.BaseApp, + simtestutil.AppStateFn( + bApp.AppCodec(), + bApp.SimulationManager(), + bApp.DefaultGenesis(), + ), + simulationtypes.RandomAccounts, + simtestutil.SimulationOperations(bApp, bApp.AppCodec(), config), + app.BlockedAddresses(), + config, + bApp.AppCodec(), + ) + require.NoError(t, err) + + if config.Commit { + simtestutil.PrintStats(db) + } + + appHash := bApp.LastCommitID().Hash + appHashList[j] = appHash + + if j != 0 { + require.Equal( + t, hex.EncodeToString(appHashList[0]), hex.EncodeToString(appHashList[j]), + "non-determinism in seed %d: %d/%d, attempt: %d/%d\n", config.Seed, i+1, numSeeds, j+1, numTimesToRunPerSeed, + ) + } + } + } +} + +// setPOAAdmin sets the POA admin address in the environment variable POA_ADMIN_ADDRESS +func setPOAAdmin(config simulationtypes.Config) error { + r := rand.New(rand.NewSource(config.Seed)) + params := simulation.RandomParams(r) + accs := simulationtypes.RandomAccounts(r, params.NumKeys()) + poaAdminAddr := accs[0] + err := os.Setenv("POA_ADMIN_ADDRESS", poaAdminAddr.Address.String()) + if err != nil { + return err + } + return nil +} diff --git a/app/test_helpers.go b/app/test_helpers.go index a497eed..5e8019e 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -184,6 +184,7 @@ func setup(t *testing.T, withGenesis bool) (*ManifestApp, GenesisState) { db, nil, true, + DefaultCommissionRateMinMax, EmptyAppOptions{}, bam.SetChainID(SimAppChainID), bam.SetSnapshot(snapshotStore, snapshottypes.SnapshotOptions{KeepRecent: 2}), @@ -329,10 +330,10 @@ func NewTestNetworkFixture() network.TestFixture { } defer os.RemoveAll(dir) - app := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.NewAppOptionsWithFlagHome(dir)) + app := NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, DefaultCommissionRateMinMax, simtestutil.NewAppOptionsWithFlagHome(dir)) appCtr := func(val network.ValidatorI) servertypes.Application { return NewApp( - val.GetCtx().Logger, dbm.NewMemDB(), nil, true, + val.GetCtx().Logger, dbm.NewMemDB(), nil, true, DefaultCommissionRateMinMax, simtestutil.NewAppOptionsWithFlagHome(val.GetCtx().Config.RootDir), bam.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), bam.SetMinGasPrices(val.GetAppConfig().MinGasPrices), diff --git a/cmd/manifestd/cmd/commands.go b/cmd/manifestd/cmd/commands.go index a9b4450..ca3f866 100644 --- a/cmd/manifestd/cmd/commands.go +++ b/cmd/manifestd/cmd/commands.go @@ -207,7 +207,7 @@ func newApp( baseappOptions := server.DefaultBaseappOptions(appOpts) return app.NewApp( - logger, db, traceStore, true, + logger, db, traceStore, true, app.DefaultCommissionRateMinMax, appOpts, baseappOptions..., ) @@ -242,13 +242,13 @@ func appExport( appOpts = viperAppOpts if height != -1 { - chainApp = app.NewApp(logger, db, traceStore, false, appOpts) + chainApp = app.NewApp(logger, db, traceStore, false, app.DefaultCommissionRateMinMax, appOpts) if err := chainApp.LoadHeight(height); err != nil { return servertypes.ExportedApp{}, err } } else { - chainApp = app.NewApp(logger, db, traceStore, true, appOpts) + chainApp = app.NewApp(logger, db, traceStore, true, app.DefaultCommissionRateMinMax, appOpts) } return chainApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport) diff --git a/cmd/manifestd/cmd/root.go b/cmd/manifestd/cmd/root.go index c6cf3df..62548c6 100644 --- a/cmd/manifestd/cmd/root.go +++ b/cmd/manifestd/cmd/root.go @@ -34,7 +34,7 @@ func NewRootCmd() *cobra.Command { cfg.Seal() // we "pre"-instantiate the application for getting the injected/configured encoding configuration // note, this is not necessary when using app wiring, as depinject can be directly used (see root_v2.go) - tempApp := app.NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, simtestutil.NewAppOptionsWithFlagHome(tempDir())) + tempApp := app.NewApp(log.NewNopLogger(), dbm.NewMemDB(), nil, true, app.DefaultCommissionRateMinMax, simtestutil.NewAppOptionsWithFlagHome(tempDir())) encodingConfig := params.EncodingConfig{ InterfaceRegistry: tempApp.InterfaceRegistry(), Codec: tempApp.AppCodec(), diff --git a/go.mod b/go.mod index 11d40a0..cb9977f 100644 --- a/go.mod +++ b/go.mod @@ -13,6 +13,9 @@ replace ( // Fix upstream GHSA-h395-qcrw-5vmq vulnerability. github.com/spf13/viper => github.com/spf13/viper v1.17.0 // v1.18+ breaks app overrides + // TODO: Remove this once 0.50.3 is released + github.com/strangelove-ventures/poa => github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0 + // Downgraded to avoid bugs in following commits which caused simulations to fail. github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) @@ -47,12 +50,12 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.18.2 - github.com/strangelove-ventures/poa v0.50.1 - github.com/strangelove-ventures/tokenfactory v0.50.1 + github.com/strangelove-ventures/poa v0.50.2 + github.com/strangelove-ventures/tokenfactory v0.50.2 github.com/stretchr/testify v1.9.0 - google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be - google.golang.org/grpc v1.63.2 - google.golang.org/protobuf v1.33.0 + google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 + google.golang.org/grpc v1.65.0 + google.golang.org/protobuf v1.34.1 ) require ( @@ -200,18 +203,18 @@ require ( go.opentelemetry.io/otel/metric v1.26.0 // indirect go.opentelemetry.io/otel/trace v1.26.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.22.0 // indirect + golang.org/x/crypto v0.23.0 // indirect golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect - golang.org/x/net v0.24.0 // indirect - golang.org/x/oauth2 v0.19.0 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/oauth2 v0.20.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/term v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/time v0.5.0 // indirect google.golang.org/api v0.176.1 // indirect google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 2643975..80d62ee 100644 --- a/go.sum +++ b/go.sum @@ -960,10 +960,10 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= -github.com/strangelove-ventures/poa v0.50.1 h1:84OjmMrJEvQxfNKsgUW4aCeeqTqA0dswCAF7J+017Dg= -github.com/strangelove-ventures/poa v0.50.1/go.mod h1:Jmdk38G8DN3rrvPfQwVF60uUzVmn4Q7k2N8Q5eSRb6Y= -github.com/strangelove-ventures/tokenfactory v0.50.1 h1:4P+wux9HEk+apmT3nrKsuCvPbWFNOHApaYYsqX5/zY8= -github.com/strangelove-ventures/tokenfactory v0.50.1/go.mod h1:VIByIP8F8jJz8Exk8RrPwJZnyhAnvD6dD7a6tqHOcGY= +github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0 h1:9h8TJL5qnTrYOyJmT2xQzUrrLv4cfLmgfvTtTUoBmHY= +github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0/go.mod h1:0cOydjyn8T6gZKvLkpXgBYVD636od00GmCddaoOkS2E= +github.com/strangelove-ventures/tokenfactory v0.50.2 h1:Bb6xKHzd+VIJgQpjLc7wuvqnWXmBo1+FllwzF5sIgMI= +github.com/strangelove-ventures/tokenfactory v0.50.2/go.mod h1:VIByIP8F8jJz8Exk8RrPwJZnyhAnvD6dD7a6tqHOcGY= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1066,8 +1066,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1166,8 +1166,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= -golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1193,8 +1193,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg= -golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8= +golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= +golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1305,13 +1305,13 @@ golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= -golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1322,8 +1322,8 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1570,10 +1570,10 @@ google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be h1:g4aX8SUFA8V5F4LrSY5EclyGYw1OZN4HS1jTyjB9ZDc= google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be/go.mod h1:FeSdT5fk+lkxatqJP38MsUicGqHax5cLtmy/6TAuxO4= -google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be h1:Zz7rLWqp0ApfsR/l7+zSHhY3PMiH2xqgxlfYfAfNpoU= -google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be/go.mod h1:dvdCTIoAGbkWbcIKBniID56/7XHTt6WfxXNMxuziJ+w= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be h1:LG9vZxsWGOmUKieR8wPAUR3u3MpnYFQZROPIMaXh7/A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 h1:7whR9kGa5LUwFtpLm2ArCEejtnxlGeLbAyjFY8sGNFw= +google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157/go.mod h1:99sLkeliLXfdj2J75X3Ho+rrVCaJze0uwN7zDDkjPVU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 h1:Zy9XzmMEflZ/MAaA7vNcoebnRAld7FsPW1EeBB7V0m8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1616,8 +1616,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= -google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc= +google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1634,8 +1634,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/interchaintest/go.mod b/interchaintest/go.mod index fd1e7da..e020f8d 100644 --- a/interchaintest/go.mod +++ b/interchaintest/go.mod @@ -13,6 +13,8 @@ replace ( github.com/cosmos/cosmos-sdk => github.com/liftedinit/cosmos-sdk v0.50.8-liftedinit.1 github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/liftedinit/manifest-ledger => ../ + // TODO: Remove this once 0.50.3 is released + github.com/strangelove-ventures/poa => github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0 ) require ( @@ -24,8 +26,8 @@ require ( github.com/cosmos/ibc-go/v8 v8.2.1 github.com/liftedinit/manifest-ledger v0.0.0-00000000000000-000000000000 github.com/strangelove-ventures/interchaintest/v8 v8.5.1-0.20240715163423-cbcd20f44321 - github.com/strangelove-ventures/poa v0.50.1 - github.com/strangelove-ventures/tokenfactory v0.50.1 + github.com/strangelove-ventures/poa v0.50.2 + github.com/strangelove-ventures/tokenfactory v0.50.2 github.com/stretchr/testify v1.9.0 go.uber.org/zap v1.27.0 ) @@ -235,23 +237,23 @@ require ( go.opentelemetry.io/otel/metric v1.26.0 // indirect go.opentelemetry.io/otel/trace v1.26.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.22.0 // indirect + golang.org/x/crypto v0.23.0 // indirect golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f // indirect golang.org/x/mod v0.17.0 // indirect - golang.org/x/net v0.24.0 // indirect - golang.org/x/oauth2 v0.19.0 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/oauth2 v0.20.0 // indirect golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.19.0 // indirect - golang.org/x/term v0.19.0 // indirect - golang.org/x/text v0.14.0 // indirect + golang.org/x/sys v0.20.0 // indirect + golang.org/x/term v0.20.0 // indirect + golang.org/x/text v0.15.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.20.0 // indirect google.golang.org/api v0.176.1 // indirect google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect - google.golang.org/grpc v1.63.2 // indirect - google.golang.org/protobuf v1.33.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect + google.golang.org/grpc v1.65.0 // indirect + google.golang.org/protobuf v1.34.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/interchaintest/go.sum b/interchaintest/go.sum index b1f86a3..d93d9e1 100644 --- a/interchaintest/go.sum +++ b/interchaintest/go.sum @@ -1045,10 +1045,10 @@ github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/strangelove-ventures/interchaintest/v8 v8.5.1-0.20240715163423-cbcd20f44321 h1:uemY7a+M5RWC/6kTSgLql0kBEGKy/zY83p1Ne9kTzjY= github.com/strangelove-ventures/interchaintest/v8 v8.5.1-0.20240715163423-cbcd20f44321/go.mod h1:UPMvR1joIXO8RMxDozoHIInLZWmd2345PSGLJYWyrwY= -github.com/strangelove-ventures/poa v0.50.1 h1:84OjmMrJEvQxfNKsgUW4aCeeqTqA0dswCAF7J+017Dg= -github.com/strangelove-ventures/poa v0.50.1/go.mod h1:Jmdk38G8DN3rrvPfQwVF60uUzVmn4Q7k2N8Q5eSRb6Y= -github.com/strangelove-ventures/tokenfactory v0.50.1 h1:4P+wux9HEk+apmT3nrKsuCvPbWFNOHApaYYsqX5/zY8= -github.com/strangelove-ventures/tokenfactory v0.50.1/go.mod h1:VIByIP8F8jJz8Exk8RrPwJZnyhAnvD6dD7a6tqHOcGY= +github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0 h1:9h8TJL5qnTrYOyJmT2xQzUrrLv4cfLmgfvTtTUoBmHY= +github.com/strangelove-ventures/poa v0.50.3-0.20240720145936-3595e3d47ba0/go.mod h1:0cOydjyn8T6gZKvLkpXgBYVD636od00GmCddaoOkS2E= +github.com/strangelove-ventures/tokenfactory v0.50.2 h1:Bb6xKHzd+VIJgQpjLc7wuvqnWXmBo1+FllwzF5sIgMI= +github.com/strangelove-ventures/tokenfactory v0.50.2/go.mod h1:VIByIP8F8jJz8Exk8RrPwJZnyhAnvD6dD7a6tqHOcGY= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1168,8 +1168,8 @@ golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= -golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -1270,8 +1270,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w= -golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1297,8 +1297,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg= -golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8= +golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= +golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1409,13 +1409,13 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= -golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q= -golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk= +golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw= +golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1426,8 +1426,8 @@ golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk= +golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1675,10 +1675,10 @@ google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be h1:g4aX8SUFA8V5F4LrSY5EclyGYw1OZN4HS1jTyjB9ZDc= google.golang.org/genproto v0.0.0-20240415180920-8c6c420018be/go.mod h1:FeSdT5fk+lkxatqJP38MsUicGqHax5cLtmy/6TAuxO4= -google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be h1:Zz7rLWqp0ApfsR/l7+zSHhY3PMiH2xqgxlfYfAfNpoU= -google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be/go.mod h1:dvdCTIoAGbkWbcIKBniID56/7XHTt6WfxXNMxuziJ+w= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be h1:LG9vZxsWGOmUKieR8wPAUR3u3MpnYFQZROPIMaXh7/A= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= +google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 h1:7whR9kGa5LUwFtpLm2ArCEejtnxlGeLbAyjFY8sGNFw= +google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157/go.mod h1:99sLkeliLXfdj2J75X3Ho+rrVCaJze0uwN7zDDkjPVU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 h1:Zy9XzmMEflZ/MAaA7vNcoebnRAld7FsPW1EeBB7V0m8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -1720,8 +1720,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= -google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc= +google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1738,8 +1738,8 @@ google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= +google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/interchaintest/setup.go b/interchaintest/setup.go index dc7f63b..390b329 100644 --- a/interchaintest/setup.go +++ b/interchaintest/setup.go @@ -16,7 +16,7 @@ import ( ) const ( - ExternalGoCoverDir = "/tmp/manifest-ledger-coverage" + ExternalGoCoverDir = "/tmp/manifest-ledger-coverage/unit-e2e" ) var ( diff --git a/proto/manifest/module/v1/module.proto b/proto/liftedinit/manifest/module/v1/module.proto similarity index 88% rename from proto/manifest/module/v1/module.proto rename to proto/liftedinit/manifest/module/v1/module.proto index 0710ec5..bb092b0 100644 --- a/proto/manifest/module/v1/module.proto +++ b/proto/liftedinit/manifest/module/v1/module.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package manifest.module.v1; +package liftedinit.manifest.module.v1; import "cosmos/app/v1alpha1/module.proto"; diff --git a/proto/manifest/v1/genesis.proto b/proto/liftedinit/manifest/v1/genesis.proto similarity index 94% rename from proto/manifest/v1/genesis.proto rename to proto/liftedinit/manifest/v1/genesis.proto index 9c6d220..c71731a 100644 --- a/proto/manifest/v1/genesis.proto +++ b/proto/liftedinit/manifest/v1/genesis.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package manifest.v1; +package liftedinit.manifest.v1; import "gogoproto/gogo.proto"; import "amino/amino.proto"; diff --git a/proto/manifest/v1/query.proto b/proto/liftedinit/manifest/v1/query.proto similarity index 89% rename from proto/manifest/v1/query.proto rename to proto/liftedinit/manifest/v1/query.proto index eeae4d0..2e01276 100644 --- a/proto/manifest/v1/query.proto +++ b/proto/liftedinit/manifest/v1/query.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package manifest.v1; +package liftedinit.manifest.v1; import "google/api/annotations.proto"; -import "manifest/v1/genesis.proto"; +import "liftedinit/manifest/v1/genesis.proto"; option go_package = "github.com/liftedinit/manifest-ledger/x/manifest/types"; diff --git a/proto/manifest/v1/tx.proto b/proto/liftedinit/manifest/v1/tx.proto similarity index 97% rename from proto/manifest/v1/tx.proto rename to proto/liftedinit/manifest/v1/tx.proto index f44b9a9..8cee74f 100644 --- a/proto/manifest/v1/tx.proto +++ b/proto/liftedinit/manifest/v1/tx.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package manifest.v1; +package liftedinit.manifest.v1; import "cosmos/msg/v1/msg.proto"; -import "manifest/v1/genesis.proto"; +import "liftedinit/manifest/v1/genesis.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/base/v1beta1/coin.proto"; diff --git a/scripts/filter-coverage.sh b/scripts/filter-coverage.sh index 1a316a1..0f9bd05 100755 --- a/scripts/filter-coverage.sh +++ b/scripts/filter-coverage.sh @@ -1,7 +1,7 @@ #!/bin/bash -coverage_profile="coverage.out" -filtered_coverage_profile="coverage-filtered.out" +coverage_profile="$1" +filtered_coverage_profile="$2" exclusion_file=".coverageignore" cp "$coverage_profile" "$filtered_coverage_profile" diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index f738b92..c10fdbb 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -28,7 +28,7 @@ rm -rf github.com rm -rf api && mkdir api custom_modules=$(find . -name 'module' -type d -not -path "./proto/*") for module in $custom_modules; do - dirPath=`basename $(dirname $module)` + dirPath=$(dirname $module) mkdir -p api/$dirPath mv $dirPath/* ./api/$dirPath/ diff --git a/simulation/sim_params.json b/simulation/sim_params.json new file mode 100644 index 0000000..bcdeabd --- /dev/null +++ b/simulation/sim_params.json @@ -0,0 +1,22 @@ +{ + "op_weight_msg_delegate": 0, + "op_weight_msg_undelegate": 0, + "op_weight_msg_begin_redelegate": 0, + "op_weight_msg_cancel_unbonding_delegation": 0, + "op_weight_msg_create_validator": 0, + "op_weight_msg_edit_validator": 0, + "op_weight_msg_withdraw_delegation_reward": 0, + + "inflation": "0.000000000000000000", + "annual_provisions": "0.000000000000000000", + "inflation_rate_change": "0.000000000000000000", + "inflation_max": "0.000000000000000000", + "inflation_min": "0.000000000000000000", + "goal_bonded": "0.670000000000000000", + "blocks_per_year": "6311520", + + "slash_fraction_double_sign": "0.000000000000000000", + "slash_fraction_downtime": "0.000000000000000000", + + "community_tax": "0.0" +} \ No newline at end of file diff --git a/x/manifest/depinject.go b/x/manifest/depinject.go index ea72c55..4a9f7e4 100644 --- a/x/manifest/depinject.go +++ b/x/manifest/depinject.go @@ -15,7 +15,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" - modulev1 "github.com/liftedinit/manifest-ledger/api/manifest/module/v1" + modulev1 "github.com/liftedinit/manifest-ledger/api/liftedinit/manifest/module/v1" "github.com/liftedinit/manifest-ledger/x/manifest/keeper" ) diff --git a/x/manifest/keeper/keeper.go b/x/manifest/keeper/keeper.go index 7977363..c120c8e 100644 --- a/x/manifest/keeper/keeper.go +++ b/x/manifest/keeper/keeper.go @@ -10,6 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" + accountkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" @@ -21,8 +22,9 @@ type Keeper struct { logger log.Logger - mintKeeper mintkeeper.Keeper - bankKeeper bankkeeper.Keeper + mintKeeper mintkeeper.Keeper + bankKeeper bankkeeper.Keeper + accountKeeper accountkeeper.AccountKeeper // for testing // state management Schema collections.Schema @@ -76,6 +78,22 @@ func (k *Keeper) SetAuthority(authority string) { k.authority = authority } +func (k *Keeper) GetAuthority() string { + return k.authority +} + +func (k *Keeper) GetBankKeeper() bankkeeper.Keeper { + return k.bankKeeper +} + +func (k *Keeper) SetTestAccountKeeper(ak accountkeeper.AccountKeeper) { + k.accountKeeper = ak +} + +func (k *Keeper) GetTestAccountKeeper() accountkeeper.AccountKeeper { + return k.accountKeeper +} + // ExportGenesis exports the module's state to a genesis state. func (k *Keeper) ExportGenesis(ctx context.Context) *types.GenesisState { params, err := k.Params.Get(ctx) diff --git a/x/manifest/keeper/keeper_test.go b/x/manifest/keeper/keeper_test.go index 341692b..aedc630 100644 --- a/x/manifest/keeper/keeper_test.go +++ b/x/manifest/keeper/keeper_test.go @@ -56,6 +56,7 @@ func TestPayout(t *testing.T) { f := initFixture(t) k := f.App.ManifestKeeper + k.SetTestAccountKeeper(f.App.AccountKeeper) k.SetAuthority(authority.String()) type testcase struct { diff --git a/x/manifest/module.go b/x/manifest/module.go index d53a0e0..2a226f7 100644 --- a/x/manifest/module.go +++ b/x/manifest/module.go @@ -19,11 +19,13 @@ import ( codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" - manifestv1 "github.com/liftedinit/manifest-ledger/api/manifest/v1" + manifestv1 "github.com/liftedinit/manifest-ledger/api/liftedinit/manifest/v1" "github.com/liftedinit/manifest-ledger/x/manifest/client/cli" "github.com/liftedinit/manifest-ledger/x/manifest/keeper" + "github.com/liftedinit/manifest-ledger/x/manifest/simulation" "github.com/liftedinit/manifest-ledger/x/manifest/types" ) @@ -167,3 +169,21 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { func (am AppModule) ConsensusVersion() uint64 { return ConsensusVersion } + +func (AppModule) GenerateGenesisState(_ *module.SimulationState) { +} + +// ProposalMsgs returns msgs used for governance proposals for simulations. +func (AppModule) ProposalMsgs(_ module.SimulationState) []simtypes.WeightedProposalMsg { + return simulation.ProposalMsgs() +} + +// RegisterStoreDecoder registers a decoder for distribution module's types +func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry) { + sdr[types.StoreKey] = simtypes.NewStoreDecoderFuncFromCollectionsSchema(am.keeper.Schema) +} + +// WeightedOperations returns the all the gov module operations with their respective weights. +func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation { + return simulation.WeightedOperations(simState.AppParams, simState.Cdc, simState.TxConfig, am.keeper) +} diff --git a/x/manifest/simulation/operations.go b/x/manifest/simulation/operations.go new file mode 100644 index 0000000..ebb7403 --- /dev/null +++ b/x/manifest/simulation/operations.go @@ -0,0 +1,199 @@ +package simulation + +import ( + "math/rand" + + sdkmath "cosmossdk.io/math" + + "github.com/cosmos/cosmos-sdk/baseapp" + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + sdk "github.com/cosmos/cosmos-sdk/types" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/simulation" + + "github.com/liftedinit/manifest-ledger/x/manifest/keeper" + "github.com/liftedinit/manifest-ledger/x/manifest/types" +) + +const ( + OpWeightMsgPayout = "op_weight_msg_manifest_payout" // nolint: gosec + OpWeightMsgBurnHeldBalance = "op_weight_msg_manifest_burn_held_balance" // nolint: gosec + OpWeightMsgUpdateParams = "op_weight_msg_manifest_update_params" // nolint: gosec + DefaultWeightMsgPayoutStakeholders = 100 + DefaultWeightMsgBurnHeldBalance = 100 + DefaultWeightMsgUpdateParams = 100 +) + +// WeightedOperations returns the all the gov module operations with their respective weights. +func WeightedOperations(appParams simtypes.AppParams, + _ codec.JSONCodec, + txGen client.TxConfig, + k keeper.Keeper, +) []simtypes.WeightedOperation { + operations := make([]simtypes.WeightedOperation, 0) + + var weightMsgPayoutStakeholders int + appParams.GetOrGenerate(OpWeightMsgPayout, &weightMsgPayoutStakeholders, nil, func(_ *rand.Rand) { + weightMsgPayoutStakeholders = DefaultWeightMsgPayoutStakeholders + }) + + var weightMsgBurnHeldBalance int + appParams.GetOrGenerate(OpWeightMsgBurnHeldBalance, &weightMsgBurnHeldBalance, nil, func(_ *rand.Rand) { + weightMsgBurnHeldBalance = DefaultWeightMsgBurnHeldBalance + }) + + var weightMsgUpdateParams int + appParams.GetOrGenerate(OpWeightMsgUpdateParams, &weightMsgUpdateParams, nil, func(_ *rand.Rand) { + weightMsgUpdateParams = DefaultWeightMsgUpdateParams + }) + + operations = append(operations, simulation.NewWeightedOperation( + weightMsgPayoutStakeholders, + SimulateMsgPayout(txGen, k), + )) + + operations = append(operations, simulation.NewWeightedOperation( + weightMsgBurnHeldBalance, + SimulateMsgBurnHeldBalance(txGen, k), + )) + + operations = append(operations, simulation.NewWeightedOperation( + weightMsgUpdateParams, + SimulateMsgUpdateParams(txGen, k), + )) + + return operations +} + +func SimulateMsgPayout(txGen client.TxConfig, k keeper.Keeper) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, _ string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + msgType := sdk.MsgTypeURL(&types.MsgPayout{}) + simAccount := accs[0] + if simAccount.Address.String() != k.GetAuthority() { + return simtypes.NoOpMsg(types.ModuleName, msgType, "invalid authority"), nil, nil + } + + denoms := k.GetBankKeeper().GetAllDenomMetaData(ctx) + if len(denoms) == 0 { + return simtypes.NoOpMsg(types.ModuleName, msgType, "no denom found"), nil, nil + } + + randomDenomMeta := denoms[r.Intn(len(denoms))] + randomDenomUnits := randomDenomMeta.DenomUnits + if len(randomDenomUnits) == 0 { + return simtypes.NoOpMsg(types.ModuleName, msgType, "no denom units found"), nil, nil + } + + randomDenomUnit := randomDenomUnits[r.Intn(len(randomDenomUnits))] + if randomDenomUnit == nil { + return simtypes.NoOpMsg(types.ModuleName, msgType, "denom unit is nil"), nil, nil + } + + // Randomly select a number of stakeholders + stakeholderNum := simtypes.RandIntBetween(r, 1, min(len(accs), 10)) + + // Randomly shuffle the accounts to select stakeholders + accsCopy := make([]simtypes.Account, len(accs)) + copy(accsCopy, accs) + r.Shuffle(len(accs), func(i, j int) { accsCopy[i], accsCopy[j] = accsCopy[j], accsCopy[i] }) + + // Select the stakeholders + stakeholders := accsCopy[:stakeholderNum] + + var payoutPairs []types.PayoutPair + for _, stakeholder := range stakeholders { + payoutPairs = append(payoutPairs, types.PayoutPair{ + Address: stakeholder.Address.String(), + Coin: sdk.NewCoin(randomDenomUnit.Denom, sdkmath.NewInt(int64(r.Intn(1000)+1))), + }) + } + + msg := types.MsgPayout{ + Authority: simAccount.Address.String(), + PayoutPairs: payoutPairs, + } + + return genAndDeliverTxWithRandFees(r, app, ctx, txGen, simAccount, &msg, k) + } +} + +func SimulateMsgBurnHeldBalance(txGen client.TxConfig, k keeper.Keeper) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, _ string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + msgType := sdk.MsgTypeURL(&types.MsgBurnHeldBalance{}) + simAccount := accs[0] + if simAccount.Address.String() != k.GetAuthority() { + return simtypes.NoOpMsg(types.ModuleName, msgType, "invalid authority"), nil, nil + } + + spendable := k.GetBankKeeper().SpendableCoins(ctx, simAccount.Address) + coinsToBurn := simtypes.RandSubsetCoins(r, spendable) + if coinsToBurn.Empty() { + return simtypes.NoOpMsg(types.ModuleName, msgType, "no spendable coin found"), nil, nil + } + + if err := k.GetBankKeeper().IsSendEnabledCoins(ctx, coinsToBurn...); err != nil { + return simtypes.NoOpMsg(types.ModuleName, msgType, err.Error()), nil, nil + } + + var fees sdk.Coins + var err error + coins, hasNeg := spendable.SafeSub(coinsToBurn...) + if !hasNeg { + fees, err = simtypes.RandomFees(r, ctx, coins) + if err != nil { + return simtypes.NoOpMsg(types.ModuleName, msgType, "unable to generate fees"), nil, nil + } + } + + msg := types.MsgBurnHeldBalance{ + Authority: simAccount.Address.String(), + BurnCoins: coinsToBurn, + } + + return genAndDeliverTx(r, app, ctx, txGen, simAccount, &msg, k, fees) + } +} + +func SimulateMsgUpdateParams(txGen client.TxConfig, k keeper.Keeper) simtypes.Operation { + return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, _ string, + ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + msgType := sdk.MsgTypeURL(&types.MsgUpdateParams{}) + simAccount := accs[0] + if simAccount.Address.String() != k.GetAuthority() { + return simtypes.NoOpMsg(types.ModuleName, msgType, "invalid authority"), nil, nil + } + + msg := types.MsgUpdateParams{ + Authority: simAccount.Address.String(), + Params: types.Params{}, + } + + return genAndDeliverTxWithRandFees(r, app, ctx, txGen, simAccount, &msg, k) + } +} + +func newOperationInput(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, txGen client.TxConfig, simAccount simtypes.Account, msg sdk.Msg, k keeper.Keeper) simulation.OperationInput { + return simulation.OperationInput{ + R: r, + App: app, + TxGen: txGen, + Cdc: nil, + Msg: msg, + Context: ctx, + SimAccount: simAccount, + AccountKeeper: k.GetTestAccountKeeper(), + Bankkeeper: k.GetBankKeeper(), + ModuleName: types.ModuleName, + } +} + +func genAndDeliverTxWithRandFees(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, txGen client.TxConfig, simAccount simtypes.Account, msg sdk.Msg, k keeper.Keeper) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + return simulation.GenAndDeliverTxWithRandFees(newOperationInput(r, app, ctx, txGen, simAccount, msg, k)) +} + +func genAndDeliverTx(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, txGen client.TxConfig, simAccount simtypes.Account, msg sdk.Msg, k keeper.Keeper, fees sdk.Coins) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { + return simulation.GenAndDeliverTx(newOperationInput(r, app, ctx, txGen, simAccount, msg, k), fees) +} diff --git a/x/manifest/simulation/proposals.go b/x/manifest/simulation/proposals.go new file mode 100644 index 0000000..3244a5e --- /dev/null +++ b/x/manifest/simulation/proposals.go @@ -0,0 +1,10 @@ +package simulation + +import ( + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" +) + +// ProposalMsgs defines the module weighted proposals' contents +func ProposalMsgs() []simtypes.WeightedProposalMsg { + return []simtypes.WeightedProposalMsg{} +} diff --git a/x/manifest/types/codec_test.go b/x/manifest/types/codec_test.go new file mode 100644 index 0000000..5254387 --- /dev/null +++ b/x/manifest/types/codec_test.go @@ -0,0 +1,27 @@ +package types + +import ( + "testing" + + "github.com/stretchr/testify/require" + + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" +) + +const prefix = "/liftedinit.manifest.v1." + +func TestCodecRegisterInterfaces(t *testing.T) { + registry := codectypes.NewInterfaceRegistry() + registry.RegisterInterface(sdk.MsgInterfaceProtoName, (*sdk.Msg)(nil)) + RegisterInterfaces(registry) + + impls := registry.ListImplementations(sdk.MsgInterfaceProtoName) + + require.Len(t, impls, 3) + require.ElementsMatch(t, []string{ + prefix + "MsgPayout", + prefix + "MsgBurnHeldBalance", + prefix + "MsgUpdateParams", + }, impls) +} diff --git a/x/manifest/types/genesis.pb.go b/x/manifest/types/genesis.pb.go index 48fd55f..bef56a1 100644 --- a/x/manifest/types/genesis.pb.go +++ b/x/manifest/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: manifest/v1/genesis.proto +// source: liftedinit/manifest/v1/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_039781d4f82022f2, []int{0} + return fileDescriptor_5d96536f59361368, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_039781d4f82022f2, []int{1} + return fileDescriptor_5d96536f59361368, []int{1} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -107,29 +107,31 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*GenesisState)(nil), "manifest.v1.GenesisState") - proto.RegisterType((*Params)(nil), "manifest.v1.Params") + proto.RegisterType((*GenesisState)(nil), "liftedinit.manifest.v1.GenesisState") + proto.RegisterType((*Params)(nil), "liftedinit.manifest.v1.Params") } -func init() { proto.RegisterFile("manifest/v1/genesis.proto", fileDescriptor_039781d4f82022f2) } +func init() { + proto.RegisterFile("liftedinit/manifest/v1/genesis.proto", fileDescriptor_5d96536f59361368) +} -var fileDescriptor_039781d4f82022f2 = []byte{ - // 230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0x4d, 0xcc, 0xcb, - 0x4c, 0x4b, 0x2d, 0x2e, 0xd1, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x49, 0xe9, 0x95, 0x19, 0x4a, 0x89, 0xa4, 0xe7, - 0xa7, 0xe7, 0x83, 0xc5, 0xf5, 0x41, 0x2c, 0x88, 0x12, 0x29, 0xc1, 0xc4, 0xdc, 0xcc, 0xbc, 0x7c, - 0x7d, 0x30, 0x09, 0x11, 0x52, 0x72, 0xe4, 0xe2, 0x71, 0x87, 0x18, 0x13, 0x5c, 0x92, 0x58, 0x92, - 0x2a, 0x64, 0xc8, 0xc5, 0x56, 0x90, 0x58, 0x94, 0x98, 0x5b, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, - 0x6d, 0x24, 0xac, 0x87, 0x64, 0xac, 0x5e, 0x00, 0x58, 0xca, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, - 0x20, 0xa8, 0x42, 0x25, 0x35, 0x2e, 0x36, 0x88, 0xb8, 0x95, 0xcc, 0x8c, 0x05, 0xf2, 0x0c, 0x2f, - 0x16, 0xc8, 0x33, 0x76, 0x3d, 0xdf, 0xa0, 0xc5, 0x0f, 0x77, 0x2a, 0x44, 0x9d, 0x53, 0xc0, 0x89, - 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, - 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x99, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, - 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xe7, 0x64, 0xa6, 0x95, 0xa4, 0xa6, 0x64, 0xe6, 0x65, 0x96, 0xe8, - 0xc3, 0x0c, 0xd0, 0xcd, 0x49, 0x4d, 0x49, 0x4f, 0x2d, 0xd2, 0xaf, 0x80, 0x8b, 0xe8, 0x97, 0x54, - 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xfd, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x24, - 0x3f, 0xb0, 0x16, 0x01, 0x00, 0x00, +var fileDescriptor_5d96536f59361368 = []byte{ + // 234 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xc9, 0xc9, 0x4c, 0x2b, + 0x49, 0x4d, 0xc9, 0xcc, 0xcb, 0x2c, 0xd1, 0xcf, 0x4d, 0xcc, 0xcb, 0x4c, 0x4b, 0x2d, 0x2e, 0xd1, + 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, + 0x17, 0x12, 0x43, 0xa8, 0xd2, 0x83, 0xa9, 0xd2, 0x2b, 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, 0xcf, + 0x07, 0x2b, 0xd1, 0x07, 0xb1, 0x20, 0xaa, 0xa5, 0x04, 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, 0xc1, + 0x24, 0x44, 0x48, 0xc9, 0x87, 0x8b, 0xc7, 0x1d, 0x62, 0x62, 0x70, 0x49, 0x62, 0x49, 0xaa, 0x90, + 0x0d, 0x17, 0x5b, 0x41, 0x62, 0x51, 0x62, 0x6e, 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, + 0x9c, 0x1e, 0x76, 0x1b, 0xf4, 0x02, 0xc0, 0xaa, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, + 0xea, 0x51, 0x52, 0xe3, 0x62, 0x83, 0x88, 0x5b, 0xc9, 0xcc, 0x58, 0x20, 0xcf, 0xf0, 0x62, 0x81, + 0x3c, 0x63, 0xd7, 0xf3, 0x0d, 0x5a, 0xfc, 0x70, 0x0f, 0x40, 0xd4, 0x39, 0x05, 0x9c, 0x78, 0x24, + 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x59, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x3e, 0x96, 0x10, 0xd0, 0xcd, 0x49, 0x4d, 0x49, 0x4f, 0x2d, 0xd2, 0xaf, 0x40, + 0x84, 0x49, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x3b, 0xc6, 0x80, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x29, 0x97, 0xfe, 0xd0, 0x37, 0x01, 0x00, 0x00, } func (this *Params) Equal(that interface{}) bool { diff --git a/x/manifest/types/query.pb.go b/x/manifest/types/query.pb.go index 6ebcbe6..5875957 100644 --- a/x/manifest/types/query.pb.go +++ b/x/manifest/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: manifest/v1/query.proto +// source: liftedinit/manifest/v1/query.proto package types @@ -36,7 +36,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_faf9b165de0b720f, []int{0} + return fileDescriptor_d81ae325db8dc36b, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,7 +75,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_faf9b165de0b720f, []int{1} + return fileDescriptor_d81ae325db8dc36b, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,31 +112,33 @@ func (m *QueryParamsResponse) GetParams() *Params { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "manifest.v1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "manifest.v1.QueryParamsResponse") -} - -func init() { proto.RegisterFile("manifest/v1/query.proto", fileDescriptor_faf9b165de0b720f) } - -var fileDescriptor_faf9b165de0b720f = []byte{ - // 264 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcf, 0x4d, 0xcc, 0xcb, - 0x4c, 0x4b, 0x2d, 0x2e, 0xd1, 0x2f, 0x33, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x86, 0x49, 0xe8, 0x95, 0x19, 0x4a, 0xc9, 0xa4, 0xe7, 0xe7, 0xa7, - 0xe7, 0xa4, 0xea, 0x27, 0x16, 0x64, 0xea, 0x27, 0xe6, 0xe5, 0xe5, 0x97, 0x24, 0x96, 0x64, 0xe6, - 0xe7, 0x15, 0x43, 0x94, 0x4a, 0x49, 0x22, 0x9b, 0x91, 0x9e, 0x9a, 0x97, 0x5a, 0x9c, 0x09, 0x95, - 0x52, 0x12, 0xe1, 0x12, 0x0a, 0x04, 0x19, 0x1a, 0x90, 0x58, 0x94, 0x98, 0x5b, 0x1c, 0x94, 0x5a, - 0x58, 0x9a, 0x5a, 0x5c, 0xa2, 0xe4, 0xc4, 0x25, 0x8c, 0x22, 0x5a, 0x5c, 0x90, 0x9f, 0x57, 0x9c, - 0x2a, 0xa4, 0xcd, 0xc5, 0x56, 0x00, 0x16, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x12, 0xd6, - 0x43, 0x72, 0x83, 0x1e, 0x54, 0x31, 0x54, 0x89, 0x51, 0x21, 0x17, 0x2b, 0xd8, 0x0c, 0xa1, 0x0c, - 0x2e, 0x36, 0x88, 0x94, 0x90, 0x3c, 0x8a, 0x7a, 0x4c, 0x7b, 0xa5, 0x14, 0x70, 0x2b, 0x80, 0x38, - 0x41, 0x49, 0xba, 0xe9, 0xf2, 0x93, 0xc9, 0x4c, 0xa2, 0x42, 0xc2, 0xfa, 0xc8, 0x7e, 0x82, 0x58, - 0xe9, 0x14, 0x70, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, - 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x66, 0xe9, 0x99, - 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x39, 0x99, 0x69, 0x25, 0xa9, 0x29, 0x99, - 0x79, 0x99, 0x25, 0x70, 0x33, 0x74, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, 0x2b, 0x10, 0xa6, - 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x43, 0xc9, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0xb0, 0x93, 0xfb, 0xea, 0x86, 0x01, 0x00, 0x00, + proto.RegisterType((*QueryParamsRequest)(nil), "liftedinit.manifest.v1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "liftedinit.manifest.v1.QueryParamsResponse") +} + +func init() { + proto.RegisterFile("liftedinit/manifest/v1/query.proto", fileDescriptor_d81ae325db8dc36b) +} + +var fileDescriptor_d81ae325db8dc36b = []byte{ + // 270 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xca, 0xc9, 0x4c, 0x2b, + 0x49, 0x4d, 0xc9, 0xcc, 0xcb, 0x2c, 0xd1, 0xcf, 0x4d, 0xcc, 0xcb, 0x4c, 0x4b, 0x2d, 0x2e, 0xd1, + 0x2f, 0x33, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, + 0x43, 0xa8, 0xd1, 0x83, 0xa9, 0xd1, 0x2b, 0x33, 0x94, 0x92, 0x49, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, + 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, 0x2b, + 0x86, 0xe8, 0x92, 0x52, 0xc1, 0x61, 0x72, 0x7a, 0x6a, 0x5e, 0x6a, 0x71, 0x26, 0x54, 0x95, 0x92, + 0x08, 0x97, 0x50, 0x20, 0xc8, 0xaa, 0x80, 0xc4, 0xa2, 0xc4, 0xdc, 0xe2, 0xa0, 0xd4, 0xc2, 0xd2, + 0xd4, 0xe2, 0x12, 0x25, 0x5f, 0x2e, 0x61, 0x14, 0xd1, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, + 0x33, 0x2e, 0xb6, 0x02, 0xb0, 0x88, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x9c, 0x1e, 0x76, + 0x97, 0xe9, 0x41, 0xf5, 0x41, 0x55, 0x1b, 0xb5, 0x33, 0x72, 0xb1, 0x82, 0xcd, 0x13, 0xaa, 0xe3, + 0x62, 0x83, 0xc8, 0x09, 0x69, 0xe1, 0xd2, 0x8b, 0xe9, 0x1c, 0x29, 0x6d, 0xa2, 0xd4, 0x42, 0x1c, + 0xa9, 0x24, 0xdd, 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x51, 0x21, 0x61, 0x14, 0x5f, 0x43, 0x5c, 0xe2, + 0x14, 0x70, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, + 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x66, 0xe9, 0x99, 0x25, + 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x58, 0x42, 0x4e, 0x37, 0x27, 0x35, 0x25, 0x3d, + 0xb5, 0x48, 0xbf, 0x02, 0x61, 0x6a, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x1c, 0x8d, + 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x59, 0x53, 0x10, 0xc9, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -165,7 +167,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/manifest.v1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/liftedinit.manifest.v1.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -200,7 +202,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/manifest.v1.Query/Params", + FullMethod: "/liftedinit.manifest.v1.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -209,7 +211,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "manifest.v1.Query", + ServiceName: "liftedinit.manifest.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -218,7 +220,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "manifest/v1/query.proto", + Metadata: "liftedinit/manifest/v1/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/manifest/types/query.pb.gw.go b/x/manifest/types/query.pb.gw.go index f9ca226..035b6a1 100644 --- a/x/manifest/types/query.pb.gw.go +++ b/x/manifest/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: manifest/v1/query.proto +// source: liftedinit/manifest/v1/query.proto /* Package types is a reverse proxy. diff --git a/x/manifest/types/tx.pb.go b/x/manifest/types/tx.pb.go index a0c5b6d..8a33697 100644 --- a/x/manifest/types/tx.pb.go +++ b/x/manifest/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: manifest/v1/tx.proto +// source: liftedinit/manifest/v1/tx.proto package types @@ -49,7 +49,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{0} + return fileDescriptor_b20c6d73bffbe53f, []int{0} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -103,7 +103,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{1} + return fileDescriptor_b20c6d73bffbe53f, []int{1} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -144,7 +144,7 @@ func (m *MsgPayout) Reset() { *m = MsgPayout{} } func (m *MsgPayout) String() string { return proto.CompactTextString(m) } func (*MsgPayout) ProtoMessage() {} func (*MsgPayout) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{2} + return fileDescriptor_b20c6d73bffbe53f, []int{2} } func (m *MsgPayout) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,7 +197,7 @@ func (m *PayoutPair) Reset() { *m = PayoutPair{} } func (m *PayoutPair) String() string { return proto.CompactTextString(m) } func (*PayoutPair) ProtoMessage() {} func (*PayoutPair) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{3} + return fileDescriptor_b20c6d73bffbe53f, []int{3} } func (m *PayoutPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -248,7 +248,7 @@ func (m *MsgPayoutResponse) Reset() { *m = MsgPayoutResponse{} } func (m *MsgPayoutResponse) String() string { return proto.CompactTextString(m) } func (*MsgPayoutResponse) ProtoMessage() {} func (*MsgPayoutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{4} + return fileDescriptor_b20c6d73bffbe53f, []int{4} } func (m *MsgPayoutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -289,7 +289,7 @@ func (m *MsgBurnHeldBalance) Reset() { *m = MsgBurnHeldBalance{} } func (m *MsgBurnHeldBalance) String() string { return proto.CompactTextString(m) } func (*MsgBurnHeldBalance) ProtoMessage() {} func (*MsgBurnHeldBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{5} + return fileDescriptor_b20c6d73bffbe53f, []int{5} } func (m *MsgBurnHeldBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -340,7 +340,7 @@ func (m *MsgBurnHeldBalanceResponse) Reset() { *m = MsgBurnHeldBalanceRe func (m *MsgBurnHeldBalanceResponse) String() string { return proto.CompactTextString(m) } func (*MsgBurnHeldBalanceResponse) ProtoMessage() {} func (*MsgBurnHeldBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7e3feee7606c5280, []int{6} + return fileDescriptor_b20c6d73bffbe53f, []int{6} } func (m *MsgBurnHeldBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -370,58 +370,58 @@ func (m *MsgBurnHeldBalanceResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgBurnHeldBalanceResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgUpdateParams)(nil), "manifest.v1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "manifest.v1.MsgUpdateParamsResponse") - proto.RegisterType((*MsgPayout)(nil), "manifest.v1.MsgPayout") - proto.RegisterType((*PayoutPair)(nil), "manifest.v1.PayoutPair") - proto.RegisterType((*MsgPayoutResponse)(nil), "manifest.v1.MsgPayoutResponse") - proto.RegisterType((*MsgBurnHeldBalance)(nil), "manifest.v1.MsgBurnHeldBalance") - proto.RegisterType((*MsgBurnHeldBalanceResponse)(nil), "manifest.v1.MsgBurnHeldBalanceResponse") -} - -func init() { proto.RegisterFile("manifest/v1/tx.proto", fileDescriptor_7e3feee7606c5280) } - -var fileDescriptor_7e3feee7606c5280 = []byte{ - // 610 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6b, 0x13, 0x41, - 0x14, 0xce, 0xd8, 0x5a, 0xc9, 0xa4, 0x58, 0xba, 0x2d, 0x36, 0x5d, 0xca, 0xa6, 0x04, 0xa1, 0x21, - 0x90, 0x5d, 0x12, 0xa1, 0x87, 0x9e, 0x74, 0xfd, 0x81, 0x97, 0x40, 0x58, 0xf1, 0xa2, 0x87, 0x30, - 0xc9, 0x4e, 0xa7, 0x83, 0xd9, 0x9d, 0x65, 0x67, 0x12, 0x9a, 0x5b, 0xf1, 0xec, 0xc1, 0xb3, 0x82, - 0x78, 0x14, 0x4f, 0x39, 0xf8, 0x47, 0xf4, 0x58, 0x3c, 0x79, 0xaa, 0x92, 0x1c, 0xe2, 0xdf, 0xe0, - 0x45, 0x99, 0x9d, 0xd9, 0x24, 0x5d, 0x4b, 0x95, 0x5e, 0x92, 0x99, 0xf7, 0xbe, 0xf7, 0xbd, 0xef, - 0xbd, 0x6f, 0x12, 0xb8, 0x19, 0xa0, 0x90, 0x1e, 0x62, 0x2e, 0x9c, 0x41, 0xdd, 0x11, 0xc7, 0x76, - 0x14, 0x33, 0xc1, 0x8c, 0x42, 0x1a, 0xb5, 0x07, 0x75, 0x73, 0xab, 0xcb, 0x78, 0xc0, 0xb8, 0x13, - 0x70, 0x22, 0x41, 0x01, 0x27, 0x0a, 0x65, 0x6e, 0x2f, 0xd6, 0x12, 0x1c, 0x62, 0x4e, 0xb9, 0x4e, - 0x6d, 0x12, 0x46, 0x58, 0x72, 0x74, 0xe4, 0x29, 0x2d, 0x50, 0x4c, 0x6d, 0x95, 0x50, 0x17, 0x9d, - 0xb2, 0x74, 0x93, 0x0e, 0xe2, 0xd8, 0x19, 0xd4, 0x3b, 0x58, 0xa0, 0xba, 0xd3, 0x65, 0x34, 0xd4, - 0xf9, 0x75, 0x14, 0xd0, 0x90, 0x39, 0xc9, 0xa7, 0x0a, 0x95, 0xdf, 0x00, 0xb8, 0xd6, 0xe4, 0xe4, - 0x79, 0xe4, 0x23, 0x81, 0x5b, 0x28, 0x46, 0x01, 0x37, 0xf6, 0x61, 0x1e, 0xf5, 0xc5, 0x11, 0x8b, - 0xa9, 0x18, 0x16, 0xc1, 0x2e, 0xa8, 0xe4, 0xdd, 0xe2, 0xd7, 0x2f, 0xb5, 0x4d, 0xdd, 0xeb, 0x81, - 0xef, 0xc7, 0x98, 0xf3, 0x67, 0x22, 0xa6, 0x21, 0xf1, 0xe6, 0x50, 0xa3, 0x0e, 0x57, 0xa2, 0x84, - 0xa1, 0x78, 0x63, 0x17, 0x54, 0x0a, 0x8d, 0x0d, 0x7b, 0x61, 0x03, 0xb6, 0x22, 0x77, 0x97, 0x4f, - 0xcf, 0x4b, 0x39, 0x4f, 0x03, 0x0f, 0x6e, 0xbf, 0x9e, 0x8e, 0xaa, 0x73, 0x8a, 0xf2, 0x36, 0xdc, - 0xca, 0xa8, 0xf1, 0x30, 0x8f, 0x58, 0xc8, 0x71, 0xf9, 0x03, 0x80, 0xf9, 0x26, 0x27, 0x2d, 0x34, - 0x64, 0x7d, 0x71, 0x6d, 0x8d, 0x8f, 0xe1, 0x6a, 0x94, 0x30, 0xb4, 0x23, 0x44, 0x63, 0xa9, 0x74, - 0xa9, 0x52, 0x68, 0x6c, 0x65, 0x94, 0x4a, 0x40, 0x0b, 0xd1, 0xd8, 0xcd, 0x4b, 0xb5, 0x9f, 0xa6, - 0xa3, 0x2a, 0xf0, 0x0a, 0xd1, 0x2c, 0xcc, 0x0f, 0x8c, 0x9f, 0x1f, 0x4b, 0xb9, 0x8c, 0xf6, 0xf7, - 0x00, 0xc2, 0x79, 0xa9, 0x51, 0x84, 0xb7, 0x90, 0x52, 0xa1, 0xf4, 0x79, 0xe9, 0xd5, 0xe0, 0x70, - 0x59, 0x9a, 0xa2, 0xb7, 0xb4, 0x6d, 0x6b, 0xcd, 0xd2, 0x35, 0x5b, 0xbb, 0x66, 0x3f, 0x64, 0x34, - 0x74, 0x1f, 0xc9, 0xee, 0xbf, 0xce, 0x4b, 0x7b, 0x84, 0x8a, 0xa3, 0x7e, 0xc7, 0xee, 0xb2, 0x40, - 0x1b, 0xae, 0xbf, 0x6a, 0xdc, 0x7f, 0xe5, 0x88, 0x61, 0x84, 0x79, 0x52, 0xf0, 0x6e, 0x3a, 0xaa, - 0x16, 0x7a, 0x98, 0xa0, 0xee, 0xb0, 0x2d, 0x3b, 0x28, 0xe1, 0x49, 0xb3, 0xf2, 0x06, 0x5c, 0x9f, - 0x6d, 0x6f, 0xb6, 0xd3, 0x09, 0x80, 0x46, 0x93, 0x13, 0xb7, 0x1f, 0x87, 0x4f, 0x71, 0xcf, 0x77, - 0x51, 0x0f, 0x85, 0x5d, 0x7c, 0xed, 0xe5, 0x9e, 0x00, 0x08, 0x3b, 0xfd, 0x38, 0x4c, 0x9a, 0xa7, - 0xbb, 0xbd, 0x62, 0xbe, 0x27, 0x72, 0xbe, 0xcf, 0xdf, 0x4b, 0x95, 0xff, 0x9c, 0x8f, 0xcb, 0x01, - 0x57, 0x17, 0x06, 0xe4, 0x6a, 0xc2, 0xbc, 0x6c, 0x9a, 0x00, 0x2e, 0x35, 0x66, 0x07, 0x9a, 0x7f, - 0x0f, 0x99, 0xee, 0xa0, 0xf1, 0x1b, 0xc0, 0xa5, 0x26, 0x27, 0x86, 0x07, 0x57, 0x2f, 0xfc, 0x0a, - 0x76, 0x2e, 0xbc, 0x89, 0xcc, 0xab, 0x34, 0xef, 0x5e, 0x95, 0x4d, 0xb9, 0x8d, 0xfb, 0x70, 0x45, - 0xbf, 0xd7, 0x3b, 0x59, 0xbc, 0x8a, 0x9b, 0xd6, 0xe5, 0xf1, 0x19, 0xc3, 0x4b, 0xb8, 0x96, 0x75, - 0xa7, 0x94, 0x2d, 0xc9, 0x00, 0xcc, 0xbd, 0x7f, 0x00, 0x52, 0x72, 0xf3, 0xe6, 0x89, 0x5c, 0x9f, - 0xdb, 0x3a, 0x1d, 0x5b, 0xe0, 0x6c, 0x6c, 0x81, 0x1f, 0x63, 0x0b, 0xbc, 0x9d, 0x58, 0xb9, 0xb3, - 0x89, 0x95, 0xfb, 0x36, 0xb1, 0x72, 0x2f, 0xf6, 0x17, 0x8c, 0xe9, 0xd1, 0x43, 0x81, 0x7d, 0x1a, - 0x52, 0xe1, 0xa4, 0xf4, 0xb5, 0x1e, 0xf6, 0x09, 0x8e, 0x9d, 0xe3, 0x59, 0x44, 0x99, 0xd5, 0x59, - 0x49, 0xfe, 0x5c, 0xee, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x84, 0x93, 0x80, 0x19, 0x05, - 0x00, 0x00, + proto.RegisterType((*MsgUpdateParams)(nil), "liftedinit.manifest.v1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "liftedinit.manifest.v1.MsgUpdateParamsResponse") + proto.RegisterType((*MsgPayout)(nil), "liftedinit.manifest.v1.MsgPayout") + proto.RegisterType((*PayoutPair)(nil), "liftedinit.manifest.v1.PayoutPair") + proto.RegisterType((*MsgPayoutResponse)(nil), "liftedinit.manifest.v1.MsgPayoutResponse") + proto.RegisterType((*MsgBurnHeldBalance)(nil), "liftedinit.manifest.v1.MsgBurnHeldBalance") + proto.RegisterType((*MsgBurnHeldBalanceResponse)(nil), "liftedinit.manifest.v1.MsgBurnHeldBalanceResponse") +} + +func init() { proto.RegisterFile("liftedinit/manifest/v1/tx.proto", fileDescriptor_b20c6d73bffbe53f) } + +var fileDescriptor_b20c6d73bffbe53f = []byte{ + // 620 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x6f, 0x12, 0x4f, + 0x1c, 0x65, 0xda, 0xfe, 0xf9, 0x87, 0x81, 0xd8, 0x74, 0x6d, 0x2c, 0x6c, 0xcc, 0x52, 0x89, 0x49, + 0x91, 0x84, 0xdd, 0x80, 0x49, 0x0f, 0x8d, 0x17, 0x57, 0x63, 0xbc, 0x90, 0x10, 0x8c, 0x1e, 0xbc, + 0x90, 0x81, 0x9d, 0x0e, 0x13, 0xd9, 0x9d, 0x75, 0x67, 0x20, 0xe5, 0xd6, 0xf8, 0x09, 0xbc, 0x99, + 0xe8, 0xc5, 0xa3, 0x7a, 0xe2, 0xe0, 0x17, 0xf0, 0xd6, 0x63, 0xe3, 0xc9, 0x53, 0x35, 0x70, 0xc0, + 0xcf, 0xe0, 0xc9, 0xcc, 0xee, 0x2c, 0x54, 0x04, 0x24, 0xbd, 0xc0, 0xee, 0xcc, 0xfb, 0xfd, 0xde, + 0x7b, 0xbf, 0x37, 0x3b, 0x30, 0xdf, 0xa5, 0xc7, 0x02, 0x3b, 0xd4, 0xa3, 0xc2, 0x72, 0x91, 0x47, + 0x8f, 0x31, 0x17, 0x56, 0xbf, 0x62, 0x89, 0x13, 0xd3, 0x0f, 0x98, 0x60, 0xda, 0x8d, 0x19, 0xc0, + 0x8c, 0x01, 0x66, 0xbf, 0xa2, 0xef, 0xb5, 0x19, 0x77, 0x19, 0xb7, 0x5c, 0x4e, 0x24, 0xde, 0xe5, + 0x24, 0x2a, 0xd0, 0x6f, 0x2f, 0xe9, 0x48, 0xb0, 0x87, 0x39, 0xe5, 0x0a, 0xb5, 0x4b, 0x18, 0x61, + 0xe1, 0xa3, 0x25, 0x9f, 0xd4, 0x6a, 0x2e, 0x6a, 0xda, 0x8c, 0x36, 0xa2, 0x17, 0xb5, 0x65, 0x28, + 0xbe, 0x16, 0xe2, 0xd8, 0xea, 0x57, 0x5a, 0x58, 0xa0, 0x8a, 0xd5, 0x66, 0xd4, 0x53, 0xfb, 0x3b, + 0xc8, 0xa5, 0x1e, 0xb3, 0xc2, 0xdf, 0x68, 0xa9, 0xf0, 0x06, 0xc0, 0xed, 0x1a, 0x27, 0x4f, 0x7d, + 0x07, 0x09, 0x5c, 0x47, 0x01, 0x72, 0xb9, 0x76, 0x08, 0x53, 0xa8, 0x27, 0x3a, 0x2c, 0xa0, 0x62, + 0x90, 0x05, 0xfb, 0xa0, 0x98, 0xb2, 0xb3, 0x5f, 0x3f, 0x97, 0x77, 0x15, 0xd7, 0x7d, 0xc7, 0x09, + 0x30, 0xe7, 0x4f, 0x44, 0x40, 0x3d, 0xd2, 0x98, 0x41, 0xb5, 0x7b, 0x30, 0xe9, 0x87, 0x1d, 0xb2, + 0x1b, 0xfb, 0xa0, 0x98, 0xae, 0x1a, 0xe6, 0xe2, 0xb9, 0x98, 0x11, 0x8f, 0xbd, 0x75, 0x76, 0x91, + 0x4f, 0x34, 0x54, 0xcd, 0xd1, 0xb5, 0x57, 0x93, 0x61, 0x69, 0xd6, 0xad, 0x90, 0x83, 0x7b, 0x73, + 0xc2, 0x1a, 0x98, 0xfb, 0xcc, 0xe3, 0xb8, 0xf0, 0x11, 0xc0, 0x54, 0x8d, 0x93, 0x3a, 0x1a, 0xb0, + 0x9e, 0xb8, 0xb2, 0xdc, 0x3a, 0xcc, 0xf8, 0x61, 0x87, 0xa6, 0x8f, 0x68, 0x20, 0x45, 0x6f, 0x16, + 0xd3, 0xd5, 0xc2, 0x72, 0xd1, 0x12, 0x5b, 0x47, 0x34, 0xb0, 0x53, 0x52, 0xf8, 0x87, 0xc9, 0xb0, + 0x04, 0x1a, 0x69, 0x7f, 0xba, 0xcc, 0x8f, 0xb4, 0x9f, 0xef, 0xf3, 0x89, 0x39, 0x1b, 0xef, 0x00, + 0x84, 0xb3, 0x52, 0x2d, 0x0b, 0xff, 0x47, 0x91, 0xa0, 0x48, 0x6a, 0x23, 0x7e, 0xd5, 0x38, 0xdc, + 0x92, 0x51, 0xa9, 0xd9, 0xe5, 0x4c, 0x25, 0x5f, 0x66, 0x69, 0xaa, 0x2c, 0xcd, 0x07, 0x8c, 0x7a, + 0xf6, 0x43, 0xc9, 0xfe, 0xeb, 0x22, 0x7f, 0x40, 0xa8, 0xe8, 0xf4, 0x5a, 0x66, 0x9b, 0xb9, 0xea, + 0x18, 0xa8, 0xbf, 0x32, 0x77, 0x5e, 0x58, 0x62, 0xe0, 0x63, 0x1e, 0x16, 0xbc, 0x9d, 0x0c, 0x4b, + 0xe9, 0x2e, 0x26, 0xa8, 0x3d, 0x68, 0x4a, 0x86, 0x48, 0x78, 0x48, 0x56, 0xb8, 0x0e, 0x77, 0xa6, + 0x83, 0x9c, 0x8e, 0x77, 0x0c, 0xa0, 0x56, 0xe3, 0xc4, 0xee, 0x05, 0xde, 0x63, 0xdc, 0x75, 0x6c, + 0xd4, 0x45, 0x5e, 0x1b, 0x5f, 0x79, 0xce, 0xa7, 0x00, 0xc2, 0x56, 0x2f, 0xf0, 0x42, 0xf2, 0x78, + 0xcc, 0x2b, 0xfc, 0x3d, 0x92, 0xfe, 0x3e, 0x7d, 0xcf, 0x17, 0xd7, 0xf4, 0xc7, 0xa5, 0xc1, 0xcc, + 0x25, 0x83, 0x3c, 0x72, 0x98, 0x92, 0xa4, 0x21, 0x60, 0x61, 0x30, 0x37, 0xa1, 0xfe, 0xb7, 0xc9, + 0x78, 0x06, 0xd5, 0x2f, 0x1b, 0x70, 0xb3, 0xc6, 0x89, 0xd6, 0x81, 0x99, 0x3f, 0xbe, 0x8d, 0x83, + 0x65, 0xc7, 0x63, 0xee, 0xac, 0xea, 0xd6, 0x9a, 0xc0, 0x98, 0x51, 0x7b, 0x06, 0x93, 0xea, 0x40, + 0xdf, 0x5a, 0x51, 0x1a, 0x41, 0xf4, 0x3b, 0xff, 0x84, 0x4c, 0xfb, 0xbe, 0x84, 0xdb, 0xf3, 0x49, + 0x96, 0x56, 0x54, 0xcf, 0x61, 0xf5, 0xea, 0xfa, 0xd8, 0x98, 0x52, 0xff, 0xef, 0x54, 0x06, 0x60, + 0xd7, 0xcf, 0x46, 0x06, 0x38, 0x1f, 0x19, 0xe0, 0xc7, 0xc8, 0x00, 0xaf, 0xc7, 0x46, 0xe2, 0x7c, + 0x6c, 0x24, 0xbe, 0x8d, 0x8d, 0xc4, 0xf3, 0xc3, 0x4b, 0xd1, 0x2e, 0xb8, 0x0a, 0xcb, 0x5d, 0xec, + 0x10, 0x1c, 0x58, 0x27, 0xb3, 0xcb, 0x31, 0x8c, 0xbb, 0x95, 0x0c, 0x2f, 0xad, 0xbb, 0xbf, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x41, 0x84, 0xb1, 0x94, 0x92, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -456,7 +456,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/manifest.v1.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/liftedinit.manifest.v1.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -465,7 +465,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts func (c *msgClient) Payout(ctx context.Context, in *MsgPayout, opts ...grpc.CallOption) (*MsgPayoutResponse, error) { out := new(MsgPayoutResponse) - err := c.cc.Invoke(ctx, "/manifest.v1.Msg/Payout", in, out, opts...) + err := c.cc.Invoke(ctx, "/liftedinit.manifest.v1.Msg/Payout", in, out, opts...) if err != nil { return nil, err } @@ -474,7 +474,7 @@ func (c *msgClient) Payout(ctx context.Context, in *MsgPayout, opts ...grpc.Call func (c *msgClient) BurnHeldBalance(ctx context.Context, in *MsgBurnHeldBalance, opts ...grpc.CallOption) (*MsgBurnHeldBalanceResponse, error) { out := new(MsgBurnHeldBalanceResponse) - err := c.cc.Invoke(ctx, "/manifest.v1.Msg/BurnHeldBalance", in, out, opts...) + err := c.cc.Invoke(ctx, "/liftedinit.manifest.v1.Msg/BurnHeldBalance", in, out, opts...) if err != nil { return nil, err } @@ -521,7 +521,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/manifest.v1.Msg/UpdateParams", + FullMethod: "/liftedinit.manifest.v1.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) @@ -539,7 +539,7 @@ func _Msg_Payout_Handler(srv interface{}, ctx context.Context, dec func(interfac } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/manifest.v1.Msg/Payout", + FullMethod: "/liftedinit.manifest.v1.Msg/Payout", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).Payout(ctx, req.(*MsgPayout)) @@ -557,7 +557,7 @@ func _Msg_BurnHeldBalance_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/manifest.v1.Msg/BurnHeldBalance", + FullMethod: "/liftedinit.manifest.v1.Msg/BurnHeldBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).BurnHeldBalance(ctx, req.(*MsgBurnHeldBalance)) @@ -566,7 +566,7 @@ func _Msg_BurnHeldBalance_Handler(srv interface{}, ctx context.Context, dec func } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "manifest.v1.Msg", + ServiceName: "liftedinit.manifest.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -583,7 +583,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "manifest/v1/tx.proto", + Metadata: "liftedinit/manifest/v1/tx.proto", } func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {