diff --git a/.mockery.yaml b/.mockery.yaml index 329e8b37c..ba06d15ea 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -13,7 +13,7 @@ packages: github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types: interfaces: QueryClient: - github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types: + github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp: interfaces: QueryClient: github.com/tendermint/tendermint/abci/types: diff --git a/Makefile b/Makefile index a8546c728..2cda0e321 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,16 @@ all: check build test install include tests.mk ############################################################################### -### Build Dymint ### +### Mocks ### +############################################################################### + +mock-gen: + go install github.com/vektra/mockery/v2@v2.46.0 + mockery +.PHONY: mock-gen + +############################################################################### +### Build Dymint ### ############################################################################### build: diff --git a/go.mod b/go.mod index 351ed8cd8..b266e0eda 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/cosmos/cosmos-sdk v0.46.16 github.com/dgraph-io/badger/v3 v3.2103.3 github.com/dymensionxyz/cosmosclient v0.4.2-beta.0.20240821081230-b4018b2bac13 - github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20240411195658-f7cd96f53b56 github.com/dymensionxyz/gerr-cosmos v1.0.0 github.com/go-kit/kit v0.12.0 github.com/gofrs/uuid v4.3.0+incompatible @@ -49,8 +48,10 @@ require ( github.com/celestiaorg/go-square/merkle v0.0.0-20240429192549-dea967e1533b // indirect github.com/cskr/pubsub v1.0.2 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/ipfs/go-block-format v0.2.0 // indirect + github.com/tklauser/go-sysconf v0.3.11 // indirect google.golang.org/api v0.169.0 // indirect ) @@ -75,7 +76,7 @@ require ( github.com/cometbft/cometbft v0.37.2 github.com/cometbft/cometbft-db v0.11.0 // indirect github.com/cosmos/cosmos-proto v1.0.0-beta.3 - github.com/cosmos/gogoproto v1.5.0 + github.com/cosmos/gogoproto v1.5.0 // indirect github.com/creachadair/taskgroup v0.3.2 // indirect github.com/deckarep/golang-set v1.8.0 // indirect github.com/decred/base58 v1.0.4 // indirect @@ -287,7 +288,6 @@ require ( github.com/linxGnu/grocksdb v1.8.12 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/prometheus/common v0.47.0 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect go.uber.org/mock v0.4.0 // indirect diff --git a/go.sum b/go.sum index b4f585883..e0d7b2e1d 100644 --- a/go.sum +++ b/go.sum @@ -19,34 +19,176 @@ cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHOb cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= +cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= +cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= +cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= +cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= +cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= +cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= +cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= +cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= +cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= +cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= cloud.google.com/go v0.112.1 h1:uJSeirPke5UNZHIb4SxfZklVSiWWVqW4oXlETwZziwM= cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4= +cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= +cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= +cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= +cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= +cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= +cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= +cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= +cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= +cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= +cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= +cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= +cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= +cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= +cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= +cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= +cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= +cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= +cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= +cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= +cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= +cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= +cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= +cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= +cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= +cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= +cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s= +cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= +cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= +cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= cloud.google.com/go/compute v1.25.1 h1:ZRpHJedLtTpKgr3RV1Fx23NuaAEN1Zfx9hw1u4aJdjU= cloud.google.com/go/compute v1.25.1/go.mod h1:oopOIR53ly6viBYxaDhBfJwzUAxf1zE//uf3IB011ls= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= +cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= +cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= +cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= +cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= +cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= +cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= +cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= +cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= +cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= +cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= +cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= +cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= +cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= +cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= +cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= +cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= +cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= +cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= +cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= +cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= +cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= +cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= +cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= +cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= +cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= +cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= +cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= +cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= +cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= +cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= +cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= +cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= +cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= cloud.google.com/go/iam v1.1.6 h1:bEa06k05IO4f4uJonbB5iAgKTPpABy1ayxaIZV/GHVc= cloud.google.com/go/iam v1.1.6/go.mod h1:O0zxdPeGBoFdWW3HWmBxJsk0pfvNM/p/qa82rWOGTwI= +cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= +cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= +cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= +cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= +cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= +cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= +cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= +cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= +cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= +cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= +cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= +cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= +cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= +cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= +cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= +cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= +cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= +cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= +cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= +cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= +cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= +cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= +cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= +cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= +cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= +cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= +cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= +cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= +cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= +cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= +cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= +cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= +cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= +cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= +cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= +cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= +cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= +cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= +cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= +cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= +cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= +cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= +cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= +cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= +cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= +cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= +cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= +cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= +cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= +cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= cloud.google.com/go/storage v1.38.0 h1:Az68ZRGlnNTpIBbLjSMIV2BDcwwXYlRlQzis0llkpJg= cloud.google.com/go/storage v1.38.0/go.mod h1:tlUADB0mAb9BgYls9lq+8MGkfzOXuLrnHXlpHmvFJoY= +cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= +cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= +cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= +cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= +cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= +cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= +cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= +cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= +cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= +cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= +cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= cosmossdk.io/math v1.3.0 h1:RC+jryuKeytIiictDslBP9i1fhkVm6ZDmZEoNP316zE= @@ -177,6 +319,7 @@ github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghf github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/readline v1.5.1 h1:upd/6fQk4src78LMRzh5vItIt361/o4uq553V8B5sGI= @@ -189,6 +332,12 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw= github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4= @@ -309,8 +458,6 @@ github.com/dymensionxyz/cometbft v0.34.29-0.20240906143736-1e3959c2826e h1:A5FIv github.com/dymensionxyz/cometbft v0.34.29-0.20240906143736-1e3959c2826e/go.mod h1:L9shMfbkZ8B+7JlwANEr+NZbBcn+hBpwdbeYvA5rLCw= github.com/dymensionxyz/cosmosclient v0.4.2-beta.0.20240821081230-b4018b2bac13 h1:u5yeve5jZR6TdRjjR+vYT/8PWKbhwCZxUmAu+/Tnxyg= github.com/dymensionxyz/cosmosclient v0.4.2-beta.0.20240821081230-b4018b2bac13/go.mod h1:jabDQYXrccscSE0fXkh7eQFYPWJCRiuWKonFGObVq6s= -github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20240411195658-f7cd96f53b56 h1:cmpJYdRviuUfmlJdHrcAND8Jd6JIY4rp63bWAQzPr54= -github.com/dymensionxyz/dymension/v3 v3.1.0-rc03.0.20240411195658-f7cd96f53b56/go.mod h1:3Pfrr8j/BR9ztNKztGfC5PqDiO6CcrzMLCJtFtPEVW4= github.com/dymensionxyz/evmos/v12 v12.1.6-dymension-v0.3 h1:vmAdUGUc4rTIiO3Phezr7vGq+0uPDVKSA4WAe8+yl6w= github.com/dymensionxyz/evmos/v12 v12.1.6-dymension-v0.3/go.mod h1:LfPv2O1HXMgETpka81Pg3nXy+U/7urq8dn85ZnSXK5Y= github.com/dymensionxyz/gerr-cosmos v1.0.0 h1:oi91rgOkpJWr41oX9JOyjvvBnhGY54tj513x8VlDAEc= @@ -325,6 +472,10 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/ethereum/go-ethereum v1.12.0 h1:bdnhLPtqETd4m3mS8BGMNvBTf36bO5bx/hxE2zljOa0= github.com/ethereum/go-ethereum v1.12.0/go.mod h1:/oo2X/dZLJjf2mJ6YT9wcWxa4nNJDBKDBU6sFIpx1Gs= @@ -334,6 +485,7 @@ github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojt github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/filecoin-project/go-jsonrpc v0.5.0 h1:6PZghgMaM9wSjlhxkDD+YgZ+oucBUIkJOfVc7SdQBTE= @@ -421,6 +573,7 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= +github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -439,6 +592,7 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= @@ -465,6 +619,9 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= +github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= @@ -479,6 +636,7 @@ github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/orderedcode v0.0.1 h1:UzfcAexk9Vhv8+9pNOgRu41f16lHq725vPwnSeiG/Us= github.com/google/orderedcode v0.0.1/go.mod h1:iVyU4/qPKHY5h/wSd6rZZCDcLJNxiWO6dvsYES2Sb20= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -491,7 +649,12 @@ github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20240207164012-fb44976bdcd5 h1:E/LAvt58di64hlYjx7AsNS6C/ysHWYo+2qPCZKTQhRo= github.com/google/pprof v0.0.0-20240207164012-fb44976bdcd5/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= @@ -501,8 +664,12 @@ github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaU github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= +github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go v2.0.0+incompatible h1:j0GKcs05QVmm7yesiZq2+9cxHkNK9YM6zKx4D2qucQU= @@ -510,8 +677,16 @@ github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk github.com/googleapis/gax-go/v2 v2.0.3/go.mod h1:LLvjysVCY1JZeum8Z6l8qUty8fiNwE08qbEPm1M08qg= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= +github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= +github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM= +github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM= +github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= +github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= +github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA= github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc= +github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gopherjs/gopherjs v0.0.0-20190812055157-5d271430af9f h1:KMlcu9X58lhTA/KrfX8Bi1LQSO4pzoVjTiL3h4Jk+Zk= @@ -639,6 +814,7 @@ github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= @@ -653,6 +829,7 @@ github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQL github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI= github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= @@ -721,11 +898,14 @@ github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYt github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd h1:br0buuQ854V8u83wA0rVZ8ttrq5CpaPZdvrK0LP2lOk= github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd/go.mod h1:QuCEs1Nt24+FYQEqAAncTDPJIuGs+LxK1MCiFL25pMU= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -1056,6 +1236,7 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= @@ -1074,6 +1255,7 @@ go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= +go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg= @@ -1086,6 +1268,7 @@ go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGX go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= @@ -1130,6 +1313,7 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/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= @@ -1159,6 +1343,7 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -1170,6 +1355,7 @@ golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1214,11 +1400,23 @@ golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211029224645-99673261e6eb/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +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/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1232,6 +1430,22 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= +golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= +golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= +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.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI= golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8= golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= @@ -1246,6 +1460,9 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1298,27 +1515,53 @@ golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.2.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.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o= golang.org/x/sys v0.19.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/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1327,8 +1570,10 @@ golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +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/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1393,14 +1638,22 @@ golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0= @@ -1427,6 +1680,35 @@ google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz513 google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= +google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= +google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= +google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= +google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI= +google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I= +google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo= +google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g= +google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA= +google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8= +google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs= +google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA= +google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw= +google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg= +google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o= +google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g= +google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw= +google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI= +google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= +google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= google.golang.org/api v0.169.0 h1:QwWPy71FgMWqJN/l6jVlFHUa29a7dcUy02I8o799nPY= google.golang.org/api v0.169.0/go.mod h1:gpNOiMA2tZ4mf5R9Iwf4rK/Dcz0fbdIgWYWVoxmsyLg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= @@ -1482,7 +1764,73 @@ google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= +google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= +google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= +google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= +google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA= +google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE= +google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc= +google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk= +google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo= +google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw= +google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI= +google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= +google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= +google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y= google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s= google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4= @@ -1509,8 +1857,27 @@ google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTp google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +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.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= +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= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1523,6 +1890,9 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +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= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= @@ -1532,6 +1902,7 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= diff --git a/mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go b/mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go index 6a52c1df8..bba31b087 100644 --- a/mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go +++ b/mocks/github.com/dymensionxyz/dymint/da/avail/mock_SubstrateApiI.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package avail diff --git a/mocks/github.com/dymensionxyz/dymint/da/celestia/types/mock_CelestiaRPCClient.go b/mocks/github.com/dymensionxyz/dymint/da/celestia/types/mock_CelestiaRPCClient.go index 4935cc66a..5994cf817 100644 --- a/mocks/github.com/dymensionxyz/dymint/da/celestia/types/mock_CelestiaRPCClient.go +++ b/mocks/github.com/dymensionxyz/dymint/da/celestia/types/mock_CelestiaRPCClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package types diff --git a/mocks/github.com/dymensionxyz/dymint/da/mock_DataAvailabilityLayerClient.go b/mocks/github.com/dymensionxyz/dymint/da/mock_DataAvailabilityLayerClient.go index 75727dd5e..1480d557c 100644 --- a/mocks/github.com/dymensionxyz/dymint/da/mock_DataAvailabilityLayerClient.go +++ b/mocks/github.com/dymensionxyz/dymint/da/mock_DataAvailabilityLayerClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package da diff --git a/mocks/github.com/dymensionxyz/dymint/settlement/dymension/mock_CosmosClient.go b/mocks/github.com/dymensionxyz/dymint/settlement/dymension/mock_CosmosClient.go index 408bfdec0..bebd10ade 100644 --- a/mocks/github.com/dymensionxyz/dymint/settlement/dymension/mock_CosmosClient.go +++ b/mocks/github.com/dymensionxyz/dymint/settlement/dymension/mock_CosmosClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package dymension @@ -15,7 +15,7 @@ import ( mock "github.com/stretchr/testify/mock" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" + rollapp "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" @@ -255,19 +255,19 @@ func (_c *MockCosmosClient_GetAccount_Call) RunAndReturn(run func(string) (cosmo } // GetRollappClient provides a mock function with given fields: -func (_m *MockCosmosClient) GetRollappClient() rollapptypes.QueryClient { +func (_m *MockCosmosClient) GetRollappClient() rollapp.QueryClient { ret := _m.Called() if len(ret) == 0 { panic("no return value specified for GetRollappClient") } - var r0 rollapptypes.QueryClient - if rf, ok := ret.Get(0).(func() rollapptypes.QueryClient); ok { + var r0 rollapp.QueryClient + if rf, ok := ret.Get(0).(func() rollapp.QueryClient); ok { r0 = rf() } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(rollapptypes.QueryClient) + r0 = ret.Get(0).(rollapp.QueryClient) } } @@ -291,12 +291,12 @@ func (_c *MockCosmosClient_GetRollappClient_Call) Run(run func()) *MockCosmosCli return _c } -func (_c *MockCosmosClient_GetRollappClient_Call) Return(_a0 rollapptypes.QueryClient) *MockCosmosClient_GetRollappClient_Call { +func (_c *MockCosmosClient_GetRollappClient_Call) Return(_a0 rollapp.QueryClient) *MockCosmosClient_GetRollappClient_Call { _c.Call.Return(_a0) return _c } -func (_c *MockCosmosClient_GetRollappClient_Call) RunAndReturn(run func() rollapptypes.QueryClient) *MockCosmosClient_GetRollappClient_Call { +func (_c *MockCosmosClient_GetRollappClient_Call) RunAndReturn(run func() rollapp.QueryClient) *MockCosmosClient_GetRollappClient_Call { _c.Call.Return(run) return _c } diff --git a/mocks/github.com/dymensionxyz/dymint/settlement/mock_ClientI.go b/mocks/github.com/dymensionxyz/dymint/settlement/mock_ClientI.go index a4901beeb..e71cc9d27 100644 --- a/mocks/github.com/dymensionxyz/dymint/settlement/mock_ClientI.go +++ b/mocks/github.com/dymensionxyz/dymint/settlement/mock_ClientI.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package settlement diff --git a/mocks/github.com/dymensionxyz/dymint/store/mock_Store.go b/mocks/github.com/dymensionxyz/dymint/store/mock_Store.go index 4ca1b3e4c..3a1678d0a 100644 --- a/mocks/github.com/dymensionxyz/dymint/store/mock_Store.go +++ b/mocks/github.com/dymensionxyz/dymint/store/mock_Store.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package store diff --git a/mocks/github.com/dymensionxyz/dymension/v3/x/sequencer/types/mock_QueryClient.go b/mocks/github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types/mock_QueryClient.go similarity index 99% rename from mocks/github.com/dymensionxyz/dymension/v3/x/sequencer/types/mock_QueryClient.go rename to mocks/github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types/mock_QueryClient.go index fed52c6c5..6b16285aa 100644 --- a/mocks/github.com/dymensionxyz/dymension/v3/x/sequencer/types/mock_QueryClient.go +++ b/mocks/github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types/mock_QueryClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package types diff --git a/mocks/github.com/dymensionxyz/dymension/v3/x/rollapp/types/mock_QueryClient.go b/mocks/github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp/mock_QueryClient.go similarity index 57% rename from mocks/github.com/dymensionxyz/dymension/v3/x/rollapp/types/mock_QueryClient.go rename to mocks/github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp/mock_QueryClient.go index 8c6d0ed78..f182218a5 100644 --- a/mocks/github.com/dymensionxyz/dymension/v3/x/rollapp/types/mock_QueryClient.go +++ b/mocks/github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp/mock_QueryClient.go @@ -1,6 +1,6 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. -package types +package rollapp import ( context "context" @@ -9,7 +9,7 @@ import ( mock "github.com/stretchr/testify/mock" - types "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" + rollapp "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) // MockQueryClient is an autogenerated mock type for the QueryClient type @@ -26,7 +26,7 @@ func (_m *MockQueryClient) EXPECT() *MockQueryClient_Expecter { } // LatestHeight provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) LatestHeight(ctx context.Context, in *types.QueryGetLatestHeightRequest, opts ...grpc.CallOption) (*types.QueryGetLatestHeightResponse, error) { +func (_m *MockQueryClient) LatestHeight(ctx context.Context, in *rollapp.QueryGetLatestHeightRequest, opts ...grpc.CallOption) (*rollapp.QueryGetLatestHeightResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -40,20 +40,20 @@ func (_m *MockQueryClient) LatestHeight(ctx context.Context, in *types.QueryGetL panic("no return value specified for LatestHeight") } - var r0 *types.QueryGetLatestHeightResponse + var r0 *rollapp.QueryGetLatestHeightResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetLatestHeightRequest, ...grpc.CallOption) (*types.QueryGetLatestHeightResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetLatestHeightRequest, ...grpc.CallOption) (*rollapp.QueryGetLatestHeightResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetLatestHeightRequest, ...grpc.CallOption) *types.QueryGetLatestHeightResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetLatestHeightRequest, ...grpc.CallOption) *rollapp.QueryGetLatestHeightResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetLatestHeightResponse) + r0 = ret.Get(0).(*rollapp.QueryGetLatestHeightResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetLatestHeightRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryGetLatestHeightRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -69,14 +69,14 @@ type MockQueryClient_LatestHeight_Call struct { // LatestHeight is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryGetLatestHeightRequest +// - in *rollapp.QueryGetLatestHeightRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) LatestHeight(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_LatestHeight_Call { return &MockQueryClient_LatestHeight_Call{Call: _e.mock.On("LatestHeight", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_LatestHeight_Call) Run(run func(ctx context.Context, in *types.QueryGetLatestHeightRequest, opts ...grpc.CallOption)) *MockQueryClient_LatestHeight_Call { +func (_c *MockQueryClient_LatestHeight_Call) Run(run func(ctx context.Context, in *rollapp.QueryGetLatestHeightRequest, opts ...grpc.CallOption)) *MockQueryClient_LatestHeight_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -84,23 +84,23 @@ func (_c *MockQueryClient_LatestHeight_Call) Run(run func(ctx context.Context, i variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryGetLatestHeightRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryGetLatestHeightRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_LatestHeight_Call) Return(_a0 *types.QueryGetLatestHeightResponse, _a1 error) *MockQueryClient_LatestHeight_Call { +func (_c *MockQueryClient_LatestHeight_Call) Return(_a0 *rollapp.QueryGetLatestHeightResponse, _a1 error) *MockQueryClient_LatestHeight_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_LatestHeight_Call) RunAndReturn(run func(context.Context, *types.QueryGetLatestHeightRequest, ...grpc.CallOption) (*types.QueryGetLatestHeightResponse, error)) *MockQueryClient_LatestHeight_Call { +func (_c *MockQueryClient_LatestHeight_Call) RunAndReturn(run func(context.Context, *rollapp.QueryGetLatestHeightRequest, ...grpc.CallOption) (*rollapp.QueryGetLatestHeightResponse, error)) *MockQueryClient_LatestHeight_Call { _c.Call.Return(run) return _c } // LatestStateIndex provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) LatestStateIndex(ctx context.Context, in *types.QueryGetLatestStateIndexRequest, opts ...grpc.CallOption) (*types.QueryGetLatestStateIndexResponse, error) { +func (_m *MockQueryClient) LatestStateIndex(ctx context.Context, in *rollapp.QueryGetLatestStateIndexRequest, opts ...grpc.CallOption) (*rollapp.QueryGetLatestStateIndexResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -114,20 +114,20 @@ func (_m *MockQueryClient) LatestStateIndex(ctx context.Context, in *types.Query panic("no return value specified for LatestStateIndex") } - var r0 *types.QueryGetLatestStateIndexResponse + var r0 *rollapp.QueryGetLatestStateIndexResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetLatestStateIndexRequest, ...grpc.CallOption) (*types.QueryGetLatestStateIndexResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetLatestStateIndexRequest, ...grpc.CallOption) (*rollapp.QueryGetLatestStateIndexResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetLatestStateIndexRequest, ...grpc.CallOption) *types.QueryGetLatestStateIndexResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetLatestStateIndexRequest, ...grpc.CallOption) *rollapp.QueryGetLatestStateIndexResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetLatestStateIndexResponse) + r0 = ret.Get(0).(*rollapp.QueryGetLatestStateIndexResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetLatestStateIndexRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryGetLatestStateIndexRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -143,14 +143,14 @@ type MockQueryClient_LatestStateIndex_Call struct { // LatestStateIndex is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryGetLatestStateIndexRequest +// - in *rollapp.QueryGetLatestStateIndexRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) LatestStateIndex(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_LatestStateIndex_Call { return &MockQueryClient_LatestStateIndex_Call{Call: _e.mock.On("LatestStateIndex", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_LatestStateIndex_Call) Run(run func(ctx context.Context, in *types.QueryGetLatestStateIndexRequest, opts ...grpc.CallOption)) *MockQueryClient_LatestStateIndex_Call { +func (_c *MockQueryClient_LatestStateIndex_Call) Run(run func(ctx context.Context, in *rollapp.QueryGetLatestStateIndexRequest, opts ...grpc.CallOption)) *MockQueryClient_LatestStateIndex_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -158,23 +158,23 @@ func (_c *MockQueryClient_LatestStateIndex_Call) Run(run func(ctx context.Contex variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryGetLatestStateIndexRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryGetLatestStateIndexRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_LatestStateIndex_Call) Return(_a0 *types.QueryGetLatestStateIndexResponse, _a1 error) *MockQueryClient_LatestStateIndex_Call { +func (_c *MockQueryClient_LatestStateIndex_Call) Return(_a0 *rollapp.QueryGetLatestStateIndexResponse, _a1 error) *MockQueryClient_LatestStateIndex_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_LatestStateIndex_Call) RunAndReturn(run func(context.Context, *types.QueryGetLatestStateIndexRequest, ...grpc.CallOption) (*types.QueryGetLatestStateIndexResponse, error)) *MockQueryClient_LatestStateIndex_Call { +func (_c *MockQueryClient_LatestStateIndex_Call) RunAndReturn(run func(context.Context, *rollapp.QueryGetLatestStateIndexRequest, ...grpc.CallOption) (*rollapp.QueryGetLatestStateIndexResponse, error)) *MockQueryClient_LatestStateIndex_Call { _c.Call.Return(run) return _c } // Params provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error) { +func (_m *MockQueryClient) Params(ctx context.Context, in *rollapp.QueryParamsRequest, opts ...grpc.CallOption) (*rollapp.QueryParamsResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -188,20 +188,20 @@ func (_m *MockQueryClient) Params(ctx context.Context, in *types.QueryParamsRequ panic("no return value specified for Params") } - var r0 *types.QueryParamsResponse + var r0 *rollapp.QueryParamsResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) (*types.QueryParamsResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryParamsRequest, ...grpc.CallOption) (*rollapp.QueryParamsResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) *types.QueryParamsResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryParamsRequest, ...grpc.CallOption) *rollapp.QueryParamsResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryParamsResponse) + r0 = ret.Get(0).(*rollapp.QueryParamsResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryParamsRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -217,14 +217,14 @@ type MockQueryClient_Params_Call struct { // Params is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryParamsRequest +// - in *rollapp.QueryParamsRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_Params_Call { return &MockQueryClient_Params_Call{Call: _e.mock.On("Params", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_Params_Call) Run(run func(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption)) *MockQueryClient_Params_Call { +func (_c *MockQueryClient_Params_Call) Run(run func(ctx context.Context, in *rollapp.QueryParamsRequest, opts ...grpc.CallOption)) *MockQueryClient_Params_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -232,23 +232,23 @@ func (_c *MockQueryClient_Params_Call) Run(run func(ctx context.Context, in *typ variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryParamsRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryParamsRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_Params_Call) Return(_a0 *types.QueryParamsResponse, _a1 error) *MockQueryClient_Params_Call { +func (_c *MockQueryClient_Params_Call) Return(_a0 *rollapp.QueryParamsResponse, _a1 error) *MockQueryClient_Params_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_Params_Call) RunAndReturn(run func(context.Context, *types.QueryParamsRequest, ...grpc.CallOption) (*types.QueryParamsResponse, error)) *MockQueryClient_Params_Call { +func (_c *MockQueryClient_Params_Call) RunAndReturn(run func(context.Context, *rollapp.QueryParamsRequest, ...grpc.CallOption) (*rollapp.QueryParamsResponse, error)) *MockQueryClient_Params_Call { _c.Call.Return(run) return _c } // Rollapp provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) Rollapp(ctx context.Context, in *types.QueryGetRollappRequest, opts ...grpc.CallOption) (*types.QueryGetRollappResponse, error) { +func (_m *MockQueryClient) Rollapp(ctx context.Context, in *rollapp.QueryGetRollappRequest, opts ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -262,20 +262,20 @@ func (_m *MockQueryClient) Rollapp(ctx context.Context, in *types.QueryGetRollap panic("no return value specified for Rollapp") } - var r0 *types.QueryGetRollappResponse + var r0 *rollapp.QueryGetRollappResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetRollappRequest, ...grpc.CallOption) (*types.QueryGetRollappResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetRollappRequest, ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetRollappRequest, ...grpc.CallOption) *types.QueryGetRollappResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetRollappRequest, ...grpc.CallOption) *rollapp.QueryGetRollappResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetRollappResponse) + r0 = ret.Get(0).(*rollapp.QueryGetRollappResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetRollappRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryGetRollappRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -291,14 +291,14 @@ type MockQueryClient_Rollapp_Call struct { // Rollapp is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryGetRollappRequest +// - in *rollapp.QueryGetRollappRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) Rollapp(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_Rollapp_Call { return &MockQueryClient_Rollapp_Call{Call: _e.mock.On("Rollapp", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_Rollapp_Call) Run(run func(ctx context.Context, in *types.QueryGetRollappRequest, opts ...grpc.CallOption)) *MockQueryClient_Rollapp_Call { +func (_c *MockQueryClient_Rollapp_Call) Run(run func(ctx context.Context, in *rollapp.QueryGetRollappRequest, opts ...grpc.CallOption)) *MockQueryClient_Rollapp_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -306,23 +306,23 @@ func (_c *MockQueryClient_Rollapp_Call) Run(run func(ctx context.Context, in *ty variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryGetRollappRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryGetRollappRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_Rollapp_Call) Return(_a0 *types.QueryGetRollappResponse, _a1 error) *MockQueryClient_Rollapp_Call { +func (_c *MockQueryClient_Rollapp_Call) Return(_a0 *rollapp.QueryGetRollappResponse, _a1 error) *MockQueryClient_Rollapp_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_Rollapp_Call) RunAndReturn(run func(context.Context, *types.QueryGetRollappRequest, ...grpc.CallOption) (*types.QueryGetRollappResponse, error)) *MockQueryClient_Rollapp_Call { +func (_c *MockQueryClient_Rollapp_Call) RunAndReturn(run func(context.Context, *rollapp.QueryGetRollappRequest, ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error)) *MockQueryClient_Rollapp_Call { _c.Call.Return(run) return _c } // RollappAll provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) RollappAll(ctx context.Context, in *types.QueryAllRollappRequest, opts ...grpc.CallOption) (*types.QueryAllRollappResponse, error) { +func (_m *MockQueryClient) RollappAll(ctx context.Context, in *rollapp.QueryAllRollappRequest, opts ...grpc.CallOption) (*rollapp.QueryAllRollappResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -336,20 +336,20 @@ func (_m *MockQueryClient) RollappAll(ctx context.Context, in *types.QueryAllRol panic("no return value specified for RollappAll") } - var r0 *types.QueryAllRollappResponse + var r0 *rollapp.QueryAllRollappResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryAllRollappRequest, ...grpc.CallOption) (*types.QueryAllRollappResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryAllRollappRequest, ...grpc.CallOption) (*rollapp.QueryAllRollappResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryAllRollappRequest, ...grpc.CallOption) *types.QueryAllRollappResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryAllRollappRequest, ...grpc.CallOption) *rollapp.QueryAllRollappResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryAllRollappResponse) + r0 = ret.Get(0).(*rollapp.QueryAllRollappResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryAllRollappRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryAllRollappRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -365,14 +365,14 @@ type MockQueryClient_RollappAll_Call struct { // RollappAll is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryAllRollappRequest +// - in *rollapp.QueryAllRollappRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) RollappAll(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_RollappAll_Call { return &MockQueryClient_RollappAll_Call{Call: _e.mock.On("RollappAll", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_RollappAll_Call) Run(run func(ctx context.Context, in *types.QueryAllRollappRequest, opts ...grpc.CallOption)) *MockQueryClient_RollappAll_Call { +func (_c *MockQueryClient_RollappAll_Call) Run(run func(ctx context.Context, in *rollapp.QueryAllRollappRequest, opts ...grpc.CallOption)) *MockQueryClient_RollappAll_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -380,23 +380,23 @@ func (_c *MockQueryClient_RollappAll_Call) Run(run func(ctx context.Context, in variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryAllRollappRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryAllRollappRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_RollappAll_Call) Return(_a0 *types.QueryAllRollappResponse, _a1 error) *MockQueryClient_RollappAll_Call { +func (_c *MockQueryClient_RollappAll_Call) Return(_a0 *rollapp.QueryAllRollappResponse, _a1 error) *MockQueryClient_RollappAll_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_RollappAll_Call) RunAndReturn(run func(context.Context, *types.QueryAllRollappRequest, ...grpc.CallOption) (*types.QueryAllRollappResponse, error)) *MockQueryClient_RollappAll_Call { +func (_c *MockQueryClient_RollappAll_Call) RunAndReturn(run func(context.Context, *rollapp.QueryAllRollappRequest, ...grpc.CallOption) (*rollapp.QueryAllRollappResponse, error)) *MockQueryClient_RollappAll_Call { _c.Call.Return(run) return _c } // RollappByEIP155 provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) RollappByEIP155(ctx context.Context, in *types.QueryGetRollappByEIP155Request, opts ...grpc.CallOption) (*types.QueryGetRollappResponse, error) { +func (_m *MockQueryClient) RollappByEIP155(ctx context.Context, in *rollapp.QueryGetRollappByEIP155Request, opts ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -410,20 +410,20 @@ func (_m *MockQueryClient) RollappByEIP155(ctx context.Context, in *types.QueryG panic("no return value specified for RollappByEIP155") } - var r0 *types.QueryGetRollappResponse + var r0 *rollapp.QueryGetRollappResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetRollappByEIP155Request, ...grpc.CallOption) (*types.QueryGetRollappResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetRollappByEIP155Request, ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetRollappByEIP155Request, ...grpc.CallOption) *types.QueryGetRollappResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetRollappByEIP155Request, ...grpc.CallOption) *rollapp.QueryGetRollappResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetRollappResponse) + r0 = ret.Get(0).(*rollapp.QueryGetRollappResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetRollappByEIP155Request, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryGetRollappByEIP155Request, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -439,14 +439,14 @@ type MockQueryClient_RollappByEIP155_Call struct { // RollappByEIP155 is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryGetRollappByEIP155Request +// - in *rollapp.QueryGetRollappByEIP155Request // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) RollappByEIP155(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_RollappByEIP155_Call { return &MockQueryClient_RollappByEIP155_Call{Call: _e.mock.On("RollappByEIP155", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_RollappByEIP155_Call) Run(run func(ctx context.Context, in *types.QueryGetRollappByEIP155Request, opts ...grpc.CallOption)) *MockQueryClient_RollappByEIP155_Call { +func (_c *MockQueryClient_RollappByEIP155_Call) Run(run func(ctx context.Context, in *rollapp.QueryGetRollappByEIP155Request, opts ...grpc.CallOption)) *MockQueryClient_RollappByEIP155_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -454,23 +454,23 @@ func (_c *MockQueryClient_RollappByEIP155_Call) Run(run func(ctx context.Context variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryGetRollappByEIP155Request), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryGetRollappByEIP155Request), variadicArgs...) }) return _c } -func (_c *MockQueryClient_RollappByEIP155_Call) Return(_a0 *types.QueryGetRollappResponse, _a1 error) *MockQueryClient_RollappByEIP155_Call { +func (_c *MockQueryClient_RollappByEIP155_Call) Return(_a0 *rollapp.QueryGetRollappResponse, _a1 error) *MockQueryClient_RollappByEIP155_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_RollappByEIP155_Call) RunAndReturn(run func(context.Context, *types.QueryGetRollappByEIP155Request, ...grpc.CallOption) (*types.QueryGetRollappResponse, error)) *MockQueryClient_RollappByEIP155_Call { +func (_c *MockQueryClient_RollappByEIP155_Call) RunAndReturn(run func(context.Context, *rollapp.QueryGetRollappByEIP155Request, ...grpc.CallOption) (*rollapp.QueryGetRollappResponse, error)) *MockQueryClient_RollappByEIP155_Call { _c.Call.Return(run) return _c } // StateInfo provides a mock function with given fields: ctx, in, opts -func (_m *MockQueryClient) StateInfo(ctx context.Context, in *types.QueryGetStateInfoRequest, opts ...grpc.CallOption) (*types.QueryGetStateInfoResponse, error) { +func (_m *MockQueryClient) StateInfo(ctx context.Context, in *rollapp.QueryGetStateInfoRequest, opts ...grpc.CallOption) (*rollapp.QueryGetStateInfoResponse, error) { _va := make([]interface{}, len(opts)) for _i := range opts { _va[_i] = opts[_i] @@ -484,20 +484,20 @@ func (_m *MockQueryClient) StateInfo(ctx context.Context, in *types.QueryGetStat panic("no return value specified for StateInfo") } - var r0 *types.QueryGetStateInfoResponse + var r0 *rollapp.QueryGetStateInfoResponse var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetStateInfoRequest, ...grpc.CallOption) (*types.QueryGetStateInfoResponse, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetStateInfoRequest, ...grpc.CallOption) (*rollapp.QueryGetStateInfoResponse, error)); ok { return rf(ctx, in, opts...) } - if rf, ok := ret.Get(0).(func(context.Context, *types.QueryGetStateInfoRequest, ...grpc.CallOption) *types.QueryGetStateInfoResponse); ok { + if rf, ok := ret.Get(0).(func(context.Context, *rollapp.QueryGetStateInfoRequest, ...grpc.CallOption) *rollapp.QueryGetStateInfoResponse); ok { r0 = rf(ctx, in, opts...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*types.QueryGetStateInfoResponse) + r0 = ret.Get(0).(*rollapp.QueryGetStateInfoResponse) } } - if rf, ok := ret.Get(1).(func(context.Context, *types.QueryGetStateInfoRequest, ...grpc.CallOption) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *rollapp.QueryGetStateInfoRequest, ...grpc.CallOption) error); ok { r1 = rf(ctx, in, opts...) } else { r1 = ret.Error(1) @@ -513,14 +513,14 @@ type MockQueryClient_StateInfo_Call struct { // StateInfo is a helper method to define mock.On call // - ctx context.Context -// - in *types.QueryGetStateInfoRequest +// - in *rollapp.QueryGetStateInfoRequest // - opts ...grpc.CallOption func (_e *MockQueryClient_Expecter) StateInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockQueryClient_StateInfo_Call { return &MockQueryClient_StateInfo_Call{Call: _e.mock.On("StateInfo", append([]interface{}{ctx, in}, opts...)...)} } -func (_c *MockQueryClient_StateInfo_Call) Run(run func(ctx context.Context, in *types.QueryGetStateInfoRequest, opts ...grpc.CallOption)) *MockQueryClient_StateInfo_Call { +func (_c *MockQueryClient_StateInfo_Call) Run(run func(ctx context.Context, in *rollapp.QueryGetStateInfoRequest, opts ...grpc.CallOption)) *MockQueryClient_StateInfo_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]grpc.CallOption, len(args)-2) for i, a := range args[2:] { @@ -528,17 +528,17 @@ func (_c *MockQueryClient_StateInfo_Call) Run(run func(ctx context.Context, in * variadicArgs[i] = a.(grpc.CallOption) } } - run(args[0].(context.Context), args[1].(*types.QueryGetStateInfoRequest), variadicArgs...) + run(args[0].(context.Context), args[1].(*rollapp.QueryGetStateInfoRequest), variadicArgs...) }) return _c } -func (_c *MockQueryClient_StateInfo_Call) Return(_a0 *types.QueryGetStateInfoResponse, _a1 error) *MockQueryClient_StateInfo_Call { +func (_c *MockQueryClient_StateInfo_Call) Return(_a0 *rollapp.QueryGetStateInfoResponse, _a1 error) *MockQueryClient_StateInfo_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockQueryClient_StateInfo_Call) RunAndReturn(run func(context.Context, *types.QueryGetStateInfoRequest, ...grpc.CallOption) (*types.QueryGetStateInfoResponse, error)) *MockQueryClient_StateInfo_Call { +func (_c *MockQueryClient_StateInfo_Call) RunAndReturn(run func(context.Context, *rollapp.QueryGetStateInfoRequest, ...grpc.CallOption) (*rollapp.QueryGetStateInfoResponse, error)) *MockQueryClient_StateInfo_Call { _c.Call.Return(run) return _c } diff --git a/mocks/github.com/tendermint/tendermint/abci/types/mock_Application.go b/mocks/github.com/tendermint/tendermint/abci/types/mock_Application.go index 7393ef94e..45011bdc9 100644 --- a/mocks/github.com/tendermint/tendermint/abci/types/mock_Application.go +++ b/mocks/github.com/tendermint/tendermint/abci/types/mock_Application.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package types diff --git a/mocks/github.com/tendermint/tendermint/proxy/mock_AppConnConsensus.go b/mocks/github.com/tendermint/tendermint/proxy/mock_AppConnConsensus.go index 9ec6b2d18..9a28054e1 100644 --- a/mocks/github.com/tendermint/tendermint/proxy/mock_AppConnConsensus.go +++ b/mocks/github.com/tendermint/tendermint/proxy/mock_AppConnConsensus.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package proxy diff --git a/mocks/github.com/tendermint/tendermint/proxy/mock_AppConns.go b/mocks/github.com/tendermint/tendermint/proxy/mock_AppConns.go index affc90a4e..120c2f698 100644 --- a/mocks/github.com/tendermint/tendermint/proxy/mock_AppConns.go +++ b/mocks/github.com/tendermint/tendermint/proxy/mock_AppConns.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.42.3. DO NOT EDIT. +// Code generated by mockery v2.46.0. DO NOT EDIT. package proxy diff --git a/proto/gen.sh b/proto/gen.sh index 15446efd5..20762a13b 100755 --- a/proto/gen.sh +++ b/proto/gen.sh @@ -19,16 +19,9 @@ for d in ./proto/* ; do done -# Iterate over the target dirs and delete the current contents -for TARGET_DIR in $TARGETS; do - echo "Deleting contents of $TARGET_DIR" - rm -rf $TARGET_DIR/* -done - # Generate proto files to ./proto/pb cd $SCRIPT_DIR mkdir -p ./proto/pb -rm -rf $TARGET_DIR/* protoVer=v0.7 protoImageName=tendermintdev/sdk-proto-gen:$protoVer @@ -39,7 +32,7 @@ docker run -v $PWD:/workspace --workdir /workspace $protoImageName sh ./proto/pr for TARGET_DIR in $TARGETS; do echo "Copying generated proto files to $TARGET_DIR" TARGET_DIR_BASE_DIR=$(echo "$TARGET_DIR" | cut -d "/" -f2) - cp -r ./proto/pb/$TARGET_DIR_BASE_DIR/* $TARGET_DIR + cp -rf ./proto/pb/$TARGET_DIR_BASE_DIR/* $TARGET_DIR done echo "Deleting proto pb dir" diff --git a/proto/get_deps.sh b/proto/get_deps.sh index 40c6558d4..7cb49ef73 100755 --- a/proto/get_deps.sh +++ b/proto/get_deps.sh @@ -31,6 +31,7 @@ COSMOS_PROTO_URL=https://raw.githubusercontent.com/cosmos/cosmos-sdk/$COSMOS_VER COSMOS_PROTO_FILES=( base/v1beta1/coin.proto + base/query/v1beta1/pagination.proto msg/v1/msg.proto ) diff --git a/proto/protoc.sh b/proto/protoc.sh index 6e676b8ac..4b23b9743 100755 --- a/proto/protoc.sh +++ b/proto/protoc.sh @@ -6,6 +6,7 @@ set -eo pipefail buf generate --path="./proto/types/dalc" --template="buf.gen.yaml" --config="buf.yaml" buf generate --path="./proto/types/dymint" --template="buf.gen.yaml" --config="buf.yaml" buf generate --path="./proto/types/interchain_da" --template="buf.gen.yaml" --config="buf.yaml" +buf generate --path="./proto/types/dymensionxyz" --template="buf.gen.yaml" --config="buf.yaml" # Generate the `test` proto files buf generate --path="./proto/test" --template="buf.gen.yaml" --config="buf.yaml" diff --git a/proto/types/cosmos/base/query/v1beta1/pagination.proto b/proto/types/cosmos/base/query/v1beta1/pagination.proto new file mode 100644 index 000000000..0a368144a --- /dev/null +++ b/proto/types/cosmos/base/query/v1beta1/pagination.proto @@ -0,0 +1,56 @@ +syntax = "proto3"; +package cosmos.base.query.v1beta1; + +option go_package = "github.com/cosmos/cosmos-sdk/types/query"; + +// PageRequest is to be embedded in gRPC request messages for efficient +// pagination. Ex: +// +// message SomeRequest { +// Foo some_parameter = 1; +// PageRequest pagination = 2; +// } +message PageRequest { + // key is a value returned in PageResponse.next_key to begin + // querying the next page most efficiently. Only one of offset or key + // should be set. + bytes key = 1; + + // offset is a numeric offset that can be used when key is unavailable. + // It is less efficient than using key. Only one of offset or key should + // be set. + uint64 offset = 2; + + // limit is the total number of results to be returned in the result page. + // If left empty it will default to a value to be set by each app. + uint64 limit = 3; + + // count_total is set to true to indicate that the result set should include + // a count of the total number of items available for pagination in UIs. + // count_total is only respected when offset is used. It is ignored when key + // is set. + bool count_total = 4; + + // reverse is set to true if results are to be returned in the descending order. + // + // Since: cosmos-sdk 0.43 + bool reverse = 5; +} + +// PageResponse is to be embedded in gRPC response messages where the +// corresponding request message has used PageRequest. +// +// message SomeResponse { +// repeated Bar results = 1; +// PageResponse page = 2; +// } +message PageResponse { + // next_key is the key to be passed to PageRequest.key to + // query the next page most efficiently. It will be empty if + // there are no more results. + bytes next_key = 1; + + // total is total number of results available if PageRequest.count_total + // was set, its value is undefined otherwise + uint64 total = 2; +} diff --git a/proto/types/dymensionxyz/dymension/common/status.proto b/proto/types/dymensionxyz/dymension/common/status.proto new file mode 100644 index 000000000..fab40d64a --- /dev/null +++ b/proto/types/dymensionxyz/dymension/common/status.proto @@ -0,0 +1,15 @@ +// This file is a modified copy of the common module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/common/. + +syntax = "proto3"; +package dymensionxyz.dymension.common; + +import "gogoproto/gogo.proto"; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/common"; + +enum Status { + PENDING = 0; + FINALIZED = 1; + REVERTED = 3; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/app.proto b/proto/types/dymensionxyz/dymension/rollapp/app.proto new file mode 100644 index 000000000..f85c3d427 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/app.proto @@ -0,0 +1,24 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +message App { + // id is the unique App's id in the Rollapp + uint64 id = 1; + // name is the unique App's name + string name = 2; + // rollapp_id is the id of the Rollapp the App belongs to + string rollapp_id = 3; + // description is the description of the App + string description = 4; + // image_url is the URL to the App's image + string image_url = 5; + // url is the URL to the App's website + string url = 6; + // order is the order of the App in the Rollapp + int32 order = 7; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/block_descriptor.proto b/proto/types/dymensionxyz/dymension/rollapp/block_descriptor.proto new file mode 100644 index 000000000..b48ceaba0 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/block_descriptor.proto @@ -0,0 +1,26 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; + + +// BlockDescriptor defines a single rollapp chain block description. +message BlockDescriptor { + // height is the height of the block + uint64 height = 1; + // stateRoot is a 32 byte array of the hash of the block (state root of the block) + bytes stateRoot = 2; + // timestamp is the time from the block header + google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; +} + +// BlockDescriptors defines list of BlockDescriptor. +message BlockDescriptors { + repeated BlockDescriptor BD = 1 [(gogoproto.nullable) = false]; +} \ No newline at end of file diff --git a/proto/types/dymensionxyz/dymension/rollapp/genesis.proto b/proto/types/dymensionxyz/dymension/rollapp/genesis.proto new file mode 100644 index 000000000..03ededd4f --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/genesis.proto @@ -0,0 +1,26 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "types/dymensionxyz/dymension/rollapp/params.proto"; +import "types/dymensionxyz/dymension/rollapp/rollapp.proto"; +import "types/dymensionxyz/dymension/rollapp/state_info.proto"; +import "types/dymensionxyz/dymension/rollapp/genesis_transfer.proto"; +import "types/dymensionxyz/dymension/rollapp/liveness.proto"; + +// GenesisState defines the rollapp module's genesis state. +message GenesisState { + Params params = 1 [(gogoproto.nullable) = false]; + repeated Rollapp rollappList = 2 [(gogoproto.nullable) = false]; + repeated StateInfo stateInfoList = 3 [(gogoproto.nullable) = false]; + repeated StateInfoIndex latestStateInfoIndexList = 4 [(gogoproto.nullable) = false]; + repeated StateInfoIndex latestFinalizedStateIndexList = 5 [(gogoproto.nullable) = false]; + repeated BlockHeightToFinalizationQueue blockHeightToFinalizationQueueList = 6 [(gogoproto.nullable) = false]; + // LivenessEvents are scheduled upcoming liveness events + repeated LivenessEvent livenessEvents = 7 [(gogoproto.nullable) = false]; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/genesis_transfer.proto b/proto/types/dymensionxyz/dymension/rollapp/genesis_transfer.proto new file mode 100644 index 000000000..092d197b7 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/genesis_transfer.proto @@ -0,0 +1,25 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +import "gogoproto/gogo.proto"; +import "types/dymensionxyz/dymension/rollapp/params.proto"; +import "types/dymensionxyz/dymension/rollapp/rollapp.proto"; +import "types/dymensionxyz/dymension/rollapp/state_info.proto"; +// this line is used by starport scaffolding # genesis/proto/import + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +// Not to get confused with 'genesis', genesis transfers refers to the specific protocol of bootstrapping ibc denominated tokens for the RA + +// Bookkeeping for the genesis transfer bridge protocol. +// Each rollapp will have one of these items corresponding to it. +message GenesisTransfers { + string rollappID = 1; + // The total number of incoming ibc transfers to be fast tracked in the genesis transfer period + uint64 numTotal = 2; + // The number of transfers already processed, when this number reaches numTotal the genesis transfer window closes. + uint64 numReceived = 3; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/liveness.proto b/proto/types/dymensionxyz/dymension/rollapp/liveness.proto new file mode 100644 index 000000000..4d7299e34 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/liveness.proto @@ -0,0 +1,21 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "types/dymensionxyz/dymension/rollapp/state_info.proto"; +import "types/cosmos/base/v1beta1/coin.proto"; + +// LivenessEvent stores upcoming slash/jail actions on sequencers of rollapps +message LivenessEvent { + // RollappId of relevant rollapp + string rollapp_id = 1; + // HubHeight when event will occur + int64 hub_height = 2; + // IsJail is true iff the event is to jail rather than slash + bool is_jail = 3; +} \ No newline at end of file diff --git a/proto/types/dymensionxyz/dymension/rollapp/metadata.proto b/proto/types/dymensionxyz/dymension/rollapp/metadata.proto new file mode 100644 index 000000000..4ddeb9c91 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/metadata.proto @@ -0,0 +1,36 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +message RollappMetadata { + // website is the rollapp website + string website = 1; + // description is the rollapp description. should be limited to 512 chars + string description = 2; + // logo_url is the rollapp logo url + string logo_url = 3; + // telegram is the rollapp telegram link + string telegram = 4; + // x is the rollapp twitter link + string x = 5; + // genesis_url has the genesis file + string genesis_url = 6; + // display_name is a non semantic name for displaying on gui etc. Size limited. + string display_name = 7; + // tagline is a non semantic tagline/catch-phrase. Size limited. + string tagline = 8; + // explorer_url is the rollapp's block explorer link + string explorer_url = 9; + // fee_denom is the base denom for fees + DenomMetadata fee_denom = 10; +} + +message DenomMetadata { + string display = 1; + string base = 2; + uint32 exponent = 3; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/params.proto b/proto/types/dymensionxyz/dymension/rollapp/params.proto new file mode 100644 index 000000000..0b9061f47 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/params.proto @@ -0,0 +1,38 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "types/cosmos/base/v1beta1/coin.proto"; + +// Params defines the parameters for the module. +message Params { + option (gogoproto.goproto_stringer) = false; + + // dispute_period_in_blocks the number of blocks it takes + // to change a status of a state from received to finalized. + // during that period, any user could submit fraud proof + uint64 dispute_period_in_blocks = 1 + [ (gogoproto.moretags) = "yaml:\"dispute_period_in_blocks\"" ]; + + reserved 2,3; + + // The time (num hub blocks) a sequencer has to post a block, before he will be slashed + uint64 liveness_slash_blocks = 4 [(gogoproto.moretags) = "yaml:\"liveness_slash_blocks\""]; + // The min gap (num hub blocks) between a sequence of slashes if the sequencer continues to be down + uint64 liveness_slash_interval = 5 [(gogoproto.moretags) = "yaml:\"liveness_slash_interval\""]; + // The time (num hub blocks) a sequencer can be down after which he will be jailed rather than slashed + uint64 liveness_jail_blocks = 6 [(gogoproto.moretags) = "yaml:\"liveness_jail_blocks\""]; + // app_registration_fee is the fee for registering an App + cosmos.base.v1beta1.Coin app_registration_fee = 7 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"app_registration_fee\"" + ]; + // state_info_deletion_epoch_identifier is used to control the interval at which the state info records will be deleted. + string state_info_deletion_epoch_identifier = 8 + [ (gogoproto.moretags) = "yaml:\"state_info_deletion_epoch_identifier\"" ]; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/query.proto b/proto/types/dymensionxyz/dymension/rollapp/query.proto new file mode 100644 index 000000000..0473c49e3 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/query.proto @@ -0,0 +1,108 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "types/cosmos/base/query/v1beta1/pagination.proto"; +import "types/dymensionxyz/dymension/rollapp/params.proto"; +import "types/dymensionxyz/dymension/rollapp/rollapp.proto"; +import "types/dymensionxyz/dymension/rollapp/state_info.proto"; +import "types/dymensionxyz/dymension/rollapp/app.proto"; + +// Query defines the gRPC querier service. +service Query { + // Parameters queries the parameters of the module. + rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {} + // Queries a Rollapp by index. + rpc Rollapp(QueryGetRollappRequest) returns (QueryGetRollappResponse) {} + + // Queries a Rollapp by index. + rpc RollappByEIP155(QueryGetRollappByEIP155Request) + returns (QueryGetRollappResponse) {} + + // Queries a list of Rollapp items. + rpc RollappAll(QueryAllRollappRequest) returns (QueryAllRollappResponse) {} + + // Queries a LatestHeight by rollapp-id. + rpc LatestHeight(QueryGetLatestHeightRequest) + returns (QueryGetLatestHeightResponse) {} + + // Queries a LatestStateIndex by rollapp-id. + rpc LatestStateIndex(QueryGetLatestStateIndexRequest) + returns (QueryGetLatestStateIndexResponse) {} + + // Queries a StateInfo by index. + rpc StateInfo(QueryGetStateInfoRequest) returns (QueryGetStateInfoResponse) {} +} + +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + // params holds all the parameters of this module. + Params params = 1 [ (gogoproto.nullable) = false ]; +} + +message QueryGetRollappRequest { + string rollappId = 1; + // omit_apps is an optional flag to omit the list of apps in the response + bool omit_apps = 2; +} + +message QueryGetRollappByEIP155Request { + uint64 eip155 = 1; + // omit_apps is an optional flag to omit the list of apps in the response + bool omit_apps = 2; +} + +message QueryGetLatestHeightRequest { + string rollappId = 1; + bool finalized = 2; +} + +message QueryGetLatestHeightResponse { uint64 height = 1; } + +message QueryGetLatestStateIndexRequest { + string rollappId = 1; + bool finalized = 2; +} + +message QueryGetLatestStateIndexResponse { + StateInfoIndex stateIndex = 1 [ (gogoproto.nullable) = false ]; +} + +message QueryGetRollappResponse { + Rollapp rollapp = 1 [ (gogoproto.nullable) = false ]; + reserved 2 to 5; + RollappSummary summary = 6 [ (gogoproto.nullable) = false ]; + // apps is the list of (lazy-loaded) apps in the rollapp + repeated App apps = 7 [ (gogoproto.nullable) = true ]; +} + +message QueryAllRollappRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; + // omit_apps is an optional flag to omit the list of apps in the response + bool omit_apps = 2; +} + +message QueryAllRollappResponse { + reserved 1; + repeated QueryGetRollappResponse rollapp = 3 [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetStateInfoRequest { + string rollappId = 1; + uint64 index = 2; + uint64 height = 3; + bool finalized = 4; +} + +message QueryGetStateInfoResponse { + StateInfo stateInfo = 1 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/rollapp.proto b/proto/types/dymensionxyz/dymension/rollapp/rollapp.proto new file mode 100644 index 000000000..ea75722a1 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/rollapp.proto @@ -0,0 +1,98 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "types/cosmos/msg/v1/msg.proto"; + +import "types/dymensionxyz/dymension/rollapp/state_info.proto"; +import "types/dymensionxyz/dymension/rollapp/metadata.proto"; + +// RollappGenesisState is a partial repr of the state the hub can expect the rollapp to be in upon genesis +message RollappGenesisState { + reserved 1; + // If true, then full usage of the canonical ibc transfer channel is enabled. + // Note: in v3.1.0 and prior this field marked the completion of the 'genesis event' + // Keeping and renaming the field enables a seamless upgrade https://www.notion.so/dymension/ADR-x-Genesis-Bridge-Phase-2-89769aa551b5440b9ed403a101775ce1?pvs=4#89698384d815435b87393dbe45bc5a74 + // to the new genesis transfer protocol + // Note: if this field is false, ibc transfers may still be allowed in one or either direction. + bool transfers_enabled = 2; +} + +// Rollapp defines a rollapp object. First, the RollApp is created and then +// sequencers can be created and attached. The RollApp is identified by rollappId +message Rollapp { + // The unique identifier of the rollapp chain. + // The rollapp_id follows the same standard as cosmos chain_id. + string rollapp_id = 1; + // owner is the bech32-encoded address of the rollapp owner. + string owner = 2; + // field numbers not to be reused + reserved 3 to 6; + // genesis_state is a partial repr of the state the hub can expect the rollapp to be in upon genesis + RollappGenesisState genesis_state = 7 [(gogoproto.nullable) = false]; + // channel_id will be set to the canonical IBC channel of the rollapp. + string channel_id = 8; + // frozen is a boolean that indicates if the rollapp is frozen. + bool frozen = 9; + // registeredDenoms is a list of registered denom bases on this rollapp + repeated string registeredDenoms = 10; + // metadata is the rollapp metadata + RollappMetadata metadata = 11; + // genesis_info keeps immutable rollapp fields + GenesisInfo genesis_info = 12 [(gogoproto.nullable) = false]; + // initial_sequencer is an option to preset one or more coma-separated bech32-encoded addresses of the + // sequencer(s) that are allowed to initially register and serve for this rollapp. + // if left empty, no sequencer is allowed to register. + // if set to "*" any sequencer can register. + string initial_sequencer = 13; + + enum VMType { + Unspecified = 0; + EVM = 1; + WASM = 2; + } + // vm_type is the type of rollapp machine: EVM or WASM + VMType vm_type = 14; + // launched is a boolean that indicates that the Rollapp has been launched and the immutable fields are no longer updatable. + bool launched = 15; + // LivenessEventHeight is the height of an upcoming liveness event (slash or jail) + // 0 means not set + int64 liveness_event_height = 16; + // The LastStateUpdateHeight HUB height when the last state update was received + int64 last_state_update_height = 17; +} + +message GenesisInfo { + // checksum used to verify integrity of the genesis file + string genesis_checksum = 1; + // unique bech32 prefix + string bech32_prefix = 2; + // native_denom is the base denom for the native token + DenomMetadata native_denom = 3; + // initial_supply is the initial supply of the native token + string initial_supply = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // sealed indicates if the fields in this object are no longer updatable + bool sealed = 5; +} + +// Rollapp summary is a compact representation of Rollapp +message RollappSummary { + // The unique identifier of the rollapp chain. + // The rollappId follows the same standard as cosmos chain_id. + string rollappId = 1; + // Defines the index of the last rollapp UpdateState. + StateInfoIndex latestStateIndex = 2; + // Defines the index of the last rollapp UpdateState that was finalized. + StateInfoIndex latestFinalizedStateIndex = 3; + uint64 latestHeight = 4; // TODO: + uint64 latestFinalizedHeight = 5; // TODO: +} + diff --git a/proto/types/dymensionxyz/dymension/rollapp/state_info.proto b/proto/types/dymensionxyz/dymension/rollapp/state_info.proto new file mode 100644 index 000000000..f24a0efc8 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/state_info.proto @@ -0,0 +1,81 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "gogoproto/gogo.proto"; +import "google/protobuf/timestamp.proto"; + +import "types/dymensionxyz/dymension/rollapp/block_descriptor.proto"; +import "types/dymensionxyz/dymension/common/status.proto"; + +// StateInfoIndex is the data used for indexing and retrieving a StateInfo +// it updated and saved with every UpdateState in StateInfo. +// We use the this structure also for: +// 1. LatestStateInfoIndex which defines the rollapps' current (latest) index of the last UpdateState +// 2. LatestFinalizedStateIndex which defines the rollapps' current (latest) index of the latest StateInfo that was finalized +message StateInfoIndex { + // rollappId is the rollapp that the sequencer belongs to and asking to update + // it used to identify the what rollapp a StateInfo belongs + // The rollappId follows the same standard as cosmos chain_id + string rollappId = 1; + // index is a sequential increasing number, updating on each + // state update used for indexing to a specific state info, the first index is 1 + uint64 index = 2; + +} + +// StateInfo defines a rollapps' state. +message StateInfo { + // stateInfoIndex defines what rollapp the state belongs to + // and in which index it can be referenced + StateInfoIndex stateInfoIndex = 1 [(gogoproto.nullable) = false]; + // sequencer is the bech32-encoded address of the sequencer sent the update + string sequencer = 2; + // startHeight is the block height of the first block in the batch + uint64 startHeight = 3; + // numBlocks is the number of blocks included in this batch update + uint64 numBlocks = 4; + // DAPath is the description of the location on the DA layer + string DAPath = 5; + + reserved 6; + // creationHeight is the height at which the UpdateState took place + uint64 creationHeight = 7; + // status is the status of the state update + common.Status status = 8; + // BDs is a list of block description objects (one per block) + // the list must be ordered by height, starting from startHeight to startHeight+numBlocks-1 + BlockDescriptors BDs = 9 [(gogoproto.nullable) = false]; + // created_at is the timestamp at which the StateInfo was created + google.protobuf.Timestamp created_at = 10 [ + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"created_at\"" + ]; + // DrsVersion is a DRS version used by the rollapp. + string drs_version = 11; +} + +// StateInfoSummary is a compact representation of StateInfo +message StateInfoSummary { + // stateInfoIndex defines what rollapp the state belongs to + // and in which index it can be referenced + StateInfoIndex stateInfoIndex = 1 [(gogoproto.nullable) = false]; + // status is the status of the state update + common.Status status = 2; + // creationHeight is the height at which the UpdateState took place + uint64 creationHeight = 3; +} + +// BlockHeightToFinalizationQueue defines a map from block height to list of states to finalized +message BlockHeightToFinalizationQueue { + // creationHeight is the block height that the state should be finalized + uint64 creationHeight = 1; + // finalizationQueue is a list of states that are waiting to be finalized + // when the block height becomes creationHeight + repeated StateInfoIndex finalizationQueue = 2 [(gogoproto.nullable) = false]; +} diff --git a/proto/types/dymensionxyz/dymension/rollapp/tx.proto b/proto/types/dymensionxyz/dymension/rollapp/tx.proto new file mode 100644 index 000000000..34d6adde5 --- /dev/null +++ b/proto/types/dymensionxyz/dymension/rollapp/tx.proto @@ -0,0 +1,175 @@ +// This file is a modified copy of the rollapp module proto contract. Source: +// https://github.com/dymensionxyz/dymension/blob/f140cd1dd561cefb3e6562cbf4379b88cd16400d/proto/dymensionxyz/dymension/rollapp/. +// It contains only message definitions but without the Msg service. + +syntax = "proto3"; +package dymensionxyz.dymension.rollapp; + +option go_package = "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp"; + +import "types/cosmos/msg/v1/msg.proto"; +import "types/dymensionxyz/dymension/rollapp/block_descriptor.proto"; +import "types/dymensionxyz/dymension/rollapp/rollapp.proto"; +import "types/dymensionxyz/dymension/rollapp/metadata.proto"; +import "gogoproto/gogo.proto"; + +// MsgCreateRollapp creates a new rollapp chain on the hub. +message MsgCreateRollapp { + option (cosmos.msg.v1.signer) = "creator"; + // creator is the bech32-encoded address of the rollapp creator + string creator = 1; + // rollappId is the unique identifier of the rollapp chain. + // The rollapp_id follows the same standard as cosmos chain_id + string rollapp_id = 2; + reserved 3 to 10; + // initial_sequencer takes one or more coma-separated bech32-encoded addresses of the + // sequencer(s) that are allowed to initially serve this rollappId. + string initial_sequencer = 11; + // alias is the chain alias used for display and namespace system + string alias = 12; + // metadata is the rollapp metadata + RollappMetadata metadata = 13; + // genesis_info is the genesis information + GenesisInfo genesis_info = 14 [(gogoproto.nullable) = false ]; + // vm_type is the type of rollapp machine: EVM or WASM + Rollapp.VMType vm_type = 15; +} + +message MsgCreateRollappResponse { +} + +// MsgUpdateRollappInformation updates the rollapp information. +message MsgUpdateRollappInformation { + option (cosmos.msg.v1.signer) = "owner"; + // owner is the bech32-encoded address of the rollapp owner + string owner = 1; + // rollapp_id is the unique identifier of the rollapp chain. + string rollapp_id = 2; + // initial_sequencer is one or more bech32-encoded address of the + // sequencer that are allowed to initially serve this rollappId. + // wildcard '*' means any sequencer is allowed to be the first proposer. + string initial_sequencer = 3; + // metadata is the rollapp metadata + RollappMetadata metadata = 5 [(gogoproto.nullable) = true ]; + // genesis_info is the genesis information + GenesisInfo genesis_info = 6 [(gogoproto.nullable) = false ]; +} + +message MsgUpdateRollappInformationResponse { +} + +// MsgUpdateState updates a rollapp state with a block batch. +// a block batch is a list of ordered blocks (by height) +message MsgUpdateState { + option (cosmos.msg.v1.signer) = "creator"; + // creator is the bech32-encoded address of the sequencer sending the update + string creator = 1; + // rollappId is the rollapp that the sequencer belongs to and asking to update + // The rollappId follows the same standard as cosmos chain_id + string rollappId = 2; + // startHeight is the block height of the first block in the batch + uint64 startHeight = 3; + // numBlocks is the number of blocks included in this batch update + uint64 numBlocks = 4; + // DAPath is the description of the location on the DA layer + string DAPath = 5; + + reserved 6; + // BDs is a list of block description objects (one per block) + // the list must be ordered by height, starting from startHeight to startHeight+numBlocks-1 + BlockDescriptors BDs = 7 [(gogoproto.nullable) = false]; + // last is true if this is the last batch of the sequencer + bool last = 8; + // DrsVersion is a DRS version used by the rollapp. + string drs_version = 9; +} + +message MsgUpdateStateResponse { +} + +// MsgTransferOwnership transfers the ownership of a rollapp chain to a new owner. +message MsgTransferOwnership { + option (cosmos.msg.v1.signer) = "current_owner"; + // current_owner is the bech32-encoded address of the current owner + string current_owner = 1; + // new_owner is the bech32-encoded address of the new owner + string new_owner = 2; + // rollapp_id is the unique identifier of the rollapp chain. + string rollapp_id = 3; +} + +message MsgTransferOwnershipResponse { +} + +// MsgAddApp adds an app to the rollapp. +message MsgAddApp { + option (cosmos.msg.v1.signer) = "creator"; + // creator is the bech32-encoded address of the app creator + string creator = 1; + // name is the unique App's name + string name = 2; + // rollapp_id is the id of the Rollapp the App belongs to + string rollapp_id = 3; + // description is the description of the App + string description = 4; + // image is the url to the App image + string image = 5; + // url is the URL to the App's website + string url = 6; + // order is the order of the App in the Rollapp + int32 order = 7; +} + +message MsgAddAppResponse { +} + +// MsgUpdateApp updates the app information. +message MsgUpdateApp { + option (cosmos.msg.v1.signer) = "creator"; + // creator is the bech32-encoded address of the app owner + string creator = 1; + // id is the unique App's id in the Rollapp + uint64 id = 2; + // name is the unique App's name (immutable) + string name = 3; + // rollapp_id is the id of the Rollapp the App belongs to + string rollapp_id = 4; + // description is the description of the App + string description = 5; + // image is the url to the App image + string image = 6; + // url is the URL to the App's website + string url = 7; + // order is the order of the App in the Rollapp + int32 order = 8; +} + +message MsgUpdateAppResponse { +} + +// MsgRemoveApp removes an app from the rollapp. +message MsgRemoveApp { + option (cosmos.msg.v1.signer) = "creator"; + // creator is the bech32-encoded address of the app owner + string creator = 1; + // id is the unique App's id in the Rollapp + uint64 id = 2; + // rollapp_id is the id of the Rollapp the App belongs to + string rollapp_id = 3; +} + +message MsgRemoveAppResponse { +} + +// MsgMarkVulnerableRollapps marks specified versions as vulnerable as well as +// all corresponding rollapps. Must be called by the governance. +message MsgMarkVulnerableRollapps { + option (cosmos.msg.v1.signer) = "authority"; + + // Authority is the authority address. + string authority = 1; + // DrsVersions is a list of DRS versions that will be marked vulnerable. + repeated string drs_versions = 2; +} + +message MsgMarkVulnerableRollappsResponse {} diff --git a/settlement/dymension/cosmosclient.go b/settlement/dymension/cosmosclient.go index 346938466..cafc0a7f7 100644 --- a/settlement/dymension/cosmosclient.go +++ b/settlement/dymension/cosmosclient.go @@ -9,11 +9,12 @@ import ( sdkclient "github.com/cosmos/cosmos-sdk/client" sdktypes "github.com/cosmos/cosmos-sdk/types" "github.com/dymensionxyz/cosmosclient/cosmosclient" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" - sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" "github.com/dymensionxyz/gerr-cosmos/gerrc" "github.com/ignite/cli/ignite/pkg/cosmosaccount" ctypes "github.com/tendermint/tendermint/rpc/core/types" + + sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) // CosmosClient is an interface for interacting with cosmos client chains. diff --git a/settlement/dymension/dymension.go b/settlement/dymension/dymension.go index 527612b2f..d6d61f47a 100644 --- a/settlement/dymension/dymension.go +++ b/settlement/dymension/dymension.go @@ -15,8 +15,6 @@ import ( cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/dymensionxyz/cosmosclient/cosmosclient" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" - sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" "github.com/dymensionxyz/gerr-cosmos/gerrc" "github.com/google/uuid" "github.com/ignite/cli/ignite/pkg/cosmosaccount" @@ -26,7 +24,9 @@ import ( "github.com/dymensionxyz/dymint/da" "github.com/dymensionxyz/dymint/settlement" + sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" "github.com/dymensionxyz/dymint/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) const ( diff --git a/settlement/dymension/dymension_test.go b/settlement/dymension/dymension_test.go index d804bef78..5f24e9cb3 100644 --- a/settlement/dymension/dymension_test.go +++ b/settlement/dymension/dymension_test.go @@ -6,35 +6,31 @@ import ( "testing" "time" - "google.golang.org/grpc/codes" - - "google.golang.org/grpc/status" - - "github.com/tendermint/tendermint/libs/log" - + sdkcodectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/cosmos/cosmos-sdk/types" + "github.com/dymensionxyz/cosmosclient/cosmosclient" "github.com/ignite/cli/ignite/pkg/cosmosaccount" "github.com/libp2p/go-libp2p/core/crypto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/libs/pubsub" coretypes "github.com/tendermint/tendermint/rpc/core/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" - "github.com/dymensionxyz/cosmosclient/cosmosclient" "github.com/dymensionxyz/dymint/da" - rollapptypesmock "github.com/dymensionxyz/dymint/mocks/github.com/dymensionxyz/dymension/v3/x/rollapp/types" - sequencertypesmock "github.com/dymensionxyz/dymint/mocks/github.com/dymensionxyz/dymension/v3/x/sequencer/types" dymensionmock "github.com/dymensionxyz/dymint/mocks/github.com/dymensionxyz/dymint/settlement/dymension" + sequencertypesmock "github.com/dymensionxyz/dymint/mocks/github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" + rollapptypesmock "github.com/dymensionxyz/dymint/mocks/github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" "github.com/dymensionxyz/dymint/settlement" "github.com/dymensionxyz/dymint/settlement/dymension" "github.com/dymensionxyz/dymint/testutil" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" sequencertypes "github.com/dymensionxyz/dymint/third_party/dymension/sequencer/types" - - sdkcodectypes "github.com/cosmos/cosmos-sdk/codec/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) func TestGetSequencers(t *testing.T) { diff --git a/settlement/dymension/utils.go b/settlement/dymension/utils.go index 89bf9c6da..d071dfe9a 100644 --- a/settlement/dymension/utils.go +++ b/settlement/dymension/utils.go @@ -2,9 +2,10 @@ package dymension import ( "github.com/avast/retry-go/v4" + "github.com/dymensionxyz/dymint/da" "github.com/dymensionxyz/dymint/settlement" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) // RunWithRetry runs the given operation with retry, doing a number of attempts, and taking the last diff --git a/settlement/grpc/grpc.go b/settlement/grpc/grpc.go index e2e826e55..67c62e0d3 100644 --- a/settlement/grpc/grpc.go +++ b/settlement/grpc/grpc.go @@ -12,22 +12,20 @@ import ( "time" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/dymensionxyz/gerr-cosmos/gerrc" "github.com/libp2p/go-libp2p/core/crypto" + "github.com/tendermint/tendermint/libs/pubsub" tmp2p "github.com/tendermint/tendermint/p2p" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/dymensionxyz/dymint/da" "github.com/dymensionxyz/dymint/settlement" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" - "github.com/dymensionxyz/dymint/types" - - "github.com/tendermint/tendermint/libs/pubsub" - slmock "github.com/dymensionxyz/dymint/settlement/grpc/mockserv/proto" + "github.com/dymensionxyz/dymint/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" ) // Client is an extension of the base settlement layer client diff --git a/settlement/local/local.go b/settlement/local/local.go index a08c28694..b085a567b 100644 --- a/settlement/local/local.go +++ b/settlement/local/local.go @@ -13,21 +13,19 @@ import ( "time" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" - + "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" + cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/dymensionxyz/gerr-cosmos/gerrc" "github.com/libp2p/go-libp2p/core/crypto" + "github.com/tendermint/tendermint/libs/pubsub" tmp2p "github.com/tendermint/tendermint/p2p" - "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/dymensionxyz/dymint/da" "github.com/dymensionxyz/dymint/settlement" "github.com/dymensionxyz/dymint/store" - rollapptypes "github.com/dymensionxyz/dymint/third_party/dymension/rollapp/types" "github.com/dymensionxyz/dymint/types" + rollapptypes "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/rollapp" uevent "github.com/dymensionxyz/dymint/utils/event" - - "github.com/tendermint/tendermint/libs/pubsub" ) const kvStoreDBName = "settlement" diff --git a/third_party/dymension/rollapp/types/metadata.pb.go b/third_party/dymension/rollapp/types/metadata.pb.go deleted file mode 100644 index 76dd0a070..000000000 --- a/third_party/dymension/rollapp/types/metadata.pb.go +++ /dev/null @@ -1,582 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/metadata.proto - -package types - -import ( - fmt "fmt" - proto "github.com/gogo/protobuf/proto" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -type RollappMetadata struct { - // website is the rollapp website - Website string `protobuf:"bytes,1,opt,name=website,proto3" json:"website,omitempty"` - // description is the rollapp description. should be limited to 512 chars - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - // logo_data_uri is a base64 rep with a URI prefix to the rollapp logo. Should be limited to 25kb. - LogoDataUri string `protobuf:"bytes,3,opt,name=logo_data_uri,json=logoDataUri,proto3" json:"logo_data_uri,omitempty"` - // token_logo_data_uri is a URI to the native token logo. Should be limited to 25kb. - TokenLogoDataUri string `protobuf:"bytes,4,opt,name=token_logo_data_uri,json=tokenLogoDataUri,proto3" json:"token_logo_data_uri,omitempty"` - // telegram is the rollapp telegram link - Telegram string `protobuf:"bytes,5,opt,name=telegram,proto3" json:"telegram,omitempty"` - // x is the rollapp twitter link - X string `protobuf:"bytes,6,opt,name=x,proto3" json:"x,omitempty"` -} - -func (m *RollappMetadata) Reset() { *m = RollappMetadata{} } -func (m *RollappMetadata) String() string { return proto.CompactTextString(m) } -func (*RollappMetadata) ProtoMessage() {} -func (*RollappMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_1b2ee545949ab800, []int{0} -} -func (m *RollappMetadata) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RollappMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RollappMetadata.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *RollappMetadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollappMetadata.Merge(m, src) -} -func (m *RollappMetadata) XXX_Size() int { - return m.Size() -} -func (m *RollappMetadata) XXX_DiscardUnknown() { - xxx_messageInfo_RollappMetadata.DiscardUnknown(m) -} - -var xxx_messageInfo_RollappMetadata proto.InternalMessageInfo - -func (m *RollappMetadata) GetWebsite() string { - if m != nil { - return m.Website - } - return "" -} - -func (m *RollappMetadata) GetDescription() string { - if m != nil { - return m.Description - } - return "" -} - -func (m *RollappMetadata) GetLogoDataUri() string { - if m != nil { - return m.LogoDataUri - } - return "" -} - -func (m *RollappMetadata) GetTokenLogoDataUri() string { - if m != nil { - return m.TokenLogoDataUri - } - return "" -} - -func (m *RollappMetadata) GetTelegram() string { - if m != nil { - return m.Telegram - } - return "" -} - -func (m *RollappMetadata) GetX() string { - if m != nil { - return m.X - } - return "" -} - -func init() { - proto.RegisterType((*RollappMetadata)(nil), "dymensionxyz.dymension.rollapp.RollappMetadata") -} - -func init() { proto.RegisterFile("dymension/rollapp/metadata.proto", fileDescriptor_1b2ee545949ab800) } - -var fileDescriptor_1b2ee545949ab800 = []byte{ - // 260 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xbd, 0x4e, 0xc3, 0x30, - 0x14, 0x85, 0x63, 0x7e, 0x0a, 0x18, 0x10, 0xc8, 0x2c, 0x16, 0x83, 0x15, 0x75, 0x62, 0x21, 0x1e, - 0xca, 0x13, 0x20, 0x46, 0x60, 0xa8, 0xc4, 0xc2, 0x12, 0x39, 0x8d, 0x15, 0x2c, 0x92, 0x5c, 0xcb, - 0xb9, 0x85, 0x84, 0xa7, 0xe0, 0xb1, 0x10, 0x53, 0x47, 0x46, 0x94, 0xbc, 0x08, 0xaa, 0x1b, 0x42, - 0xd8, 0xfc, 0x9d, 0xf3, 0xf9, 0x0e, 0x87, 0x86, 0x69, 0x53, 0xe8, 0xb2, 0x32, 0x50, 0x4a, 0x07, - 0x79, 0xae, 0xac, 0x95, 0x85, 0x46, 0x95, 0x2a, 0x54, 0x91, 0x75, 0x80, 0xc0, 0xc4, 0x60, 0xd4, - 0xcd, 0x5b, 0x34, 0x40, 0xd4, 0xeb, 0xd3, 0x4f, 0x42, 0x4f, 0xe6, 0x9b, 0xf7, 0x5d, 0xff, 0x93, - 0x71, 0xba, 0xf7, 0xaa, 0x93, 0xca, 0xa0, 0xe6, 0x24, 0x24, 0x17, 0x07, 0xf3, 0x5f, 0x64, 0x21, - 0x3d, 0x4c, 0x75, 0xb5, 0x70, 0xc6, 0xa2, 0x81, 0x92, 0x6f, 0xf9, 0x76, 0x1c, 0xb1, 0x29, 0x3d, - 0xce, 0x21, 0x83, 0x78, 0x7d, 0x28, 0x5e, 0x3a, 0xc3, 0xb7, 0x37, 0xce, 0x3a, 0xbc, 0x51, 0xa8, - 0x1e, 0x9c, 0x61, 0x97, 0xf4, 0x0c, 0xe1, 0x59, 0x97, 0xf1, 0x7f, 0x73, 0xc7, 0x9b, 0xa7, 0xbe, - 0xba, 0x1d, 0xe9, 0xe7, 0x74, 0x1f, 0x75, 0xae, 0x33, 0xa7, 0x0a, 0xbe, 0xeb, 0x9d, 0x81, 0xd9, - 0x11, 0x25, 0x35, 0x9f, 0xf8, 0x90, 0xd4, 0xd7, 0xf7, 0x1f, 0xad, 0x20, 0xab, 0x56, 0x90, 0xef, - 0x56, 0x90, 0xf7, 0x4e, 0x04, 0xab, 0x4e, 0x04, 0x5f, 0x9d, 0x08, 0x1e, 0xaf, 0x32, 0x83, 0x4f, - 0xcb, 0x24, 0x5a, 0x40, 0x21, 0xc7, 0x8b, 0xfc, 0x81, 0x7c, 0x99, 0xc9, 0x7a, 0x58, 0x11, 0x1b, - 0xab, 0xab, 0x64, 0xe2, 0x37, 0x9c, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xa5, 0x40, 0xd1, - 0x67, 0x01, 0x00, 0x00, -} - -func (m *RollappMetadata) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RollappMetadata) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RollappMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.X) > 0 { - i -= len(m.X) - copy(dAtA[i:], m.X) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.X))) - i-- - dAtA[i] = 0x32 - } - if len(m.Telegram) > 0 { - i -= len(m.Telegram) - copy(dAtA[i:], m.Telegram) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.Telegram))) - i-- - dAtA[i] = 0x2a - } - if len(m.TokenLogoDataUri) > 0 { - i -= len(m.TokenLogoDataUri) - copy(dAtA[i:], m.TokenLogoDataUri) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.TokenLogoDataUri))) - i-- - dAtA[i] = 0x22 - } - if len(m.LogoDataUri) > 0 { - i -= len(m.LogoDataUri) - copy(dAtA[i:], m.LogoDataUri) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.LogoDataUri))) - i-- - dAtA[i] = 0x1a - } - if len(m.Description) > 0 { - i -= len(m.Description) - copy(dAtA[i:], m.Description) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.Description))) - i-- - dAtA[i] = 0x12 - } - if len(m.Website) > 0 { - i -= len(m.Website) - copy(dAtA[i:], m.Website) - i = encodeVarintMetadata(dAtA, i, uint64(len(m.Website))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintMetadata(dAtA []byte, offset int, v uint64) int { - offset -= sovMetadata(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *RollappMetadata) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Website) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - l = len(m.Description) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - l = len(m.LogoDataUri) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - l = len(m.TokenLogoDataUri) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - l = len(m.Telegram) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - l = len(m.X) - if l > 0 { - n += 1 + l + sovMetadata(uint64(l)) - } - return n -} - -func sovMetadata(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozMetadata(x uint64) (n int) { - return sovMetadata(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *RollappMetadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RollappMetadata: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RollappMetadata: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Website", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Website = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Description = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LogoDataUri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LogoDataUri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TokenLogoDataUri", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TokenLogoDataUri = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Telegram", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Telegram = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field X", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowMetadata - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthMetadata - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthMetadata - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.X = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipMetadata(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthMetadata - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipMetadata(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowMetadata - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthMetadata - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupMetadata - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthMetadata - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupMetadata = fmt.Errorf("proto: unexpected end of group") -) diff --git a/third_party/dymension/rollapp/types/types.go b/third_party/dymension/rollapp/types/types.go deleted file mode 100644 index 308c44e6a..000000000 --- a/third_party/dymension/rollapp/types/types.go +++ /dev/null @@ -1,7 +0,0 @@ -package types - -import ( - common "github.com/dymensionxyz/dymension/v3/x/common/types" -) - -type StateStatus common.Status diff --git a/types/pb/dymensionxyz/dymension/common/status.pb.go b/types/pb/dymensionxyz/dymension/common/status.pb.go new file mode 100644 index 000000000..acebf5a08 --- /dev/null +++ b/types/pb/dymensionxyz/dymension/common/status.pb.go @@ -0,0 +1,75 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: types/dymensionxyz/dymension/common/status.proto + +package common + +import ( + fmt "fmt" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type Status int32 + +const ( + Status_PENDING Status = 0 + Status_FINALIZED Status = 1 + Status_REVERTED Status = 3 +) + +var Status_name = map[int32]string{ + 0: "PENDING", + 1: "FINALIZED", + 3: "REVERTED", +} + +var Status_value = map[string]int32{ + "PENDING": 0, + "FINALIZED": 1, + "REVERTED": 3, +} + +func (x Status) String() string { + return proto.EnumName(Status_name, int32(x)) +} + +func (Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_3bcfbd0b6617e684, []int{0} +} + +func init() { + proto.RegisterEnum("dymensionxyz.dymension.common.Status", Status_name, Status_value) +} + +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/common/status.proto", fileDescriptor_3bcfbd0b6617e684) +} + +var fileDescriptor_3bcfbd0b6617e684 = []byte{ + // 194 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x28, 0xa9, 0x2c, 0x48, + 0x2d, 0xd6, 0x4f, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, 0x42, 0x70, + 0xf4, 0x93, 0xf3, 0x73, 0x73, 0xf3, 0xf3, 0xf4, 0x8b, 0x4b, 0x12, 0x4b, 0x4a, 0x8b, 0xf5, 0x0a, + 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x64, 0x91, 0xd5, 0xea, 0xc1, 0x39, 0x7a, 0x10, 0xb5, 0x52, 0x22, + 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x95, 0xfa, 0x20, 0x16, 0x44, 0x93, 0x96, 0x11, 0x17, 0x5b, 0x30, + 0xd8, 0x10, 0x21, 0x6e, 0x2e, 0xf6, 0x00, 0x57, 0x3f, 0x17, 0x4f, 0x3f, 0x77, 0x01, 0x06, 0x21, + 0x5e, 0x2e, 0x4e, 0x37, 0x4f, 0x3f, 0x47, 0x1f, 0xcf, 0x28, 0x57, 0x17, 0x01, 0x46, 0x21, 0x1e, + 0x2e, 0x8e, 0x20, 0xd7, 0x30, 0xd7, 0xa0, 0x10, 0x57, 0x17, 0x01, 0x66, 0xa7, 0xf8, 0x13, 0x8f, + 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, + 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0x02, + 0x59, 0x89, 0xe1, 0xf2, 0xcc, 0xbc, 0x12, 0x7d, 0x88, 0x9f, 0x0a, 0x92, 0xf0, 0x7b, 0x2b, 0x89, + 0x0d, 0xec, 0x36, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa5, 0xa1, 0xa5, 0x27, 0x04, 0x01, + 0x00, 0x00, +} diff --git a/types/pb/dymensionxyz/dymension/rollapp/app.pb.go b/types/pb/dymensionxyz/dymension/rollapp/app.pb.go new file mode 100644 index 000000000..8db38cfb5 --- /dev/null +++ b/types/pb/dymensionxyz/dymension/rollapp/app.pb.go @@ -0,0 +1,604 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: types/dymensionxyz/dymension/rollapp/app.proto + +package rollapp + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type App struct { + // id is the unique App's id in the Rollapp + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // name is the unique App's name + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // rollapp_id is the id of the Rollapp the App belongs to + RollappId string `protobuf:"bytes,3,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` + // description is the description of the App + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // image_url is the URL to the App's image + ImageUrl string `protobuf:"bytes,5,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` + // url is the URL to the App's website + Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` + // order is the order of the App in the Rollapp + Order int32 `protobuf:"varint,7,opt,name=order,proto3" json:"order,omitempty"` +} + +func (m *App) Reset() { *m = App{} } +func (m *App) String() string { return proto.CompactTextString(m) } +func (*App) ProtoMessage() {} +func (*App) Descriptor() ([]byte, []int) { + return fileDescriptor_61821b6f9f21caec, []int{0} +} +func (m *App) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *App) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_App.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *App) XXX_Merge(src proto.Message) { + xxx_messageInfo_App.Merge(m, src) +} +func (m *App) XXX_Size() int { + return m.Size() +} +func (m *App) XXX_DiscardUnknown() { + xxx_messageInfo_App.DiscardUnknown(m) +} + +var xxx_messageInfo_App proto.InternalMessageInfo + +func (m *App) GetId() uint64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *App) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *App) GetRollappId() string { + if m != nil { + return m.RollappId + } + return "" +} + +func (m *App) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *App) GetImageUrl() string { + if m != nil { + return m.ImageUrl + } + return "" +} + +func (m *App) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *App) GetOrder() int32 { + if m != nil { + return m.Order + } + return 0 +} + +func init() { + proto.RegisterType((*App)(nil), "dymensionxyz.dymension.rollapp.App") +} + +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/app.proto", fileDescriptor_61821b6f9f21caec) +} + +var fileDescriptor_61821b6f9f21caec = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xbd, 0x4a, 0xc4, 0x40, + 0x14, 0x85, 0x33, 0xf9, 0x59, 0xcd, 0x15, 0x44, 0x06, 0x8b, 0x01, 0x71, 0x08, 0x56, 0xa9, 0x92, + 0xc2, 0x27, 0xd0, 0x42, 0xb0, 0x0d, 0xd8, 0xd8, 0xac, 0xc9, 0xce, 0xb0, 0x0e, 0x24, 0x33, 0x97, + 0xc9, 0x2c, 0x18, 0x9f, 0xc2, 0x37, 0xf1, 0x35, 0x2c, 0xb7, 0xb4, 0x94, 0xe4, 0x45, 0x64, 0x67, + 0x83, 0x2e, 0x58, 0xd8, 0xdd, 0xf3, 0x9d, 0x73, 0x9b, 0x0f, 0x0a, 0x37, 0xa0, 0xec, 0x4b, 0x31, + 0x74, 0x52, 0xf7, 0xca, 0xe8, 0x97, 0xe1, 0xf5, 0x37, 0x94, 0xd6, 0xb4, 0x6d, 0x8d, 0x58, 0xd6, + 0x88, 0x05, 0x5a, 0xe3, 0x0c, 0xe5, 0x87, 0xcb, 0xe2, 0x27, 0x14, 0xf3, 0xf2, 0xea, 0x9d, 0x40, + 0x74, 0x83, 0x48, 0x4f, 0x21, 0x54, 0x82, 0x91, 0x8c, 0xe4, 0x71, 0x15, 0x2a, 0x41, 0x29, 0xc4, + 0xba, 0xee, 0x24, 0x0b, 0x33, 0x92, 0xa7, 0x95, 0xbf, 0xe9, 0x25, 0xc0, 0xfc, 0xb6, 0x54, 0x82, + 0x45, 0xbe, 0x49, 0x67, 0x72, 0x2f, 0x68, 0x06, 0x27, 0x42, 0xf6, 0x2b, 0xab, 0xd0, 0x29, 0xa3, + 0x59, 0xec, 0xfb, 0x43, 0x44, 0x2f, 0x20, 0x55, 0x5d, 0xbd, 0x96, 0xcb, 0x8d, 0x6d, 0x59, 0xe2, + 0xfb, 0x63, 0x0f, 0x1e, 0x6c, 0x4b, 0xcf, 0x20, 0xda, 0xe1, 0x85, 0xc7, 0xbb, 0x93, 0x9e, 0x43, + 0x62, 0xac, 0x90, 0x96, 0x1d, 0x65, 0x24, 0x4f, 0xaa, 0x7d, 0xb8, 0x7d, 0xfa, 0x18, 0x39, 0xd9, + 0x8e, 0x9c, 0x7c, 0x8d, 0x9c, 0xbc, 0x4d, 0x3c, 0xd8, 0x4e, 0x3c, 0xf8, 0x9c, 0x78, 0xf0, 0x78, + 0xb7, 0x56, 0xee, 0x79, 0xd3, 0x14, 0x2b, 0xd3, 0xfd, 0x11, 0xa4, 0xb4, 0x2b, 0xf7, 0xea, 0xb0, + 0xf9, 0xc7, 0x5e, 0xb3, 0xf0, 0xea, 0xae, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x40, 0x40, + 0x56, 0x6c, 0x01, 0x00, 0x00, +} + +func (m *App) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *App) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *App) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Order != 0 { + i = encodeVarintApp(dAtA, i, uint64(m.Order)) + i-- + dAtA[i] = 0x38 + } + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintApp(dAtA, i, uint64(len(m.Url))) + i-- + dAtA[i] = 0x32 + } + if len(m.ImageUrl) > 0 { + i -= len(m.ImageUrl) + copy(dAtA[i:], m.ImageUrl) + i = encodeVarintApp(dAtA, i, uint64(len(m.ImageUrl))) + i-- + dAtA[i] = 0x2a + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintApp(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x22 + } + if len(m.RollappId) > 0 { + i -= len(m.RollappId) + copy(dAtA[i:], m.RollappId) + i = encodeVarintApp(dAtA, i, uint64(len(m.RollappId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintApp(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if m.Id != 0 { + i = encodeVarintApp(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintApp(dAtA []byte, offset int, v uint64) int { + offset -= sovApp(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *App) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sovApp(uint64(m.Id)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovApp(uint64(l)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovApp(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovApp(uint64(l)) + } + l = len(m.ImageUrl) + if l > 0 { + n += 1 + l + sovApp(uint64(l)) + } + l = len(m.Url) + if l > 0 { + n += 1 + l + sovApp(uint64(l)) + } + if m.Order != 0 { + n += 1 + sovApp(uint64(m.Order)) + } + return n +} + +func sovApp(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozApp(x uint64) (n int) { + return sovApp(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *App) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: App: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: App: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RollappId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ImageUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) + } + m.Order = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Order |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipApp(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApp + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipApp(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowApp + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowApp + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowApp + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthApp + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupApp + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthApp + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthApp = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowApp = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupApp = fmt.Errorf("proto: unexpected end of group") +) diff --git a/third_party/dymension/rollapp/types/block_descriptor.pb.go b/types/pb/dymensionxyz/dymension/rollapp/block_descriptor.pb.go similarity index 82% rename from third_party/dymension/rollapp/types/block_descriptor.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/block_descriptor.pb.go index c0803dd20..fa6e93044 100644 --- a/third_party/dymension/rollapp/types/block_descriptor.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/block_descriptor.pb.go @@ -1,13 +1,13 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymensionxyz/dymension/rollapp/block_descriptor.proto +// source: types/dymensionxyz/dymension/rollapp/block_descriptor.proto -package types +package rollapp import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" - github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" @@ -33,7 +33,7 @@ type BlockDescriptor struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // stateRoot is a 32 byte array of the hash of the block (state root of the block) StateRoot []byte `protobuf:"bytes,2,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` - // timestamp is the time of the block finalization + // timestamp is the time from the block header Timestamp time.Time `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"` } @@ -41,7 +41,7 @@ func (m *BlockDescriptor) Reset() { *m = BlockDescriptor{} } func (m *BlockDescriptor) String() string { return proto.CompactTextString(m) } func (*BlockDescriptor) ProtoMessage() {} func (*BlockDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_6eb4c1d0c21c2e68, []int{0} + return fileDescriptor_7dcfa105ccca6c3f, []int{0} } func (m *BlockDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,7 +100,7 @@ func (m *BlockDescriptors) Reset() { *m = BlockDescriptors{} } func (m *BlockDescriptors) String() string { return proto.CompactTextString(m) } func (*BlockDescriptors) ProtoMessage() {} func (*BlockDescriptors) Descriptor() ([]byte, []int) { - return fileDescriptor_6eb4c1d0c21c2e68, []int{1} + return fileDescriptor_7dcfa105ccca6c3f, []int{1} } func (m *BlockDescriptors) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -142,30 +142,31 @@ func init() { } func init() { - proto.RegisterFile("dymensionxyz/dymension/rollapp/block_descriptor.proto", fileDescriptor_6eb4c1d0c21c2e68) + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/block_descriptor.proto", fileDescriptor_7dcfa105ccca6c3f) } -var fileDescriptor_6eb4c1d0c21c2e68 = []byte{ - // 303 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4e, 0xc2, 0x30, - 0x18, 0xc7, 0x57, 0x20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 0x0d, 0x7e, 0xb2, 0xf9, 0xec, - 0x5b, 0xeb, 0xaf, 0x3e, 0xf2, 0x0f, 0xd8, 0xe0, 0x01, 0x9f, 0x1f, 0x5d, 0x46, 0xdb, 0xb7, 0xb8, - 0xc1, 0xc7, 0x0e, 0x72, 0x9b, 0x5e, 0x77, 0xc8, 0xe8, 0xff, 0xbf, 0x40, 0x8f, 0x68, 0xde, 0x2a, - 0x2c, 0x7e, 0x83, 0x8f, 0xf9, 0xdd, 0x26, 0x23, 0x68, 0x9b, 0x11, 0xf4, 0x9d, 0x11, 0xb4, 0xce, - 0x89, 0xb5, 0xcd, 0x89, 0xf5, 0x91, 0x13, 0xeb, 0xf1, 0x5a, 0x86, 0x66, 0xbe, 0x0c, 0xe8, 0x14, - 0x62, 0xf6, 0xc7, 0x6c, 0x5e, 0x47, 0x6c, 0x55, 0x0f, 0xc8, 0xa4, 0x4a, 0xe8, 0xa0, 0x5d, 0xbe, - 0x69, 0xf4, 0x13, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x62, 0xb7, 0x2c, 0xcf, 0x01, 0x00, 0x00, +var fileDescriptor_7dcfa105ccca6c3f = []byte{ + // 306 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0x9b, 0x6d, 0x0c, 0x97, 0x09, 0x4a, 0x11, 0x29, 0x43, 0xb2, 0xb2, 0x53, 0x4f, 0x09, + 0xcc, 0xa3, 0xb7, 0x30, 0x7d, 0x80, 0xe2, 0x45, 0x2f, 0xba, 0x6e, 0x31, 0x0b, 0xb6, 0xfb, 0x42, + 0x93, 0x81, 0xf3, 0x15, 0xbc, 0xec, 0xb1, 0x76, 0xdc, 0xd1, 0x93, 0xca, 0xfa, 0x22, 0xd2, 0x76, + 0x6b, 0x65, 0x82, 0xde, 0xf2, 0x0f, 0xdf, 0x2f, 0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 0xaf, + 0x2d, 0x41, 0xab, 0x8c, 0x38, 0x9b, 0x8c, 0x38, 0xef, 0x19, 0x71, 0xee, 0x6f, 0xa4, 0xb2, 0xb3, + 0x45, 0x44, 0x27, 0x90, 0xfc, 0xea, 0x46, 0xcd, 0x2d, 0x2b, 0x5b, 0xd3, 0xd1, 0x3f, 0xc5, 0x45, + 0xed, 0xe2, 0x95, 0x97, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x6e, 0x09, 0x97, 0xe7, 0x01, + 0x00, 0x00, } func (m *BlockDescriptor) Marshal() (dAtA []byte, err error) { @@ -188,7 +189,7 @@ func (m *BlockDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - n1, err1 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp):]) + n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Timestamp, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp):]) if err1 != nil { return 0, err1 } @@ -272,7 +273,7 @@ func (m *BlockDescriptor) Size() (n int) { if l > 0 { n += 1 + l + sovBlockDescriptor(uint64(l)) } - l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Timestamp) + l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Timestamp) n += 1 + l + sovBlockDescriptor(uint64(l)) return n } @@ -409,7 +410,7 @@ func (m *BlockDescriptor) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Timestamp, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/third_party/dymension/rollapp/types/errors.go b/types/pb/dymensionxyz/dymension/rollapp/errors.go similarity index 99% rename from third_party/dymension/rollapp/types/errors.go rename to types/pb/dymensionxyz/dymension/rollapp/errors.go index 6a7963ff3..2caa18964 100644 --- a/third_party/dymension/rollapp/types/errors.go +++ b/types/pb/dymensionxyz/dymension/rollapp/errors.go @@ -1,4 +1,4 @@ -package types +package rollapp // DONTCOVER diff --git a/third_party/dymension/rollapp/types/events.go b/types/pb/dymensionxyz/dymension/rollapp/events.go similarity index 97% rename from third_party/dymension/rollapp/types/events.go rename to types/pb/dymensionxyz/dymension/rollapp/events.go index fad8b67b0..ae0f6e3d1 100644 --- a/third_party/dymension/rollapp/types/events.go +++ b/types/pb/dymensionxyz/dymension/rollapp/events.go @@ -1,4 +1,4 @@ -package types +package rollapp const ( EventTypeStateUpdate = "state_update" diff --git a/third_party/dymension/rollapp/types/genesis.pb.go b/types/pb/dymensionxyz/dymension/rollapp/genesis.pb.go similarity index 85% rename from third_party/dymension/rollapp/types/genesis.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/genesis.pb.go index 6c52485f5..84c1d4ad8 100644 --- a/third_party/dymension/rollapp/types/genesis.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/genesis.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/genesis.proto +// source: types/dymensionxyz/dymension/rollapp/genesis.proto -package types +package rollapp import ( fmt "fmt" @@ -39,7 +39,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_f4bf6d3c28914609, []int{0} + return fileDescriptor_cbb9c396fa138f1f, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,37 +121,39 @@ func init() { proto.RegisterType((*GenesisState)(nil), "dymensionxyz.dymension.rollapp.GenesisState") } -func init() { proto.RegisterFile("dymension/rollapp/genesis.proto", fileDescriptor_f4bf6d3c28914609) } +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/genesis.proto", fileDescriptor_cbb9c396fa138f1f) +} -var fileDescriptor_f4bf6d3c28914609 = []byte{ - // 421 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x4d, 0x6f, 0xda, 0x30, - 0x1c, 0xc6, 0x93, 0xf1, 0x32, 0xc9, 0x6c, 0x3b, 0x58, 0x3b, 0x44, 0x48, 0x33, 0x88, 0xc3, 0xc6, - 0x0e, 0x4b, 0x24, 0xd8, 0x79, 0x07, 0xb4, 0x37, 0x24, 0xd4, 0x17, 0x68, 0x2f, 0xed, 0x01, 0x19, - 0x30, 0xc1, 0x6a, 0xb0, 0xa3, 0xd8, 0x20, 0xe0, 0x53, 0xf4, 0xd0, 0x0f, 0xc5, 0x91, 0x63, 0x4f, - 0xa8, 0x82, 0x2f, 0x52, 0xe1, 0x38, 0x29, 0x2d, 0x85, 0x20, 0xf5, 0xe4, 0x58, 0x7e, 0xfe, 0xbf, - 0xdf, 0x23, 0x2b, 0x06, 0x85, 0xde, 0x74, 0x48, 0x98, 0xa0, 0x9c, 0x39, 0x01, 0xf7, 0x3c, 0xec, - 0xfb, 0x8e, 0x4b, 0x18, 0x11, 0x54, 0xd8, 0x7e, 0xc0, 0x25, 0x87, 0x28, 0x0e, 0x4c, 0xa6, 0x33, - 0x3b, 0xde, 0xd8, 0x3a, 0x9d, 0xff, 0xec, 0x72, 0x97, 0xab, 0xa8, 0xb3, 0xf9, 0x0a, 0xa7, 0xf2, - 0x68, 0x17, 0xeb, 0xe3, 0x00, 0x0f, 0x35, 0x35, 0xff, 0x8a, 0x56, 0xaf, 0x3a, 0x50, 0xda, 0x0d, - 0x08, 0x89, 0x25, 0x69, 0x53, 0xd6, 0x8f, 0x24, 0xe5, 0xbd, 0xdd, 0xdb, 0x32, 0xc0, 0x4c, 0xf4, - 0x49, 0xa0, 0x93, 0x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, 0x1f, 0x49, 0x0d, 0x1a, 0xdb, - 0x53, 0x5a, 0xf8, 0x02, 0x55, 0x3b, 0x99, 0xaf, 0x90, 0xb9, 0x58, 0x21, 0xf3, 0x61, 0x85, 0xcc, - 0xdb, 0x35, 0x32, 0x16, 0x6b, 0x64, 0xdc, 0xaf, 0x91, 0x71, 0xf5, 0xd3, 0xa5, 0x72, 0x30, 0xea, - 0xd8, 0x5d, 0x3e, 0x74, 0xb6, 0x45, 0x4f, 0x1b, 0x67, 0x5c, 0x75, 0x26, 0xf1, 0xcb, 0x91, 0x53, - 0x9f, 0x88, 0x4e, 0x56, 0xbd, 0x9b, 0xea, 0x63, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x1a, 0xa4, - 0x2f, 0x41, 0x04, 0x00, 0x00, +var fileDescriptor_cbb9c396fa138f1f = []byte{ + // 430 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcf, 0x6f, 0xda, 0x30, + 0x1c, 0xc5, 0x93, 0xf1, 0x63, 0x92, 0xd9, 0x76, 0xb0, 0x76, 0x88, 0x90, 0x96, 0x21, 0x0e, 0x1b, + 0x3b, 0x2c, 0xd1, 0x40, 0x3b, 0x55, 0xea, 0x01, 0xb5, 0xb4, 0x48, 0x48, 0x6d, 0xa1, 0xbd, 0xb4, + 0x07, 0xea, 0x80, 0x09, 0x56, 0x83, 0x1d, 0xc5, 0x06, 0x01, 0x7f, 0x45, 0x0f, 0xfd, 0xa3, 0x38, + 0x72, 0xec, 0x09, 0x55, 0xf0, 0x8f, 0x54, 0x38, 0x0e, 0xa5, 0xad, 0x4a, 0x52, 0xf5, 0xe4, 0x58, + 0x7e, 0xef, 0xf3, 0x9e, 0xad, 0x7c, 0x41, 0x59, 0x4c, 0x7c, 0xcc, 0xed, 0xee, 0x64, 0x80, 0x29, + 0x27, 0x8c, 0x8e, 0x27, 0xd3, 0xa7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0x62, 0xde, 0xa4, + 0xc2, 0x29, 0xf8, 0x11, 0x9e, 0xd5, 0x08, 0x45, 0x1e, 0x99, 0xe2, 0xae, 0x12, 0x45, 0xb1, 0x99, + 0x0f, 0xc4, 0xee, 0x46, 0xc3, 0x3b, 0x1d, 0x14, 0x1d, 0x8f, 0x75, 0x6e, 0x8e, 0x31, 0x71, 0xfb, + 0xe2, 0x9c, 0x29, 0x21, 0x12, 0x84, 0xd1, 0xb3, 0x21, 0x1e, 0x62, 0xd9, 0x20, 0x2b, 0x1b, 0xec, + 0xc7, 0x35, 0xa8, 0xee, 0x24, 0xa9, 0x46, 0x09, 0xf2, 0xe0, 0x15, 0xf8, 0x16, 0xfd, 0x95, 0x87, + 0x23, 0x4c, 0x05, 0x37, 0x3e, 0xcb, 0x06, 0x7f, 0xe3, 0x1a, 0x34, 0xb6, 0x5d, 0x2a, 0xf0, 0x05, + 0xaa, 0x7a, 0x3d, 0x5b, 0x9a, 0xfa, 0x7c, 0x69, 0xea, 0x0f, 0x4b, 0x53, 0xbf, 0x5d, 0x99, 0xda, + 0x7c, 0x65, 0x6a, 0xf7, 0x2b, 0x53, 0xbb, 0xac, 0xb9, 0x44, 0xf4, 0x87, 0x8e, 0xd5, 0x61, 0x83, + 0x57, 0x43, 0x43, 0xa8, 0xb0, 0xc3, 0x71, 0xf2, 0x9d, 0x98, 0x89, 0x72, 0xb2, 0x72, 0x92, 0x2a, + 0x8f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x44, 0x7a, 0x7f, 0x11, 0xc5, 0x04, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/third_party/dymension/rollapp/types/genesis_transfer.pb.go b/types/pb/dymensionxyz/dymension/rollapp/genesis_transfer.pb.go similarity index 82% rename from third_party/dymension/rollapp/types/genesis_transfer.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/genesis_transfer.pb.go index 687d3c360..1d55bd390 100644 --- a/third_party/dymension/rollapp/types/genesis_transfer.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/genesis_transfer.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/genesis_transfer.proto +// source: types/dymensionxyz/dymension/rollapp/genesis_transfer.proto -package types +package rollapp import ( fmt "fmt" @@ -37,7 +37,7 @@ func (m *GenesisTransfers) Reset() { *m = GenesisTransfers{} } func (m *GenesisTransfers) String() string { return proto.CompactTextString(m) } func (*GenesisTransfers) ProtoMessage() {} func (*GenesisTransfers) Descriptor() ([]byte, []int) { - return fileDescriptor_abbd5969075b03fa, []int{0} + return fileDescriptor_3bb8f835c5c771e5, []int{0} } func (m *GenesisTransfers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,28 +92,28 @@ func init() { } func init() { - proto.RegisterFile("dymension/rollapp/genesis_transfer.proto", fileDescriptor_abbd5969075b03fa) + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/genesis_transfer.proto", fileDescriptor_3bb8f835c5c771e5) } -var fileDescriptor_abbd5969075b03fa = []byte{ - // 257 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x48, 0xa9, 0xcc, 0x4d, - 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0xca, 0xcf, 0xc9, 0x49, 0x2c, 0x28, 0xd0, 0x4f, 0x4f, - 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0x8e, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xd2, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0xab, 0xac, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xa0, - 0xda, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4a, 0xf5, 0x41, 0x2c, 0x88, 0x2e, 0x29, 0x39, - 0x4c, 0xf3, 0x0b, 0x12, 0x8b, 0x12, 0x73, 0x8b, 0xa1, 0xf2, 0xf2, 0x98, 0xf2, 0x50, 0x1a, 0xaa, - 0x40, 0x09, 0x53, 0x41, 0x71, 0x49, 0x62, 0x49, 0x6a, 0x7c, 0x66, 0x5e, 0x1a, 0xd4, 0x12, 0xa5, - 0x3c, 0x2e, 0x01, 0x77, 0x88, 0xa3, 0x43, 0xa0, 0x6e, 0x2e, 0x16, 0x92, 0xe1, 0xe2, 0x84, 0xaa, - 0xf7, 0x74, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x42, 0x08, 0x08, 0x49, 0x71, 0x71, 0xe4, - 0x95, 0xe6, 0x86, 0xe4, 0x97, 0x24, 0xe6, 0x48, 0x30, 0x29, 0x30, 0x6a, 0xb0, 0x04, 0xc1, 0xf9, - 0x42, 0x0a, 0x5c, 0xdc, 0x79, 0xa5, 0xb9, 0x41, 0xa9, 0xc9, 0xa9, 0x99, 0x65, 0xa9, 0x29, 0x12, - 0xcc, 0x60, 0x69, 0x64, 0x21, 0x27, 0xbf, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, - 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, - 0x88, 0x32, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x47, 0x0e, 0x2f, - 0x04, 0x47, 0xbf, 0xcc, 0x58, 0xbf, 0x02, 0xee, 0x95, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, - 0xb0, 0x37, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x28, 0x1c, 0x26, 0x98, 0x8d, 0x01, 0x00, - 0x00, +var fileDescriptor_3bb8f835c5c771e5 = []byte{ + // 261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x2e, 0xa9, 0x2c, 0x48, + 0x2d, 0xd6, 0x4f, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, 0x42, 0x70, + 0xf4, 0x8b, 0xf2, 0x73, 0x72, 0x12, 0x0b, 0x0a, 0xf4, 0xd3, 0x53, 0xf3, 0x52, 0x8b, 0x33, 0x8b, + 0xe3, 0x4b, 0x8a, 0x12, 0xf3, 0x8a, 0xd3, 0x52, 0x8b, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, + 0xe4, 0x90, 0xb5, 0xe9, 0xc1, 0x39, 0x7a, 0x50, 0x6d, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, + 0xa5, 0xfa, 0x20, 0x16, 0x44, 0x97, 0x94, 0x21, 0x51, 0x56, 0x16, 0x24, 0x16, 0x25, 0xe6, 0x16, + 0x43, 0xb5, 0x18, 0x11, 0xa5, 0x05, 0x4a, 0x43, 0xf5, 0x98, 0x12, 0xa5, 0xa7, 0xb8, 0x24, 0xb1, + 0x24, 0x35, 0x3e, 0x33, 0x2f, 0x0d, 0xea, 0x3a, 0xa5, 0x3c, 0x2e, 0x01, 0x77, 0x88, 0x6f, 0x43, + 0xa0, 0x9e, 0x2d, 0x16, 0x92, 0xe1, 0xe2, 0x84, 0xaa, 0xf7, 0x74, 0x91, 0x60, 0x54, 0x60, 0xd4, + 0xe0, 0x0c, 0x42, 0x08, 0x08, 0x49, 0x71, 0x71, 0xe4, 0x95, 0xe6, 0x86, 0xe4, 0x97, 0x24, 0xe6, + 0x48, 0x30, 0x29, 0x30, 0x6a, 0xb0, 0x04, 0xc1, 0xf9, 0x42, 0x0a, 0x5c, 0xdc, 0x79, 0xa5, 0xb9, + 0x41, 0xa9, 0xc9, 0xa9, 0x99, 0x65, 0xa9, 0x29, 0x12, 0xcc, 0x60, 0x69, 0x64, 0x21, 0xa7, 0x84, + 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, + 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x4b, 0xcf, 0x2c, 0xc9, 0x28, + 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xc5, 0xf0, 0x45, 0x66, 0x5e, 0x89, 0x3e, 0xc4, 0x7f, 0x05, 0x49, + 0x04, 0xbc, 0x98, 0xc4, 0x06, 0xf6, 0x98, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe0, 0x9f, + 0x4b, 0xeb, 0x01, 0x00, 0x00, } func (m *GenesisTransfers) Marshal() (dAtA []byte, err error) { diff --git a/third_party/dymension/rollapp/types/keys.go b/types/pb/dymensionxyz/dymension/rollapp/keys.go similarity index 96% rename from third_party/dymension/rollapp/types/keys.go rename to types/pb/dymensionxyz/dymension/rollapp/keys.go index aadec02e2..ca4e7b64c 100644 --- a/third_party/dymension/rollapp/types/keys.go +++ b/types/pb/dymensionxyz/dymension/rollapp/keys.go @@ -1,4 +1,4 @@ -package types +package rollapp const ( // ModuleName defines the module name diff --git a/third_party/dymension/rollapp/types/liveness.pb.go b/types/pb/dymensionxyz/dymension/rollapp/liveness.pb.go similarity index 80% rename from third_party/dymension/rollapp/types/liveness.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/liveness.pb.go index a43a3cda3..a4579eb72 100644 --- a/third_party/dymension/rollapp/types/liveness.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/liveness.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/liveness.proto +// source: types/dymensionxyz/dymension/rollapp/liveness.proto -package types +package rollapp import ( fmt "fmt" @@ -38,7 +38,7 @@ func (m *LivenessEvent) Reset() { *m = LivenessEvent{} } func (m *LivenessEvent) String() string { return proto.CompactTextString(m) } func (*LivenessEvent) ProtoMessage() {} func (*LivenessEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_2246d0b8d3a7ee7a, []int{0} + return fileDescriptor_320371ac4381dc1d, []int{0} } func (m *LivenessEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,27 +92,30 @@ func init() { proto.RegisterType((*LivenessEvent)(nil), "dymensionxyz.dymension.rollapp.LivenessEvent") } -func init() { proto.RegisterFile("dymension/rollapp/liveness.proto", fileDescriptor_2246d0b8d3a7ee7a) } +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/liveness.proto", fileDescriptor_320371ac4381dc1d) +} -var fileDescriptor_2246d0b8d3a7ee7a = []byte{ - // 269 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x1c, 0xc5, 0x1b, 0x07, 0xd3, 0x16, 0xbc, 0x14, 0xc1, 0x32, 0x30, 0x94, 0x9d, 0x7a, 0x6a, 0x18, - 0xf3, 0x13, 0x08, 0x82, 0x8a, 0x78, 0xe8, 0xd1, 0x4b, 0x49, 0xda, 0xac, 0xfd, 0x4b, 0x9b, 0x94, - 0xfd, 0xd3, 0xb2, 0xfa, 0x29, 0xfc, 0x58, 0x1e, 0x77, 0xf4, 0x28, 0xed, 0x17, 0x91, 0x75, 0xb5, - 0x0a, 0xbb, 0xe5, 0xbd, 0xf7, 0xcb, 0xe3, 0x25, 0x8e, 0x9f, 0xb6, 0xa5, 0x54, 0x08, 0x5a, 0xb1, - 0xad, 0x2e, 0x0a, 0x5e, 0x55, 0xac, 0x80, 0x46, 0x2a, 0x89, 0x18, 0x56, 0x5b, 0x6d, 0xb4, 0x4b, - 0x27, 0x62, 0xd7, 0xbe, 0x87, 0x93, 0x08, 0x47, 0x7c, 0x71, 0x95, 0xe9, 0x4c, 0x0f, 0x28, 0x3b, - 0x9c, 0x8e, 0xb7, 0x16, 0xcb, 0xd3, 0x5e, 0x34, 0xdc, 0xc8, 0x18, 0xd4, 0xe6, 0x97, 0xa1, 0x89, - 0xc6, 0x52, 0x23, 0x13, 0x1c, 0x25, 0x6b, 0x56, 0x42, 0x1a, 0xbe, 0x62, 0x89, 0x06, 0x75, 0xcc, - 0x97, 0x1b, 0xe7, 0xf2, 0x79, 0xdc, 0x72, 0xdf, 0x48, 0x65, 0xdc, 0x1b, 0xc7, 0x19, 0xcb, 0x62, - 0x48, 0x3d, 0xe2, 0x93, 0xc0, 0x8e, 0xec, 0xd1, 0x79, 0x4c, 0x0f, 0x71, 0x5e, 0x8b, 0x38, 0x97, - 0x90, 0xe5, 0xc6, 0x3b, 0xf3, 0x49, 0x30, 0x8b, 0xec, 0xbc, 0x16, 0x0f, 0x83, 0xe1, 0x5e, 0x3b, - 0xe7, 0x80, 0xf1, 0x1b, 0x87, 0xc2, 0x9b, 0xf9, 0x24, 0xb8, 0x88, 0xe6, 0x80, 0x4f, 0x1c, 0x8a, - 0xbb, 0x97, 0xcf, 0x8e, 0x92, 0x7d, 0x47, 0xc9, 0x77, 0x47, 0xc9, 0x47, 0x4f, 0xad, 0x7d, 0x4f, - 0xad, 0xaf, 0x9e, 0x5a, 0xaf, 0xb7, 0x19, 0x98, 0xbc, 0x16, 0x61, 0xa2, 0x4b, 0xf6, 0xff, 0x1b, - 0xfe, 0x04, 0x6b, 0xd6, 0x6c, 0x37, 0x3d, 0xd1, 0xb4, 0x95, 0x44, 0x31, 0x1f, 0xe6, 0xaf, 0x7f, - 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xff, 0xb9, 0x45, 0x5c, 0x01, 0x00, 0x00, +var fileDescriptor_320371ac4381dc1d = []byte{ + // 277 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xcd, 0x4a, 0xc4, 0x30, + 0x14, 0x85, 0x1b, 0x07, 0x46, 0x5b, 0x70, 0x53, 0x04, 0xcb, 0x80, 0xa1, 0x88, 0x8b, 0xae, 0x1a, + 0x86, 0xc1, 0x17, 0x10, 0x14, 0x15, 0x57, 0x5d, 0xba, 0xa9, 0x49, 0x9b, 0x69, 0xaf, 0xb4, 0x49, + 0x99, 0x9b, 0x16, 0xeb, 0x53, 0xf8, 0x58, 0x2e, 0x67, 0xe9, 0x52, 0xda, 0x17, 0x91, 0x69, 0xeb, + 0x0f, 0xb8, 0xd0, 0x5d, 0xce, 0xc9, 0x77, 0x92, 0x7b, 0xae, 0xb3, 0x32, 0x6d, 0x25, 0x91, 0xa5, + 0x6d, 0x29, 0x15, 0x82, 0x56, 0x4f, 0xed, 0xf3, 0xb7, 0x60, 0x1b, 0x5d, 0x14, 0xbc, 0xaa, 0x58, + 0x01, 0x8d, 0x54, 0x12, 0x31, 0xac, 0x36, 0xda, 0x68, 0x97, 0xfe, 0xc4, 0xc3, 0x2f, 0x11, 0x4e, + 0xf8, 0xe2, 0x28, 0xd3, 0x99, 0x1e, 0x50, 0xb6, 0x3b, 0x8d, 0xa9, 0xc5, 0xf9, 0xbf, 0xbe, 0x42, + 0xc3, 0x8d, 0x8c, 0x41, 0xad, 0x3f, 0x63, 0x67, 0x63, 0x2c, 0xd1, 0x58, 0x6a, 0x64, 0x82, 0xa3, + 0x64, 0xcd, 0x52, 0x48, 0xc3, 0x97, 0x2c, 0xd1, 0xa0, 0x46, 0xea, 0x74, 0xed, 0x1c, 0xde, 0x4d, + 0x43, 0x5e, 0x36, 0x52, 0x19, 0xf7, 0xc4, 0x71, 0xa6, 0x27, 0x63, 0x48, 0x3d, 0xe2, 0x93, 0xc0, + 0x8e, 0xec, 0xc9, 0xb9, 0x49, 0x77, 0xd7, 0x79, 0x2d, 0xe2, 0x5c, 0x42, 0x96, 0x1b, 0x6f, 0xcf, + 0x27, 0xc1, 0x2c, 0xb2, 0xf3, 0x5a, 0x5c, 0x0f, 0x86, 0x7b, 0xec, 0xec, 0x03, 0xc6, 0x8f, 0x1c, + 0x0a, 0x6f, 0xe6, 0x93, 0xe0, 0x20, 0x9a, 0x03, 0xde, 0x72, 0x28, 0x2e, 0x1e, 0x5e, 0x3b, 0x4a, + 0xb6, 0x1d, 0x25, 0xef, 0x1d, 0x25, 0x2f, 0x3d, 0xb5, 0xb6, 0x3d, 0xb5, 0xde, 0x7a, 0x6a, 0xdd, + 0x5f, 0x65, 0x60, 0xf2, 0x5a, 0x84, 0x89, 0x2e, 0x7f, 0x75, 0x04, 0x65, 0xd8, 0x58, 0xa3, 0x12, + 0x7f, 0x2c, 0x40, 0xcc, 0x87, 0x42, 0xab, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x49, 0x75, 0xbc, + 0x39, 0x9a, 0x01, 0x00, 0x00, } func (m *LivenessEvent) Marshal() (dAtA []byte, err error) { diff --git a/third_party/dymension/rollapp/types/message_update_state.go b/types/pb/dymensionxyz/dymension/rollapp/message_update_state.go similarity index 99% rename from third_party/dymension/rollapp/types/message_update_state.go rename to types/pb/dymensionxyz/dymension/rollapp/message_update_state.go index 5ac362c2a..34fb6e606 100644 --- a/third_party/dymension/rollapp/types/message_update_state.go +++ b/types/pb/dymensionxyz/dymension/rollapp/message_update_state.go @@ -1,4 +1,4 @@ -package types +package rollapp import ( "math" diff --git a/types/pb/dymensionxyz/dymension/rollapp/metadata.pb.go b/types/pb/dymensionxyz/dymension/rollapp/metadata.pb.go new file mode 100644 index 000000000..58b0c3303 --- /dev/null +++ b/types/pb/dymensionxyz/dymension/rollapp/metadata.pb.go @@ -0,0 +1,1064 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: types/dymensionxyz/dymension/rollapp/metadata.proto + +package rollapp + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type RollappMetadata struct { + // website is the rollapp website + Website string `protobuf:"bytes,1,opt,name=website,proto3" json:"website,omitempty"` + // description is the rollapp description. should be limited to 512 chars + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + // logo_url is the rollapp logo url + LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` + // telegram is the rollapp telegram link + Telegram string `protobuf:"bytes,4,opt,name=telegram,proto3" json:"telegram,omitempty"` + // x is the rollapp twitter link + X string `protobuf:"bytes,5,opt,name=x,proto3" json:"x,omitempty"` + // genesis_url has the genesis file + GenesisUrl string `protobuf:"bytes,6,opt,name=genesis_url,json=genesisUrl,proto3" json:"genesis_url,omitempty"` + // display_name is a non semantic name for displaying on gui etc. Size limited. + DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // tagline is a non semantic tagline/catch-phrase. Size limited. + Tagline string `protobuf:"bytes,8,opt,name=tagline,proto3" json:"tagline,omitempty"` + // explorer_url is the rollapp's block explorer link + ExplorerUrl string `protobuf:"bytes,9,opt,name=explorer_url,json=explorerUrl,proto3" json:"explorer_url,omitempty"` + // fee_denom is the base denom for fees + FeeDenom *DenomMetadata `protobuf:"bytes,10,opt,name=fee_denom,json=feeDenom,proto3" json:"fee_denom,omitempty"` +} + +func (m *RollappMetadata) Reset() { *m = RollappMetadata{} } +func (m *RollappMetadata) String() string { return proto.CompactTextString(m) } +func (*RollappMetadata) ProtoMessage() {} +func (*RollappMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_69a2ba8a6a2b9b83, []int{0} +} +func (m *RollappMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RollappMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RollappMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RollappMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_RollappMetadata.Merge(m, src) +} +func (m *RollappMetadata) XXX_Size() int { + return m.Size() +} +func (m *RollappMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_RollappMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_RollappMetadata proto.InternalMessageInfo + +func (m *RollappMetadata) GetWebsite() string { + if m != nil { + return m.Website + } + return "" +} + +func (m *RollappMetadata) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *RollappMetadata) GetLogoUrl() string { + if m != nil { + return m.LogoUrl + } + return "" +} + +func (m *RollappMetadata) GetTelegram() string { + if m != nil { + return m.Telegram + } + return "" +} + +func (m *RollappMetadata) GetX() string { + if m != nil { + return m.X + } + return "" +} + +func (m *RollappMetadata) GetGenesisUrl() string { + if m != nil { + return m.GenesisUrl + } + return "" +} + +func (m *RollappMetadata) GetDisplayName() string { + if m != nil { + return m.DisplayName + } + return "" +} + +func (m *RollappMetadata) GetTagline() string { + if m != nil { + return m.Tagline + } + return "" +} + +func (m *RollappMetadata) GetExplorerUrl() string { + if m != nil { + return m.ExplorerUrl + } + return "" +} + +func (m *RollappMetadata) GetFeeDenom() *DenomMetadata { + if m != nil { + return m.FeeDenom + } + return nil +} + +type DenomMetadata struct { + Display string `protobuf:"bytes,1,opt,name=display,proto3" json:"display,omitempty"` + Base string `protobuf:"bytes,2,opt,name=base,proto3" json:"base,omitempty"` + Exponent uint32 `protobuf:"varint,3,opt,name=exponent,proto3" json:"exponent,omitempty"` +} + +func (m *DenomMetadata) Reset() { *m = DenomMetadata{} } +func (m *DenomMetadata) String() string { return proto.CompactTextString(m) } +func (*DenomMetadata) ProtoMessage() {} +func (*DenomMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_69a2ba8a6a2b9b83, []int{1} +} +func (m *DenomMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DenomMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DenomMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_DenomMetadata.Merge(m, src) +} +func (m *DenomMetadata) XXX_Size() int { + return m.Size() +} +func (m *DenomMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_DenomMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_DenomMetadata proto.InternalMessageInfo + +func (m *DenomMetadata) GetDisplay() string { + if m != nil { + return m.Display + } + return "" +} + +func (m *DenomMetadata) GetBase() string { + if m != nil { + return m.Base + } + return "" +} + +func (m *DenomMetadata) GetExponent() uint32 { + if m != nil { + return m.Exponent + } + return 0 +} + +func init() { + proto.RegisterType((*RollappMetadata)(nil), "dymensionxyz.dymension.rollapp.RollappMetadata") + proto.RegisterType((*DenomMetadata)(nil), "dymensionxyz.dymension.rollapp.DenomMetadata") +} + +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/metadata.proto", fileDescriptor_69a2ba8a6a2b9b83) +} + +var fileDescriptor_69a2ba8a6a2b9b83 = []byte{ + // 373 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbf, 0xce, 0xd3, 0x30, + 0x14, 0xc5, 0xeb, 0x8f, 0xd2, 0xa6, 0x6e, 0x2b, 0x24, 0x4f, 0x86, 0x21, 0x94, 0x4e, 0x5d, 0x48, + 0x24, 0xfa, 0x06, 0x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, 0x48, 0xaf, 0xbd, 0x63, 0x0d, 0xf8, + 0x4f, 0x38, 0x56, 0x0b, 0x2e, 0x81, 0x26, 0xfd, 0x1d, 0x11, 0xfd, 0x30, 0xb4, 0x5a, 0x28, 0x03, + 0x26, 0xac, 0x9f, 0xf5, 0xc3, 0x83, 0xe6, 0xf7, 0xbf, 0xc1, 0xb3, 0x03, 0xc0, 0xae, 0x02, 0xa9, + 0x1a, 0x8a, 0x57, 0x68, 0x33, 0x7f, 0xf1, 0x3c, 0xfb, 0xbf, 0x93, 0xd9, 0x2b, 0xdf, 0x3c, 0x78, + 0x58, 0x24, 0x07, 0x80, 0xa0, 0xac, 0x3f, 0xe0, 0xe5, 0x5f, 0x25, 0x7f, 0x59, 0x3c, 0x74, 0xb0, + 0x37, 0x22, 0x21, 0x78, 0x5c, 0x32, 0x0b, 0xd1, 0xd7, 0xf0, 0xf6, 0xae, 0x41, 0xab, 0x95, 0x04, + 0xe9, 0x82, 0xa1, 0xcb, 0xe2, 0xca, 0x2f, 0x3f, 0x7d, 0x3f, 0xa7, 0xe8, 0x74, 0x4e, 0xd1, 0xaf, + 0x73, 0x8a, 0xbe, 0x5d, 0xd2, 0xd1, 0xe9, 0x92, 0x8e, 0x7e, 0x5c, 0xd2, 0xd1, 0xc7, 0xd7, 0x35, + 0x77, 0x9f, 0x8f, 0x65, 0xb6, 0x57, 0xcd, 0x3f, 0x81, 0xe1, 0xd2, 0xe5, 0x7d, 0x94, 0x74, 0x79, + 0x4f, 0x9a, 0xca, 0x49, 0x48, 0xd1, 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x85, 0xf6, + 0x81, 0x7c, 0x02, 0x00, 0x00, +} + +func (m *RollappMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RollappMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RollappMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.FeeDenom != nil { + { + size, err := m.FeeDenom.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintMetadata(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if len(m.ExplorerUrl) > 0 { + i -= len(m.ExplorerUrl) + copy(dAtA[i:], m.ExplorerUrl) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.ExplorerUrl))) + i-- + dAtA[i] = 0x4a + } + if len(m.Tagline) > 0 { + i -= len(m.Tagline) + copy(dAtA[i:], m.Tagline) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Tagline))) + i-- + dAtA[i] = 0x42 + } + if len(m.DisplayName) > 0 { + i -= len(m.DisplayName) + copy(dAtA[i:], m.DisplayName) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.DisplayName))) + i-- + dAtA[i] = 0x3a + } + if len(m.GenesisUrl) > 0 { + i -= len(m.GenesisUrl) + copy(dAtA[i:], m.GenesisUrl) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.GenesisUrl))) + i-- + dAtA[i] = 0x32 + } + if len(m.X) > 0 { + i -= len(m.X) + copy(dAtA[i:], m.X) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.X))) + i-- + dAtA[i] = 0x2a + } + if len(m.Telegram) > 0 { + i -= len(m.Telegram) + copy(dAtA[i:], m.Telegram) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Telegram))) + i-- + dAtA[i] = 0x22 + } + if len(m.LogoUrl) > 0 { + i -= len(m.LogoUrl) + copy(dAtA[i:], m.LogoUrl) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.LogoUrl))) + i-- + dAtA[i] = 0x1a + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x12 + } + if len(m.Website) > 0 { + i -= len(m.Website) + copy(dAtA[i:], m.Website) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Website))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DenomMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DenomMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Exponent != 0 { + i = encodeVarintMetadata(dAtA, i, uint64(m.Exponent)) + i-- + dAtA[i] = 0x18 + } + if len(m.Base) > 0 { + i -= len(m.Base) + copy(dAtA[i:], m.Base) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Base))) + i-- + dAtA[i] = 0x12 + } + if len(m.Display) > 0 { + i -= len(m.Display) + copy(dAtA[i:], m.Display) + i = encodeVarintMetadata(dAtA, i, uint64(len(m.Display))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintMetadata(dAtA []byte, offset int, v uint64) int { + offset -= sovMetadata(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *RollappMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Website) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.LogoUrl) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.Telegram) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.X) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.GenesisUrl) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.DisplayName) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.Tagline) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.ExplorerUrl) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + if m.FeeDenom != nil { + l = m.FeeDenom.Size() + n += 1 + l + sovMetadata(uint64(l)) + } + return n +} + +func (m *DenomMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Display) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + l = len(m.Base) + if l > 0 { + n += 1 + l + sovMetadata(uint64(l)) + } + if m.Exponent != 0 { + n += 1 + sovMetadata(uint64(m.Exponent)) + } + return n +} + +func sovMetadata(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozMetadata(x uint64) (n int) { + return sovMetadata(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *RollappMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RollappMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RollappMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Website", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Website = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LogoUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LogoUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Telegram", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Telegram = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field X", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.X = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GenesisUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GenesisUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DisplayName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DisplayName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tagline", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tagline = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExplorerUrl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExplorerUrl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeDenom", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FeeDenom == nil { + m.FeeDenom = &DenomMetadata{} + } + if err := m.FeeDenom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipMetadata(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthMetadata + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DenomMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DenomMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DenomMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Display", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Display = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Base", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthMetadata + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthMetadata + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Base = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Exponent", wireType) + } + m.Exponent = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetadata + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Exponent |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipMetadata(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthMetadata + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipMetadata(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowMetadata + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthMetadata + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupMetadata + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthMetadata + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupMetadata = fmt.Errorf("proto: unexpected end of group") +) diff --git a/third_party/dymension/rollapp/types/params.go b/types/pb/dymensionxyz/dymension/rollapp/params.go similarity index 90% rename from third_party/dymension/rollapp/types/params.go rename to types/pb/dymensionxyz/dymension/rollapp/params.go index 45f4172cb..f12bb0f0b 100644 --- a/third_party/dymension/rollapp/types/params.go +++ b/types/pb/dymensionxyz/dymension/rollapp/params.go @@ -1,4 +1,4 @@ -package types +package rollapp import "gopkg.in/yaml.v2" diff --git a/third_party/dymension/rollapp/types/params.pb.go b/types/pb/dymensionxyz/dymension/rollapp/params.pb.go similarity index 60% rename from third_party/dymension/rollapp/types/params.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/params.pb.go index 2146385c9..4a5deddbd 100644 --- a/third_party/dymension/rollapp/types/params.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/params.pb.go @@ -1,11 +1,11 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/params.proto +// source: types/dymensionxyz/dymension/rollapp/params.proto -package types +package rollapp import ( fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types" + types "github.com/cosmos/cosmos-sdk/types" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" io "io" @@ -36,12 +36,16 @@ type Params struct { LivenessSlashInterval uint64 `protobuf:"varint,5,opt,name=liveness_slash_interval,json=livenessSlashInterval,proto3" json:"liveness_slash_interval,omitempty" yaml:"liveness_slash_interval"` // The time (num hub blocks) a sequencer can be down after which he will be jailed rather than slashed LivenessJailBlocks uint64 `protobuf:"varint,6,opt,name=liveness_jail_blocks,json=livenessJailBlocks,proto3" json:"liveness_jail_blocks,omitempty" yaml:"liveness_jail_blocks"` + // app_registration_fee is the fee for registering an App + AppRegistrationFee types.Coin `protobuf:"bytes,7,opt,name=app_registration_fee,json=appRegistrationFee,proto3" json:"app_registration_fee" yaml:"app_registration_fee"` + // state_info_deletion_epoch_identifier is used to control the interval at which the state info records will be deleted. + StateInfoDeletionEpochIdentifier string `protobuf:"bytes,8,opt,name=state_info_deletion_epoch_identifier,json=stateInfoDeletionEpochIdentifier,proto3" json:"state_info_deletion_epoch_identifier,omitempty" yaml:"state_info_deletion_epoch_identifier"` } func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_8a5e294b0dff70d2, []int{0} + return fileDescriptor_1d6d29d965f18d4f, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -98,37 +102,61 @@ func (m *Params) GetLivenessJailBlocks() uint64 { return 0 } +func (m *Params) GetAppRegistrationFee() types.Coin { + if m != nil { + return m.AppRegistrationFee + } + return types.Coin{} +} + +func (m *Params) GetStateInfoDeletionEpochIdentifier() string { + if m != nil { + return m.StateInfoDeletionEpochIdentifier + } + return "" +} + func init() { proto.RegisterType((*Params)(nil), "dymensionxyz.dymension.rollapp.Params") } -func init() { proto.RegisterFile("dymension/rollapp/params.proto", fileDescriptor_8a5e294b0dff70d2) } +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/params.proto", fileDescriptor_1d6d29d965f18d4f) +} -var fileDescriptor_8a5e294b0dff70d2 = []byte{ - // 364 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x31, 0x6f, 0xb2, 0x40, - 0x18, 0xc7, 0x41, 0x79, 0x8d, 0x61, 0x32, 0xbc, 0x9a, 0xd7, 0xf8, 0x36, 0x87, 0xa1, 0x4b, 0x27, - 0x2e, 0xc6, 0x4e, 0x8e, 0x6e, 0x3a, 0x34, 0x96, 0x76, 0x32, 0x4d, 0xc8, 0x81, 0x17, 0xbd, 0xf6, - 0xe0, 0x08, 0x87, 0x44, 0xfa, 0x29, 0x3a, 0x76, 0xec, 0xc7, 0xe9, 0xe8, 0xd8, 0x89, 0x34, 0xfa, - 0x0d, 0xd8, 0x9b, 0x34, 0x1e, 0xa0, 0xd6, 0xd8, 0x8d, 0xfb, 0xff, 0x7f, 0xf7, 0xe3, 0x49, 0x9e, - 0x53, 0xc1, 0x2c, 0xf1, 0xb0, 0xcf, 0x09, 0xf3, 0x61, 0xc8, 0x28, 0x45, 0x41, 0x00, 0x03, 0x14, - 0x22, 0x8f, 0x9b, 0x41, 0xc8, 0x22, 0xa6, 0x1d, 0xfa, 0x55, 0xf2, 0x6c, 0xee, 0x0f, 0x66, 0x01, - 0x77, 0x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x3a, 0x56, 0xea, 0xd5, 0x86, 0x32, 0xbc, 0x79, 0xdf, - 0x00, 0x79, 0xbd, 0x01, 0xf2, 0xe7, 0x06, 0xc8, 0x2f, 0x5b, 0x20, 0xad, 0xb7, 0x40, 0xfa, 0xd8, - 0x02, 0x69, 0x7a, 0x3d, 0x27, 0xd1, 0x62, 0xe9, 0x98, 0x2e, 0xf3, 0xe0, 0xf1, 0xea, 0x0f, 0x07, - 0x18, 0xf7, 0xe1, 0x6a, 0xff, 0x58, 0xa2, 0x24, 0xc0, 0xdc, 0xa9, 0x89, 0xb5, 0xf6, 0xbf, 0x03, - 0x00, 0x00, 0xff, 0xff, 0x54, 0x12, 0x48, 0xc3, 0x4e, 0x02, 0x00, 0x00, +var fileDescriptor_1d6d29d965f18d4f = []byte{ + // 489 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xc1, 0x6e, 0xd3, 0x30, + 0x18, 0xc7, 0x1b, 0x16, 0x46, 0x09, 0x97, 0x29, 0xb4, 0x22, 0x0c, 0x94, 0x44, 0xd9, 0x0e, 0x95, + 0x90, 0x12, 0x15, 0x6e, 0x3b, 0x06, 0x98, 0xd4, 0x9e, 0x46, 0xe0, 0x34, 0x21, 0x05, 0x27, 0xf9, + 0xda, 0x1a, 0x1c, 0xdb, 0x8a, 0xbd, 0x8a, 0x72, 0xe1, 0x15, 0x38, 0x72, 0xe4, 0x71, 0x76, 0xdc, + 0x91, 0x53, 0x84, 0xda, 0x17, 0x40, 0x79, 0x02, 0x54, 0x27, 0xe9, 0xca, 0x28, 0x82, 0x9b, 0xfd, + 0xf7, 0xef, 0xfb, 0x7d, 0x96, 0x3e, 0xdb, 0x18, 0xca, 0x05, 0x07, 0x11, 0x64, 0x8b, 0x1c, 0xa8, + 0xc0, 0x8c, 0x7e, 0x5c, 0x7c, 0xba, 0xde, 0x04, 0x05, 0x23, 0x04, 0x71, 0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9, 0xaf, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x90, 0x19, 0x03, 0x5c, 0x6c, 0x03, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -151,6 +179,23 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.StateInfoDeletionEpochIdentifier) > 0 { + i -= len(m.StateInfoDeletionEpochIdentifier) + copy(dAtA[i:], m.StateInfoDeletionEpochIdentifier) + i = encodeVarintParams(dAtA, i, uint64(len(m.StateInfoDeletionEpochIdentifier))) + i-- + dAtA[i] = 0x42 + } + { + size, err := m.AppRegistrationFee.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintParams(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a if m.LivenessJailBlocks != 0 { i = encodeVarintParams(dAtA, i, uint64(m.LivenessJailBlocks)) i-- @@ -203,6 +248,12 @@ func (m *Params) Size() (n int) { if m.LivenessJailBlocks != 0 { n += 1 + sovParams(uint64(m.LivenessJailBlocks)) } + l = m.AppRegistrationFee.Size() + n += 1 + l + sovParams(uint64(l)) + l = len(m.StateInfoDeletionEpochIdentifier) + if l > 0 { + n += 1 + l + sovParams(uint64(l)) + } return n } @@ -317,6 +368,71 @@ func (m *Params) Unmarshal(dAtA []byte) error { break } } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AppRegistrationFee", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AppRegistrationFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateInfoDeletionEpochIdentifier", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowParams + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthParams + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthParams + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateInfoDeletionEpochIdentifier = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) diff --git a/third_party/dymension/rollapp/types/query.pb.go b/types/pb/dymensionxyz/dymension/rollapp/query.pb.go similarity index 88% rename from third_party/dymension/rollapp/types/query.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/query.pb.go index 7bd7cadd8..ef6c13d40 100644 --- a/third_party/dymension/rollapp/types/query.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/query.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/query.proto +// source: types/dymensionxyz/dymension/rollapp/query.proto -package types +package rollapp import ( context "context" @@ -10,7 +10,6 @@ import ( _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" - _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -38,7 +37,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_6816c5236b322a4f, []int{0} + return fileDescriptor_20818724c4f98326, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +76,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_6816c5236b322a4f, []int{1} + return fileDescriptor_20818724c4f98326, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,13 +114,15 @@ func (m *QueryParamsResponse) GetParams() Params { type QueryGetRollappRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` + // omit_apps is an optional flag to omit the list of apps in the response + OmitApps bool `protobuf:"varint,2,opt,name=omit_apps,json=omitApps,proto3" json:"omit_apps,omitempty"` } func (m *QueryGetRollappRequest) Reset() { *m = QueryGetRollappRequest{} } func (m *QueryGetRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRollappRequest) ProtoMessage() {} func (*QueryGetRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{2} + return fileDescriptor_20818724c4f98326, []int{2} } func (m *QueryGetRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,15 +158,24 @@ func (m *QueryGetRollappRequest) GetRollappId() string { return "" } +func (m *QueryGetRollappRequest) GetOmitApps() bool { + if m != nil { + return m.OmitApps + } + return false +} + type QueryGetRollappByEIP155Request struct { Eip155 uint64 `protobuf:"varint,1,opt,name=eip155,proto3" json:"eip155,omitempty"` + // omit_apps is an optional flag to omit the list of apps in the response + OmitApps bool `protobuf:"varint,2,opt,name=omit_apps,json=omitApps,proto3" json:"omit_apps,omitempty"` } func (m *QueryGetRollappByEIP155Request) Reset() { *m = QueryGetRollappByEIP155Request{} } func (m *QueryGetRollappByEIP155Request) String() string { return proto.CompactTextString(m) } func (*QueryGetRollappByEIP155Request) ProtoMessage() {} func (*QueryGetRollappByEIP155Request) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{3} + return fileDescriptor_20818724c4f98326, []int{3} } func (m *QueryGetRollappByEIP155Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -201,6 +211,13 @@ func (m *QueryGetRollappByEIP155Request) GetEip155() uint64 { return 0 } +func (m *QueryGetRollappByEIP155Request) GetOmitApps() bool { + if m != nil { + return m.OmitApps + } + return false +} + type QueryGetLatestHeightRequest struct { RollappId string `protobuf:"bytes,1,opt,name=rollappId,proto3" json:"rollappId,omitempty"` Finalized bool `protobuf:"varint,2,opt,name=finalized,proto3" json:"finalized,omitempty"` @@ -210,7 +227,7 @@ func (m *QueryGetLatestHeightRequest) Reset() { *m = QueryGetLatestHeigh func (m *QueryGetLatestHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestHeightRequest) ProtoMessage() {} func (*QueryGetLatestHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{4} + return fileDescriptor_20818724c4f98326, []int{4} } func (m *QueryGetLatestHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -261,7 +278,7 @@ func (m *QueryGetLatestHeightResponse) Reset() { *m = QueryGetLatestHeig func (m *QueryGetLatestHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestHeightResponse) ProtoMessage() {} func (*QueryGetLatestHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{5} + return fileDescriptor_20818724c4f98326, []int{5} } func (m *QueryGetLatestHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -306,7 +323,7 @@ func (m *QueryGetLatestStateIndexRequest) Reset() { *m = QueryGetLatestS func (m *QueryGetLatestStateIndexRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestStateIndexRequest) ProtoMessage() {} func (*QueryGetLatestStateIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{6} + return fileDescriptor_20818724c4f98326, []int{6} } func (m *QueryGetLatestStateIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,7 +374,7 @@ func (m *QueryGetLatestStateIndexResponse) Reset() { *m = QueryGetLatest func (m *QueryGetLatestStateIndexResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestStateIndexResponse) ProtoMessage() {} func (*QueryGetLatestStateIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{7} + return fileDescriptor_20818724c4f98326, []int{7} } func (m *QueryGetLatestStateIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -394,20 +411,17 @@ func (m *QueryGetLatestStateIndexResponse) GetStateIndex() StateInfoIndex { } type QueryGetRollappResponse struct { - Rollapp Rollapp `protobuf:"bytes,1,opt,name=rollapp,proto3" json:"rollapp"` - // Defines the index of the last rollapp UpdateState. - LatestStateIndex *StateInfoIndex `protobuf:"bytes,2,opt,name=latestStateIndex,proto3" json:"latestStateIndex,omitempty"` - // Defines the index of the last rollapp UpdateState that was finalized. - LatestFinalizedStateIndex *StateInfoIndex `protobuf:"bytes,3,opt,name=latestFinalizedStateIndex,proto3" json:"latestFinalizedStateIndex,omitempty"` - LatestHeight uint64 `protobuf:"varint,4,opt,name=latestHeight,proto3" json:"latestHeight,omitempty"` - LatestFinalizedHeight uint64 `protobuf:"varint,5,opt,name=latestFinalizedHeight,proto3" json:"latestFinalizedHeight,omitempty"` + Rollapp Rollapp `protobuf:"bytes,1,opt,name=rollapp,proto3" json:"rollapp"` + Summary RollappSummary `protobuf:"bytes,6,opt,name=summary,proto3" json:"summary"` + // apps is the list of (lazy-loaded) apps in the rollapp + Apps []*App `protobuf:"bytes,7,rep,name=apps,proto3" json:"apps,omitempty"` } func (m *QueryGetRollappResponse) Reset() { *m = QueryGetRollappResponse{} } func (m *QueryGetRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRollappResponse) ProtoMessage() {} func (*QueryGetRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{8} + return fileDescriptor_20818724c4f98326, []int{8} } func (m *QueryGetRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -443,43 +457,31 @@ func (m *QueryGetRollappResponse) GetRollapp() Rollapp { return Rollapp{} } -func (m *QueryGetRollappResponse) GetLatestStateIndex() *StateInfoIndex { +func (m *QueryGetRollappResponse) GetSummary() RollappSummary { if m != nil { - return m.LatestStateIndex + return m.Summary } - return nil + return RollappSummary{} } -func (m *QueryGetRollappResponse) GetLatestFinalizedStateIndex() *StateInfoIndex { +func (m *QueryGetRollappResponse) GetApps() []*App { if m != nil { - return m.LatestFinalizedStateIndex + return m.Apps } return nil } -func (m *QueryGetRollappResponse) GetLatestHeight() uint64 { - if m != nil { - return m.LatestHeight - } - return 0 -} - -func (m *QueryGetRollappResponse) GetLatestFinalizedHeight() uint64 { - if m != nil { - return m.LatestFinalizedHeight - } - return 0 -} - type QueryAllRollappRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` + // omit_apps is an optional flag to omit the list of apps in the response + OmitApps bool `protobuf:"varint,2,opt,name=omit_apps,json=omitApps,proto3" json:"omit_apps,omitempty"` } func (m *QueryAllRollappRequest) Reset() { *m = QueryAllRollappRequest{} } func (m *QueryAllRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRollappRequest) ProtoMessage() {} func (*QueryAllRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{9} + return fileDescriptor_20818724c4f98326, []int{9} } func (m *QueryAllRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -515,16 +517,23 @@ func (m *QueryAllRollappRequest) GetPagination() *query.PageRequest { return nil } +func (m *QueryAllRollappRequest) GetOmitApps() bool { + if m != nil { + return m.OmitApps + } + return false +} + type QueryAllRollappResponse struct { - Rollapp []RollappSummary `protobuf:"bytes,1,rep,name=rollapp,proto3" json:"rollapp"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` + Rollapp []QueryGetRollappResponse `protobuf:"bytes,3,rep,name=rollapp,proto3" json:"rollapp"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryAllRollappResponse) Reset() { *m = QueryAllRollappResponse{} } func (m *QueryAllRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRollappResponse) ProtoMessage() {} func (*QueryAllRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{10} + return fileDescriptor_20818724c4f98326, []int{10} } func (m *QueryAllRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -553,7 +562,7 @@ func (m *QueryAllRollappResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllRollappResponse proto.InternalMessageInfo -func (m *QueryAllRollappResponse) GetRollapp() []RollappSummary { +func (m *QueryAllRollappResponse) GetRollapp() []QueryGetRollappResponse { if m != nil { return m.Rollapp } @@ -578,7 +587,7 @@ func (m *QueryGetStateInfoRequest) Reset() { *m = QueryGetStateInfoReque func (m *QueryGetStateInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoRequest) ProtoMessage() {} func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{11} + return fileDescriptor_20818724c4f98326, []int{11} } func (m *QueryGetStateInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -643,7 +652,7 @@ func (m *QueryGetStateInfoResponse) Reset() { *m = QueryGetStateInfoResp func (m *QueryGetStateInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoResponse) ProtoMessage() {} func (*QueryGetStateInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6816c5236b322a4f, []int{12} + return fileDescriptor_20818724c4f98326, []int{12} } func (m *QueryGetStateInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -695,67 +704,63 @@ func init() { proto.RegisterType((*QueryGetStateInfoResponse)(nil), "dymensionxyz.dymension.rollapp.QueryGetStateInfoResponse") } -func init() { proto.RegisterFile("dymension/rollapp/query.proto", fileDescriptor_6816c5236b322a4f) } - -var fileDescriptor_6816c5236b322a4f = []byte{ - // 900 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4d, 0x4f, 0x33, 0x55, - 0x14, 0xee, 0xd0, 0xd2, 0xd7, 0x1e, 0xdf, 0x44, 0x72, 0x45, 0x2c, 0x15, 0x07, 0x32, 0x0b, 0x3e, - 0x5c, 0xcc, 0xa4, 0x94, 0xf2, 0x11, 0x0c, 0x02, 0x51, 0x90, 0x44, 0x09, 0x0e, 0x6e, 0xc4, 0x18, - 0x9c, 0xd2, 0xcb, 0x30, 0x66, 0x3a, 0x33, 0x74, 0xa6, 0xa4, 0x85, 0xb0, 0x31, 0xc6, 0xb5, 0x89, - 0xbf, 0xc0, 0x3f, 0xe0, 0xc2, 0x8d, 0x3f, 0xc0, 0x0d, 0x0b, 0x17, 0x24, 0x26, 0xc6, 0x8d, 0xc6, - 0x80, 0x3f, 0xc4, 0xf4, 0xde, 0x33, 0xd3, 0xf9, 0x68, 0xed, 0xb4, 0x71, 0xd5, 0xce, 0xbd, 0xe7, - 0x79, 0xce, 0x73, 0xee, 0x39, 0xf7, 0x9c, 0x0b, 0x6f, 0xd7, 0x3b, 0x0d, 0x6a, 0xb9, 0x86, 0x6d, - 0x29, 0x4d, 0xdb, 0x34, 0x35, 0xc7, 0x51, 0xae, 0x5b, 0xb4, 0xd9, 0x91, 0x9d, 0xa6, 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0xf6, 0x4c, 0x33, 0x76, 0xcd, 0x0e, - 0x00, 0x7a, 0xcd, 0x26, 0xb8, 0xca, 0xbc, 0x33, 0xc9, 0xdd, 0xce, 0x24, 0xf3, 0x36, 0x88, 0x9d, - 0x49, 0x3e, 0xd1, 0x74, 0x8a, 0x58, 0x35, 0x84, 0x94, 0x7e, 0x12, 0x30, 0xd5, 0x61, 0x17, 0x98, - 0xea, 0xe3, 0x70, 0xaa, 0xb3, 0x69, 0xce, 0x0c, 0x19, 0x4e, 0x5b, 0x8d, 0x86, 0xd6, 0xec, 0xc4, - 0x33, 0x7e, 0x18, 0xd1, 0x3c, 0x81, 0xd5, 0x33, 0x4c, 0x33, 0x17, 0x13, 0x11, 0xfd, 0x8d, 0x00, - 0x45, 0xbf, 0x3e, 0x83, 0x34, 0xa5, 0xbb, 0x72, 0xd3, 0x30, 0x69, 0x04, 0xa5, 0x96, 0x53, 0xf9, - 0x47, 0xe8, 0x86, 0x67, 0xc3, 0x37, 0x3c, 0x7a, 0x41, 0x73, 0xf1, 0x0b, 0xfa, 0x15, 0xcc, 0xf6, - 0x51, 0x81, 0x87, 0xf7, 0x31, 0x14, 0x5c, 0x7f, 0x11, 0xf3, 0xb3, 0x92, 0xba, 0xe4, 0xf0, 0xe4, - 0x7a, 0x0c, 0xab, 0xbf, 0x03, 0x4c, 0x32, 0x67, 0xe4, 0x07, 0x01, 0xf2, 0xbc, 0x27, 0x93, 0xd5, - 0x61, 0x84, 0xc9, 0xb1, 0x50, 0xaa, 0x8c, 0x84, 0xe1, 0xc1, 0x48, 0xf2, 0xd7, 0xbf, 0xfd, 0xf3, - 0xfd, 0xc4, 0x32, 0x59, 0x54, 0xc2, 0x60, 0x65, 0xd0, 0x70, 0x23, 0x3f, 0x0b, 0xf0, 0x02, 0x6b, - 0x81, 0xac, 0xa7, 0x72, 0x98, 0x18, 0x24, 0xa5, 0x8d, 0x91, 0x71, 0x28, 0x76, 0x9b, 0x89, 0xad, - 0x92, 0xca, 0x30,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 0x16, 0x33, 0x67, 0x6b, 0xba, 0xe1, 0x5d, - 0xb5, 0x6a, 0xf2, 0x85, 0xdd, 0x18, 0xe4, 0xe3, 0xa6, 0xa2, 0xb4, 0x03, 0x47, 0x5e, 0xc7, 0xa1, - 0x6e, 0x2d, 0xcf, 0xde, 0xe4, 0x95, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x05, 0x4c, 0xda, 0x84, - 0x99, 0x0c, 0x00, 0x00, +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/query.proto", fileDescriptor_20818724c4f98326) +} + +var fileDescriptor_20818724c4f98326 = []byte{ + // 809 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4b, 0x4f, 0x13, 0x51, + 0x14, 0xee, 0x94, 0xd2, 0xc7, 0xc1, 0x44, 0x72, 0x25, 0x58, 0x0b, 0x19, 0x9a, 0x31, 0x51, 0xdc, + 0xcc, 0xd8, 0x92, 0xa2, 0xc6, 0x67, 0x89, 0x82, 0x10, 0x35, 0x38, 0x68, 0x8c, 0x1a, 0x83, 0x53, + 0x7a, 0x29, 0x63, 0x3a, 0x0f, 0x7a, 0xa7, 0x86, 0x12, 0x8d, 0x89, 0x71, 0xa7, 0x0b, 0x77, 0xfe, + 0x14, 0xd7, 0xee, 0x58, 0xb2, 0x74, 0x65, 0x0c, 0xfc, 0x08, 0xb7, 0xa6, 0x73, 0xcf, 0x4c, 0xa7, + 0x53, 0xa0, 0xd3, 0xea, 0xaa, 0xbd, 0x27, 0xf3, 0x7d, 0xe7, 0x3b, 0xcf, 0x7b, 0xe1, 0xb2, 0xd3, + 0xb2, 0x29, 0x53, 0xaa, 0x2d, 0x83, 0x9a, 0x4c, 0xb7, 0xcc, 0x9d, 0xd6, 0x6e, 0xe7, 0xa0, 0x34, + 0xac, 0x7a, 0x5d, 0xb3, 0x6d, 0x65, 0xbb, 0x49, 0x1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0x22, 0xe7, 0x03, 0x00, 0x1a, + 0xcb, 0xf5, 0x7a, 0xc4, 0x7c, 0xf4, 0x4c, 0x7b, 0x44, 0x01, 0xbd, 0x53, 0x2a, 0xc5, 0xc8, 0x67, + 0x01, 0x4e, 0x05, 0xaf, 0x11, 0x72, 0x3d, 0x6a, 0x30, 0x47, 0xdc, 0x6b, 0xb9, 0x1b, 0xc3, 0x81, + 0x7d, 0x35, 0xdf, 0x04, 0x18, 0x0f, 0xdf, 0x1e, 0xe4, 0xf6, 0x60, 0xa4, 0x3d, 0xd7, 0x5a, 0xee, + 0xce, 0xf0, 0x04, 0xbe, 0xb2, 0x8f, 0x02, 0x64, 0xfc, 0x99, 0x22, 0x57, 0xa3, 0x32, 0x86, 0x57, + 0x4a, 0xee, 0xda, 0x10, 0x48, 0x4f, 0xc4, 0xc2, 0xeb, 0xbd, 0x03, 0x51, 0xd8, 0x3f, 0x10, 0x85, + 0xdf, 0x07, 0xa2, 0xf0, 0xf5, 0x50, 0x8c, 0xed, 0x1f, 0x8a, 0xb1, 0x9f, 0x87, 0x62, 0xec, 0xc5, + 0x62, 0x4d, 0x77, 0xb6, 0x9a, 0x15, 0x79, 0xc3, 0x32, 0x7a, 0xde, 0x70, 0xba, 0xe9, 0x28, 0xfc, + 0x75, 0x67, 0x57, 0xfa, 0x3c, 0xf0, 0x2a, 0x49, 0xf7, 0x75, 0x37, 0xf7, 0x37, 0x00, 0x00, 0xff, + 0xff, 0x3d, 0x13, 0xc0, 0xe4, 0x47, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1065,7 +1070,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dymension/rollapp/query.proto", + Metadata: "types/dymensionxyz/dymension/rollapp/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { @@ -1144,6 +1149,16 @@ func (m *QueryGetRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if m.OmitApps { + i-- + if m.OmitApps { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } if len(m.RollappId) > 0 { i -= len(m.RollappId) copy(dAtA[i:], m.RollappId) @@ -1174,6 +1189,16 @@ func (m *QueryGetRollappByEIP155Request) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l + if m.OmitApps { + i-- + if m.OmitApps { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } if m.Eip155 != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.Eip155)) i-- @@ -1343,40 +1368,30 @@ func (m *QueryGetRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l - if m.LatestFinalizedHeight != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.LatestFinalizedHeight)) - i-- - dAtA[i] = 0x28 - } - if m.LatestHeight != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.LatestHeight)) - i-- - dAtA[i] = 0x20 - } - if m.LatestFinalizedStateIndex != nil { - { - size, err := m.LatestFinalizedStateIndex.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Apps) > 0 { + for iNdEx := len(m.Apps) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Apps[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x3a } - i-- - dAtA[i] = 0x1a } - if m.LatestStateIndex != nil { - { - size, err := m.LatestStateIndex.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + { + size, err := m.Summary.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x32 { size, err := m.Rollapp.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -1410,6 +1425,16 @@ func (m *QueryAllRollappRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if m.OmitApps { + i-- + if m.OmitApps { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } if m.Pagination != nil { { size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) @@ -1445,18 +1470,6 @@ func (m *QueryAllRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } if len(m.Rollapp) > 0 { for iNdEx := len(m.Rollapp) - 1; iNdEx >= 0; iNdEx-- { { @@ -1468,9 +1481,21 @@ func (m *QueryAllRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a } } + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } return len(dAtA) - i, nil } @@ -1598,6 +1623,9 @@ func (m *QueryGetRollappRequest) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } + if m.OmitApps { + n += 2 + } return n } @@ -1610,6 +1638,9 @@ func (m *QueryGetRollappByEIP155Request) Size() (n int) { if m.Eip155 != 0 { n += 1 + sovQuery(uint64(m.Eip155)) } + if m.OmitApps { + n += 2 + } return n } @@ -1676,19 +1707,13 @@ func (m *QueryGetRollappResponse) Size() (n int) { _ = l l = m.Rollapp.Size() n += 1 + l + sovQuery(uint64(l)) - if m.LatestStateIndex != nil { - l = m.LatestStateIndex.Size() - n += 1 + l + sovQuery(uint64(l)) - } - if m.LatestFinalizedStateIndex != nil { - l = m.LatestFinalizedStateIndex.Size() - n += 1 + l + sovQuery(uint64(l)) - } - if m.LatestHeight != 0 { - n += 1 + sovQuery(uint64(m.LatestHeight)) - } - if m.LatestFinalizedHeight != 0 { - n += 1 + sovQuery(uint64(m.LatestFinalizedHeight)) + l = m.Summary.Size() + n += 1 + l + sovQuery(uint64(l)) + if len(m.Apps) > 0 { + for _, e := range m.Apps { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } } return n } @@ -1703,6 +1728,9 @@ func (m *QueryAllRollappRequest) Size() (n int) { l = m.Pagination.Size() n += 1 + l + sovQuery(uint64(l)) } + if m.OmitApps { + n += 2 + } return n } @@ -1712,16 +1740,16 @@ func (m *QueryAllRollappResponse) Size() (n int) { } var l int _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } if len(m.Rollapp) > 0 { for _, e := range m.Rollapp { l = e.Size() n += 1 + l + sovQuery(uint64(l)) } } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } return n } @@ -1958,6 +1986,26 @@ func (m *QueryGetRollappRequest) Unmarshal(dAtA []byte) error { } m.RollappId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OmitApps", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OmitApps = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -2027,6 +2075,26 @@ func (m *QueryGetRollappByEIP155Request) Unmarshal(dAtA []byte) error { break } } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OmitApps", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OmitApps = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -2466,9 +2534,9 @@ func (m *QueryGetRollappResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestStateIndex", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Summary", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2495,16 +2563,13 @@ func (m *QueryGetRollappResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.LatestStateIndex == nil { - m.LatestStateIndex = &StateInfoIndex{} - } - if err := m.LatestStateIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Summary.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestFinalizedStateIndex", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Apps", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2531,51 +2596,11 @@ func (m *QueryGetRollappResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.LatestFinalizedStateIndex == nil { - m.LatestFinalizedStateIndex = &StateInfoIndex{} - } - if err := m.LatestFinalizedStateIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Apps = append(m.Apps, &App{}) + if err := m.Apps[len(m.Apps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) - } - m.LatestHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LatestHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestFinalizedHeight", wireType) - } - m.LatestFinalizedHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LatestFinalizedHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -2662,6 +2687,26 @@ func (m *QueryAllRollappRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OmitApps", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.OmitApps = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -2712,9 +2757,9 @@ func (m *QueryAllRollappResponse) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: QueryAllRollappResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rollapp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2741,14 +2786,16 @@ func (m *QueryAllRollappResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Rollapp = append(m.Rollapp, RollappSummary{}) - if err := m.Rollapp[len(m.Rollapp)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rollapp", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2775,10 +2822,8 @@ func (m *QueryAllRollappResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Rollapp = append(m.Rollapp, QueryGetRollappResponse{}) + if err := m.Rollapp[len(m.Rollapp)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/third_party/dymension/rollapp/types/query.pb.gw.go b/types/pb/dymensionxyz/dymension/rollapp/query.pb.gw.go similarity index 99% rename from third_party/dymension/rollapp/types/query.pb.gw.go rename to types/pb/dymensionxyz/dymension/rollapp/query.pb.gw.go index 190a21b4b..6157c9131 100644 --- a/third_party/dymension/rollapp/types/query.pb.gw.go +++ b/types/pb/dymensionxyz/dymension/rollapp/query.pb.gw.go @@ -6,7 +6,7 @@ Package types is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package types +package rollapp import ( "context" diff --git a/third_party/dymension/rollapp/types/rollapp.pb.go b/types/pb/dymensionxyz/dymension/rollapp/rollapp.pb.go similarity index 67% rename from third_party/dymension/rollapp/types/rollapp.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/rollapp.pb.go index 431f8719a..1b15a044d 100644 --- a/third_party/dymension/rollapp/types/rollapp.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/rollapp.pb.go @@ -1,11 +1,11 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/rollapp.proto +// source: types/dymensionxyz/dymension/rollapp/rollapp.proto -package types +package rollapp import ( fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types" + github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" @@ -50,7 +50,7 @@ func (x Rollapp_VMType) String() string { } func (Rollapp_VMType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2c072320fdc0abd9, []int{1, 0} + return fileDescriptor_3b0028f80c0f8489, []int{1, 0} } // RollappGenesisState is a partial repr of the state the hub can expect the rollapp to be in upon genesis @@ -67,7 +67,7 @@ func (m *RollappGenesisState) Reset() { *m = RollappGenesisState{} } func (m *RollappGenesisState) String() string { return proto.CompactTextString(m) } func (*RollappGenesisState) ProtoMessage() {} func (*RollappGenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_2c072320fdc0abd9, []int{0} + return fileDescriptor_3b0028f80c0f8489, []int{0} } func (m *RollappGenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -119,33 +119,31 @@ type Rollapp struct { Frozen bool `protobuf:"varint,9,opt,name=frozen,proto3" json:"frozen,omitempty"` // registeredDenoms is a list of registered denom bases on this rollapp RegisteredDenoms []string `protobuf:"bytes,10,rep,name=registeredDenoms,proto3" json:"registeredDenoms,omitempty"` - // unique bech32 prefix - Bech32Prefix string `protobuf:"bytes,11,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"` - // checksum used to verify integrity of the genesis file - GenesisChecksum string `protobuf:"bytes,12,opt,name=genesis_checksum,json=genesisChecksum,proto3" json:"genesis_checksum,omitempty"` // metadata is the rollapp metadata - Metadata *RollappMetadata `protobuf:"bytes,14,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *RollappMetadata `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` + // genesis_info keeps immutable rollapp fields + GenesisInfo GenesisInfo `protobuf:"bytes,12,opt,name=genesis_info,json=genesisInfo,proto3" json:"genesis_info"` // initial_sequencer is an option to preset one or more coma-separated bech32-encoded addresses of the // sequencer(s) that are allowed to initially register and serve for this rollapp. // if left empty, no sequencer is allowed to register. // if set to "*" any sequencer can register. - InitialSequencer string `protobuf:"bytes,15,opt,name=initial_sequencer,json=initialSequencer,proto3" json:"initial_sequencer,omitempty"` + InitialSequencer string `protobuf:"bytes,13,opt,name=initial_sequencer,json=initialSequencer,proto3" json:"initial_sequencer,omitempty"` // vm_type is the type of rollapp machine: EVM or WASM - VmType Rollapp_VMType `protobuf:"varint,16,opt,name=vm_type,json=vmType,proto3,enum=dymensionxyz.dymension.rollapp.Rollapp_VMType" json:"vm_type,omitempty"` - // sealed is a boolean that indicates if the immutable fields are no longer updatable. - Sealed bool `protobuf:"varint,17,opt,name=sealed,proto3" json:"sealed,omitempty"` + VmType Rollapp_VMType `protobuf:"varint,14,opt,name=vm_type,json=vmType,proto3,enum=dymensionxyz.dymension.rollapp.Rollapp_VMType" json:"vm_type,omitempty"` + // launched is a boolean that indicates that the Rollapp has been launched and the immutable fields are no longer updatable. + Launched bool `protobuf:"varint,15,opt,name=launched,proto3" json:"launched,omitempty"` // LivenessEventHeight is the height of an upcoming liveness event (slash or jail) // 0 means not set - LivenessEventHeight int64 `protobuf:"varint,18,opt,name=liveness_event_height,json=livenessEventHeight,proto3" json:"liveness_event_height,omitempty"` + LivenessEventHeight int64 `protobuf:"varint,16,opt,name=liveness_event_height,json=livenessEventHeight,proto3" json:"liveness_event_height,omitempty"` // The LastStateUpdateHeight HUB height when the last state update was received - LastStateUpdateHeight int64 `protobuf:"varint,19,opt,name=last_state_update_height,json=lastStateUpdateHeight,proto3" json:"last_state_update_height,omitempty"` + LastStateUpdateHeight int64 `protobuf:"varint,17,opt,name=last_state_update_height,json=lastStateUpdateHeight,proto3" json:"last_state_update_height,omitempty"` } func (m *Rollapp) Reset() { *m = Rollapp{} } func (m *Rollapp) String() string { return proto.CompactTextString(m) } func (*Rollapp) ProtoMessage() {} func (*Rollapp) Descriptor() ([]byte, []int) { - return fileDescriptor_2c072320fdc0abd9, []int{1} + return fileDescriptor_3b0028f80c0f8489, []int{1} } func (m *Rollapp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -216,25 +214,18 @@ func (m *Rollapp) GetRegisteredDenoms() []string { return nil } -func (m *Rollapp) GetBech32Prefix() string { - if m != nil { - return m.Bech32Prefix - } - return "" -} - -func (m *Rollapp) GetGenesisChecksum() string { +func (m *Rollapp) GetMetadata() *RollappMetadata { if m != nil { - return m.GenesisChecksum + return m.Metadata } - return "" + return nil } -func (m *Rollapp) GetMetadata() *RollappMetadata { +func (m *Rollapp) GetGenesisInfo() GenesisInfo { if m != nil { - return m.Metadata + return m.GenesisInfo } - return nil + return GenesisInfo{} } func (m *Rollapp) GetInitialSequencer() string { @@ -251,9 +242,9 @@ func (m *Rollapp) GetVmType() Rollapp_VMType { return Rollapp_Unspecified } -func (m *Rollapp) GetSealed() bool { +func (m *Rollapp) GetLaunched() bool { if m != nil { - return m.Sealed + return m.Launched } return false } @@ -272,6 +263,80 @@ func (m *Rollapp) GetLastStateUpdateHeight() int64 { return 0 } +type GenesisInfo struct { + // checksum used to verify integrity of the genesis file + GenesisChecksum string `protobuf:"bytes,1,opt,name=genesis_checksum,json=genesisChecksum,proto3" json:"genesis_checksum,omitempty"` + // unique bech32 prefix + Bech32Prefix string `protobuf:"bytes,2,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"` + // native_denom is the base denom for the native token + NativeDenom *DenomMetadata `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty"` + // initial_supply is the initial supply of the native token + InitialSupply github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=initial_supply,json=initialSupply,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"initial_supply"` + // sealed indicates if the fields in this object are no longer updatable + Sealed bool `protobuf:"varint,5,opt,name=sealed,proto3" json:"sealed,omitempty"` +} + +func (m *GenesisInfo) Reset() { *m = GenesisInfo{} } +func (m *GenesisInfo) String() string { return proto.CompactTextString(m) } +func (*GenesisInfo) ProtoMessage() {} +func (*GenesisInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_3b0028f80c0f8489, []int{2} +} +func (m *GenesisInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenesisInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisInfo.Merge(m, src) +} +func (m *GenesisInfo) XXX_Size() int { + return m.Size() +} +func (m *GenesisInfo) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisInfo proto.InternalMessageInfo + +func (m *GenesisInfo) GetGenesisChecksum() string { + if m != nil { + return m.GenesisChecksum + } + return "" +} + +func (m *GenesisInfo) GetBech32Prefix() string { + if m != nil { + return m.Bech32Prefix + } + return "" +} + +func (m *GenesisInfo) GetNativeDenom() *DenomMetadata { + if m != nil { + return m.NativeDenom + } + return nil +} + +func (m *GenesisInfo) GetSealed() bool { + if m != nil { + return m.Sealed + } + return false +} + // Rollapp summary is a compact representation of Rollapp type RollappSummary struct { // The unique identifier of the rollapp chain. @@ -281,13 +346,15 @@ type RollappSummary struct { LatestStateIndex *StateInfoIndex `protobuf:"bytes,2,opt,name=latestStateIndex,proto3" json:"latestStateIndex,omitempty"` // Defines the index of the last rollapp UpdateState that was finalized. LatestFinalizedStateIndex *StateInfoIndex `protobuf:"bytes,3,opt,name=latestFinalizedStateIndex,proto3" json:"latestFinalizedStateIndex,omitempty"` + LatestHeight uint64 `protobuf:"varint,4,opt,name=latestHeight,proto3" json:"latestHeight,omitempty"` + LatestFinalizedHeight uint64 `protobuf:"varint,5,opt,name=latestFinalizedHeight,proto3" json:"latestFinalizedHeight,omitempty"` } func (m *RollappSummary) Reset() { *m = RollappSummary{} } func (m *RollappSummary) String() string { return proto.CompactTextString(m) } func (*RollappSummary) ProtoMessage() {} func (*RollappSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_2c072320fdc0abd9, []int{2} + return fileDescriptor_3b0028f80c0f8489, []int{3} } func (m *RollappSummary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -337,60 +404,86 @@ func (m *RollappSummary) GetLatestFinalizedStateIndex() *StateInfoIndex { return nil } +func (m *RollappSummary) GetLatestHeight() uint64 { + if m != nil { + return m.LatestHeight + } + return 0 +} + +func (m *RollappSummary) GetLatestFinalizedHeight() uint64 { + if m != nil { + return m.LatestFinalizedHeight + } + return 0 +} + func init() { proto.RegisterEnum("dymensionxyz.dymension.rollapp.Rollapp_VMType", Rollapp_VMType_name, Rollapp_VMType_value) proto.RegisterType((*RollappGenesisState)(nil), "dymensionxyz.dymension.rollapp.RollappGenesisState") proto.RegisterType((*Rollapp)(nil), "dymensionxyz.dymension.rollapp.Rollapp") + proto.RegisterType((*GenesisInfo)(nil), "dymensionxyz.dymension.rollapp.GenesisInfo") proto.RegisterType((*RollappSummary)(nil), "dymensionxyz.dymension.rollapp.RollappSummary") } -func init() { proto.RegisterFile("dymension/rollapp/rollapp.proto", fileDescriptor_2c072320fdc0abd9) } - -var fileDescriptor_2c072320fdc0abd9 = []byte{ - // 688 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xc9, 0x6e, 0xdb, 0x48, - 0x10, 0x15, 0x2d, 0x59, 0x4b, 0xcb, 0x0b, 0xdd, 0xb6, 0x67, 0x38, 0xc6, 0x98, 0x16, 0x34, 0x17, - 0xcd, 0x02, 0x12, 0x96, 0x06, 0x98, 0xf3, 0x38, 0x71, 0xbc, 0x04, 0x0a, 0x02, 0x2a, 0x76, 0x00, - 0x1f, 0x42, 0xb4, 0xc8, 0x12, 0xd5, 0x08, 0xd9, 0x64, 0xd8, 0x2d, 0x45, 0xf2, 0x57, 0xe4, 0xb3, - 0x7c, 0x09, 0xe0, 0x63, 0x4e, 0x41, 0x60, 0xff, 0x44, 0x8e, 0x01, 0x9b, 0x2d, 0xd9, 0x80, 0xb2, - 0x18, 0x39, 0x15, 0xeb, 0xbd, 0xaa, 0x7a, 0x55, 0xd5, 0x05, 0xa2, 0x3d, 0x7f, 0x1a, 0x01, 0xe3, - 0x34, 0x66, 0x76, 0x1a, 0x87, 0x21, 0x49, 0x92, 0x99, 0xb5, 0x92, 0x34, 0x16, 0x31, 0x36, 0xe7, - 0x01, 0x93, 0xe9, 0xa5, 0x35, 0x77, 0x2c, 0x15, 0xb5, 0xb3, 0x15, 0xc4, 0x41, 0x2c, 0x43, 0xed, - 0xec, 0x2b, 0xcf, 0xda, 0x31, 0xbd, 0x98, 0x47, 0x31, 0xb7, 0xfb, 0x84, 0x83, 0x3d, 0xde, 0xef, - 0x83, 0x20, 0xfb, 0xb6, 0x17, 0x53, 0xa6, 0xf8, 0x5f, 0x15, 0x1f, 0xf1, 0xc0, 0x1e, 0xef, 0x67, - 0x46, 0x11, 0xcd, 0xc5, 0x7e, 0xb8, 0x20, 0x02, 0x5c, 0xca, 0x06, 0xb3, 0xe2, 0x8d, 0xc5, 0x98, - 0x08, 0x04, 0xf1, 0x89, 0x20, 0x79, 0x44, 0xf3, 0x18, 0x6d, 0x3a, 0x39, 0x73, 0x04, 0x0c, 0x38, - 0xe5, 0xbd, 0xac, 0x06, 0xfe, 0x1b, 0x6d, 0x88, 0x94, 0x30, 0x3e, 0x80, 0x94, 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 0x3b, 0xba, 0x3b, 0xe2, 0xc5, - 0xab, 0xbe, 0x40, 0x7a, 0x48, 0x04, 0x28, 0xfd, 0x13, 0xe6, 0xc3, 0x44, 0x1e, 0x78, 0xfd, 0xc7, - 0xbb, 0x53, 0x19, 0x83, 0x58, 0x66, 0x39, 0x0b, 0x75, 0x70, 0x88, 0x7e, 0xcb, 0xb1, 0x27, 0x94, - 0x91, 0x90, 0x5e, 0x82, 0x7f, 0x4f, 0xa4, 0xf8, 0x53, 0x22, 0xdf, 0x2e, 0x78, 0xf0, 0xec, 0xea, - 0xc6, 0xd4, 0xae, 0x6f, 0x4c, 0xed, 0xd3, 0x8d, 0xa9, 0xbd, 0xbb, 0x35, 0x0b, 0xd7, 0xb7, 0x66, - 0xe1, 0xc3, 0xad, 0x59, 0xb8, 0xf8, 0x37, 0xa0, 0x62, 0x38, 0xea, 0x5b, 0x5e, 0x1c, 0xd9, 0xf7, - 0xe5, 0xee, 0x1c, 0x7b, 0xdc, 0xb1, 0x27, 0xf3, 0xbf, 0x4d, 0x76, 0x40, 0xbc, 0x5f, 0x96, 0xff, - 0x9a, 0xce, 0x97, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x5c, 0xa0, 0xd1, 0x43, 0x05, 0x00, 0x00, +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/rollapp.proto", fileDescriptor_3b0028f80c0f8489) +} + +var fileDescriptor_3b0028f80c0f8489 = []byte{ + // 821 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xf6, 0xda, 0x4e, 0x6c, 0x1f, 0x3b, 0xc9, 0x76, 0xda, 0xa0, 0x25, 0x22, 0xae, 0x65, 0x24, + 0x64, 0x28, 0x5d, 0x0b, 0x07, 0xc4, 0x35, 0x81, 0xb4, 0x75, 0x51, 0xa4, 0x6a, 0xd3,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3, 0xae, 0xf5, 0xeb, 0x45, 0xb7, 0xf2, 0xfa, 0xa2, 0x5b, 0xf9, 0xf3, 0xa2, 0x5b, + 0x79, 0xfe, 0x60, 0x6d, 0x7a, 0x6f, 0xbf, 0xf6, 0x94, 0x09, 0x3d, 0xbf, 0x61, 0x3e, 0xb9, 0xe6, + 0xaf, 0x60, 0xb2, 0xa9, 0xfe, 0x02, 0x0e, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x16, 0xca, 0xbc, + 0x6f, 0xf9, 0x06, 0x00, 0x00, } func (m *RollappGenesisState) Marshal() (dAtA []byte, err error) { @@ -451,41 +544,47 @@ func (m *Rollapp) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x98 + dAtA[i] = 0x88 } if m.LivenessEventHeight != 0 { i = encodeVarintRollapp(dAtA, i, uint64(m.LivenessEventHeight)) i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x90 + dAtA[i] = 0x80 } - if m.Sealed { + if m.Launched { i-- - if m.Sealed { + if m.Launched { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 + dAtA[i] = 0x78 } if m.VmType != 0 { i = encodeVarintRollapp(dAtA, i, uint64(m.VmType)) i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 + dAtA[i] = 0x70 } if len(m.InitialSequencer) > 0 { i -= len(m.InitialSequencer) copy(dAtA[i:], m.InitialSequencer) i = encodeVarintRollapp(dAtA, i, uint64(len(m.InitialSequencer))) i-- - dAtA[i] = 0x7a + dAtA[i] = 0x6a } + { + size, err := m.GenesisInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRollapp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 if m.Metadata != nil { { size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) @@ -496,20 +595,6 @@ func (m *Rollapp) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintRollapp(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x72 - } - if len(m.GenesisChecksum) > 0 { - i -= len(m.GenesisChecksum) - copy(dAtA[i:], m.GenesisChecksum) - i = encodeVarintRollapp(dAtA, i, uint64(len(m.GenesisChecksum))) - i-- - dAtA[i] = 0x62 - } - if len(m.Bech32Prefix) > 0 { - i -= len(m.Bech32Prefix) - copy(dAtA[i:], m.Bech32Prefix) - i = encodeVarintRollapp(dAtA, i, uint64(len(m.Bech32Prefix))) - i-- dAtA[i] = 0x5a } if len(m.RegisteredDenoms) > 0 { @@ -565,6 +650,75 @@ func (m *Rollapp) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *GenesisInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GenesisInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Sealed { + i-- + if m.Sealed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + { + size := m.InitialSupply.Size() + i -= size + if _, err := m.InitialSupply.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintRollapp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if m.NativeDenom != nil { + { + size, err := m.NativeDenom.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRollapp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Bech32Prefix) > 0 { + i -= len(m.Bech32Prefix) + copy(dAtA[i:], m.Bech32Prefix) + i = encodeVarintRollapp(dAtA, i, uint64(len(m.Bech32Prefix))) + i-- + dAtA[i] = 0x12 + } + if len(m.GenesisChecksum) > 0 { + i -= len(m.GenesisChecksum) + copy(dAtA[i:], m.GenesisChecksum) + i = encodeVarintRollapp(dAtA, i, uint64(len(m.GenesisChecksum))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *RollappSummary) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -585,6 +739,16 @@ func (m *RollappSummary) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.LatestFinalizedHeight != 0 { + i = encodeVarintRollapp(dAtA, i, uint64(m.LatestFinalizedHeight)) + i-- + dAtA[i] = 0x28 + } + if m.LatestHeight != 0 { + i = encodeVarintRollapp(dAtA, i, uint64(m.LatestHeight)) + i-- + dAtA[i] = 0x20 + } if m.LatestFinalizedStateIndex != nil { { size, err := m.LatestFinalizedStateIndex.MarshalToSizedBuffer(dAtA[:i]) @@ -671,27 +835,21 @@ func (m *Rollapp) Size() (n int) { n += 1 + l + sovRollapp(uint64(l)) } } - l = len(m.Bech32Prefix) - if l > 0 { - n += 1 + l + sovRollapp(uint64(l)) - } - l = len(m.GenesisChecksum) - if l > 0 { - n += 1 + l + sovRollapp(uint64(l)) - } if m.Metadata != nil { l = m.Metadata.Size() n += 1 + l + sovRollapp(uint64(l)) } + l = m.GenesisInfo.Size() + n += 1 + l + sovRollapp(uint64(l)) l = len(m.InitialSequencer) if l > 0 { n += 1 + l + sovRollapp(uint64(l)) } if m.VmType != 0 { - n += 2 + sovRollapp(uint64(m.VmType)) + n += 1 + sovRollapp(uint64(m.VmType)) } - if m.Sealed { - n += 3 + if m.Launched { + n += 2 } if m.LivenessEventHeight != 0 { n += 2 + sovRollapp(uint64(m.LivenessEventHeight)) @@ -702,6 +860,32 @@ func (m *Rollapp) Size() (n int) { return n } +func (m *GenesisInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GenesisChecksum) + if l > 0 { + n += 1 + l + sovRollapp(uint64(l)) + } + l = len(m.Bech32Prefix) + if l > 0 { + n += 1 + l + sovRollapp(uint64(l)) + } + if m.NativeDenom != nil { + l = m.NativeDenom.Size() + n += 1 + l + sovRollapp(uint64(l)) + } + l = m.InitialSupply.Size() + n += 1 + l + sovRollapp(uint64(l)) + if m.Sealed { + n += 2 + } + return n +} + func (m *RollappSummary) Size() (n int) { if m == nil { return 0 @@ -720,6 +904,12 @@ func (m *RollappSummary) Size() (n int) { l = m.LatestFinalizedStateIndex.Size() n += 1 + l + sovRollapp(uint64(l)) } + if m.LatestHeight != 0 { + n += 1 + sovRollapp(uint64(m.LatestHeight)) + } + if m.LatestFinalizedHeight != 0 { + n += 1 + sovRollapp(uint64(m.LatestFinalizedHeight)) + } return n } @@ -1011,9 +1201,9 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 11: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bech32Prefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1023,27 +1213,64 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthRollapp } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthRollapp } if postIndex > l { return io.ErrUnexpectedEOF } - m.Bech32Prefix = string(dAtA[iNdEx:postIndex]) + if m.Metadata == nil { + m.Metadata = &RollappMetadata{} + } + if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 12: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisChecksum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GenesisInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRollapp + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRollapp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GenesisInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1071,13 +1298,13 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GenesisChecksum = string(dAtA[iNdEx:postIndex]) + m.InitialSequencer = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VmType", wireType) } - var msglen int + m.VmType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1087,31 +1314,122 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.VmType |= Rollapp_VMType(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthRollapp + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Launched", wireType) } - postIndex := iNdEx + msglen - if postIndex < 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Launched = bool(v != 0) + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LivenessEventHeight", wireType) + } + m.LivenessEventHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LivenessEventHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastStateUpdateHeight", wireType) + } + m.LastStateUpdateHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LastStateUpdateHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipRollapp(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthRollapp } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Metadata == nil { - m.Metadata = &RollappMetadata{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GenesisInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 15: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GenesisInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GenesisChecksum", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1139,13 +1457,13 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InitialSequencer = string(dAtA[iNdEx:postIndex]) + m.GenesisChecksum = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 16: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VmType", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bech32Prefix", wireType) } - m.VmType = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1155,16 +1473,29 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VmType |= Rollapp_VMType(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 17: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Sealed", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRollapp } - var v int + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRollapp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bech32Prefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NativeDenom", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1174,17 +1505,33 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.Sealed = bool(v != 0) - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LivenessEventHeight", wireType) + if msglen < 0 { + return ErrInvalidLengthRollapp } - m.LivenessEventHeight = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRollapp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NativeDenom == nil { + m.NativeDenom = &DenomMetadata{} + } + if err := m.NativeDenom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialSupply", wireType) + } + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1194,16 +1541,31 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LivenessEventHeight |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 19: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRollapp + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRollapp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.InitialSupply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastStateUpdateHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Sealed", wireType) } - m.LastStateUpdateHeight = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowRollapp @@ -1213,11 +1575,12 @@ func (m *Rollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LastStateUpdateHeight |= int64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.Sealed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipRollapp(dAtA[iNdEx:]) @@ -1372,6 +1735,44 @@ func (m *RollappSummary) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + m.LatestHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LatestHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestFinalizedHeight", wireType) + } + m.LatestFinalizedHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRollapp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LatestFinalizedHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipRollapp(dAtA[iNdEx:]) diff --git a/third_party/dymension/rollapp/types/state_info.pb.go b/types/pb/dymensionxyz/dymension/rollapp/state_info.pb.go similarity index 80% rename from third_party/dymension/rollapp/types/state_info.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/state_info.pb.go index ae2e20ee5..bbb6c7b6f 100644 --- a/third_party/dymension/rollapp/types/state_info.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/state_info.pb.go @@ -1,22 +1,26 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/state_info.proto +// source: types/dymensionxyz/dymension/rollapp/state_info.proto -package types +package rollapp import ( fmt "fmt" - types "github.com/dymensionxyz/dymension/v3/x/common/types" + common "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/common" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" math_bits "math/bits" + time "time" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +var _ = time.Kitchen // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -43,7 +47,7 @@ func (m *StateInfoIndex) Reset() { *m = StateInfoIndex{} } func (m *StateInfoIndex) String() string { return proto.CompactTextString(m) } func (*StateInfoIndex) ProtoMessage() {} func (*StateInfoIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_17fce0215a9cbbfb, []int{0} + return fileDescriptor_deebb9ffbcdd017e, []int{0} } func (m *StateInfoIndex) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -102,17 +106,21 @@ type StateInfo struct { // creationHeight is the height at which the UpdateState took place CreationHeight uint64 `protobuf:"varint,7,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` // status is the status of the state update - Status types.Status `protobuf:"varint,8,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" json:"status,omitempty"` + Status common.Status `protobuf:"varint,8,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" json:"status,omitempty"` // BDs is a list of block description objects (one per block) // the list must be ordered by height, starting from startHeight to startHeight+numBlocks-1 BDs BlockDescriptors `protobuf:"bytes,9,opt,name=BDs,proto3" json:"BDs"` + // created_at is the timestamp at which the StateInfo was created + CreatedAt time.Time `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at" yaml:"created_at"` + // DrsVersion is a DRS version used by the rollapp. + DrsVersion string `protobuf:"bytes,11,opt,name=drs_version,json=drsVersion,proto3" json:"drs_version,omitempty"` } func (m *StateInfo) Reset() { *m = StateInfo{} } func (m *StateInfo) String() string { return proto.CompactTextString(m) } func (*StateInfo) ProtoMessage() {} func (*StateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_17fce0215a9cbbfb, []int{1} + return fileDescriptor_deebb9ffbcdd017e, []int{1} } func (m *StateInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -183,11 +191,11 @@ func (m *StateInfo) GetCreationHeight() uint64 { return 0 } -func (m *StateInfo) GetStatus() types.Status { +func (m *StateInfo) GetStatus() common.Status { if m != nil { return m.Status } - return types.Status_PENDING + return common.Status_PENDING } func (m *StateInfo) GetBDs() BlockDescriptors { @@ -197,13 +205,27 @@ func (m *StateInfo) GetBDs() BlockDescriptors { return BlockDescriptors{} } +func (m *StateInfo) GetCreatedAt() time.Time { + if m != nil { + return m.CreatedAt + } + return time.Time{} +} + +func (m *StateInfo) GetDrsVersion() string { + if m != nil { + return m.DrsVersion + } + return "" +} + // StateInfoSummary is a compact representation of StateInfo type StateInfoSummary struct { // stateInfoIndex defines what rollapp the state belongs to // and in which index it can be referenced StateInfoIndex StateInfoIndex `protobuf:"bytes,1,opt,name=stateInfoIndex,proto3" json:"stateInfoIndex"` // status is the status of the state update - Status types.Status `protobuf:"varint,2,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" json:"status,omitempty"` + Status common.Status `protobuf:"varint,2,opt,name=status,proto3,enum=dymensionxyz.dymension.common.Status" json:"status,omitempty"` // creationHeight is the height at which the UpdateState took place CreationHeight uint64 `protobuf:"varint,3,opt,name=creationHeight,proto3" json:"creationHeight,omitempty"` } @@ -212,7 +234,7 @@ func (m *StateInfoSummary) Reset() { *m = StateInfoSummary{} } func (m *StateInfoSummary) String() string { return proto.CompactTextString(m) } func (*StateInfoSummary) ProtoMessage() {} func (*StateInfoSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_17fce0215a9cbbfb, []int{2} + return fileDescriptor_deebb9ffbcdd017e, []int{2} } func (m *StateInfoSummary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -248,11 +270,11 @@ func (m *StateInfoSummary) GetStateInfoIndex() StateInfoIndex { return StateInfoIndex{} } -func (m *StateInfoSummary) GetStatus() types.Status { +func (m *StateInfoSummary) GetStatus() common.Status { if m != nil { return m.Status } - return types.Status_PENDING + return common.Status_PENDING } func (m *StateInfoSummary) GetCreationHeight() uint64 { @@ -275,7 +297,7 @@ func (m *BlockHeightToFinalizationQueue) Reset() { *m = BlockHeightToFin func (m *BlockHeightToFinalizationQueue) String() string { return proto.CompactTextString(m) } func (*BlockHeightToFinalizationQueue) ProtoMessage() {} func (*BlockHeightToFinalizationQueue) Descriptor() ([]byte, []int) { - return fileDescriptor_17fce0215a9cbbfb, []int{3} + return fileDescriptor_deebb9ffbcdd017e, []int{3} } func (m *BlockHeightToFinalizationQueue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -326,41 +348,47 @@ func init() { } func init() { - proto.RegisterFile("dymension/rollapp/state_info.proto", fileDescriptor_17fce0215a9cbbfb) + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/state_info.proto", fileDescriptor_deebb9ffbcdd017e) } -var fileDescriptor_17fce0215a9cbbfb = []byte{ - // 479 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0x4f, 0x6b, 0x13, 0x41, - 0x18, 0xc6, 0x33, 0xd9, 0x34, 0xed, 0x4e, 0x21, 0xd4, 0xa1, 0xc8, 0x52, 0x74, 0x5c, 0x16, 0x94, - 0x9c, 0x76, 0xa5, 0xf5, 0xea, 0xc1, 0x10, 0xa4, 0xf1, 0x20, 0xba, 0xf5, 0x24, 0x42, 0xd9, 0x6c, - 0x26, 0xc9, 0x60, 0x76, 0x66, 0x9d, 0x3f, 0x92, 0xf4, 0x53, 0x78, 0xf2, 0x53, 0xf8, 0x41, 0x7a, - 0xec, 0x4d, 0x4f, 0x22, 0xc9, 0x17, 0x91, 0x99, 0x5d, 0x76, 0xdb, 0x24, 0x2a, 0x04, 0xbc, 0xe5, - 0x7d, 0xf7, 0x7d, 0x9e, 0x3c, 0xef, 0xef, 0x65, 0x60, 0x30, 0x5a, 0x64, 0x84, 0x49, 0xca, 0x59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0x44, 0x0e, 0xdb, 0xf6, 0xf9, - 0x9e, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x18, 0x32, 0x02, 0x7e, 0x63, 0x04, 0x00, 0x00, +var fileDescriptor_deebb9ffbcdd017e = []byte{ + // 573 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x41, 0x6e, 0xd3, 0x40, + 0x14, 0xcd, 0x34, 0x69, 0x5a, 0x4f, 0xa4, 0xa8, 0x1d, 0x55, 0xc8, 0x8a, 0xc0, 0x89, 0x2c, 0x81, + 0xb2, 0xb2, 0xab, 0x22, 0x36, 0x20, 0x16, 0x8d, 0xa2, 0xaa, 0x61, 0x05, 0x6e, 0x85, 0x10, 0x42, + 0x0a, 0x76, 0x3c, 0x71, 0x46, 0xd8, 0x33, 0x66, 0x66, 0x8c, 0xea, 0x9e, 0xa2, 0xdc, 0x83, 0x83, + 0x74, 0xd9, 0x1d, 0xac, 0x0a, 0x4a, 0x6e, 0xc0, 0x09, 0x90, 0xc7, 0x6e, 0xdc, 0x26, 0xa1, 0x45, + 0x95, 0xd8, 0xe5, 0xff, 0xfc, 0xf7, 0xfc, 0xfe, 0xfb, 0x4f, 0x03, 0x9f, 0xc9, 0x34, 0xc6, 0xc2, + 0xf6, 0xd3, 0x08, 0x53, 0x41, 0x18, 0x3d, 0x49, 0x4f, 0xcb, 0xc2, 0xe6, 0x2c, 0x0c, 0xdd, 0x38, + 0xb6, 0x85, 0x74, 0x25, 0x1e, 0x12, 0x3a, 0x66, 0x56, 0xcc, 0x99, 0x64, 0xc8, 0xb8, 0x0e, 0xb0, + 0xe6, 0x85, 0x55, 0x00, 0x5a, 0x3b, 0x01, 0x0b, 0x98, 0x1a, 0xb5, 0xb3, 0x5f, 0x39, 0xaa, 0xd5, + 0x0e, 0x18, 0x0b, 0x42, 0x6c, 0xab, 0xca, 0x4b, 0xc6, 0xb6, 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0xd4, 0x00, 0xbf, 0xa6, 0x06, 0x38, 0x9b, 0x19, 0x95, 0x8b, 0x99, + 0x51, 0xf9, 0x31, 0x33, 0x2a, 0xef, 0x0f, 0x02, 0x22, 0x27, 0x89, 0x97, 0xd9, 0xb1, 0xf4, 0x66, + 0x10, 0x2a, 0xed, 0xfc, 0x35, 0x89, 0xbd, 0x3b, 0x5e, 0x23, 0xaf, 0xae, 0xf2, 0xf4, 0xf4, 0x4f, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x9b, 0x9b, 0x2a, 0x4a, 0x05, 0x00, 0x00, } func (m *StateInfoIndex) Marshal() (dAtA []byte, err error) { @@ -418,6 +446,21 @@ func (m *StateInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.DrsVersion) > 0 { + i -= len(m.DrsVersion) + copy(dAtA[i:], m.DrsVersion) + i = encodeVarintStateInfo(dAtA, i, uint64(len(m.DrsVersion))) + i-- + dAtA[i] = 0x5a + } + n1, err1 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt):]) + if err1 != nil { + return 0, err1 + } + i -= n1 + i = encodeVarintStateInfo(dAtA, i, uint64(n1)) + i-- + dAtA[i] = 0x52 { size, err := m.BDs.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -617,6 +660,12 @@ func (m *StateInfo) Size() (n int) { } l = m.BDs.Size() n += 1 + l + sovStateInfo(uint64(l)) + l = github_com_gogo_protobuf_types.SizeOfStdTime(m.CreatedAt) + n += 1 + l + sovStateInfo(uint64(l)) + l = len(m.DrsVersion) + if l > 0 { + n += 1 + l + sovStateInfo(uint64(l)) + } return n } @@ -959,7 +1008,7 @@ func (m *StateInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Status |= types.Status(b&0x7F) << shift + m.Status |= common.Status(b&0x7F) << shift if b < 0x80 { break } @@ -997,6 +1046,71 @@ func (m *StateInfo) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStateInfo + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStateInfo + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStateInfo + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.CreatedAt, dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DrsVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStateInfo + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthStateInfo + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthStateInfo + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DrsVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipStateInfo(dAtA[iNdEx:]) @@ -1094,7 +1208,7 @@ func (m *StateInfoSummary) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Status |= types.Status(b&0x7F) << shift + m.Status |= common.Status(b&0x7F) << shift if b < 0x80 { break } diff --git a/third_party/dymension/rollapp/types/tx.pb.go b/types/pb/dymensionxyz/dymension/rollapp/tx.pb.go similarity index 51% rename from third_party/dymension/rollapp/types/tx.pb.go rename to types/pb/dymensionxyz/dymension/rollapp/tx.pb.go index ca1cd5064..c8c6899dc 100644 --- a/third_party/dymension/rollapp/types/tx.pb.go +++ b/types/pb/dymensionxyz/dymension/rollapp/tx.pb.go @@ -1,18 +1,13 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dymension/rollapp/tx.proto +// source: types/dymensionxyz/dymension/rollapp/tx.proto -package types +package rollapp import ( - context "context" fmt "fmt" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" io "io" math "math" math_bits "math/bits" @@ -39,23 +34,21 @@ type MsgCreateRollapp struct { // initial_sequencer takes one or more coma-separated bech32-encoded addresses of the // sequencer(s) that are allowed to initially serve this rollappId. InitialSequencer string `protobuf:"bytes,11,opt,name=initial_sequencer,json=initialSequencer,proto3" json:"initial_sequencer,omitempty"` - // the unique rollapp address bech32 prefix. - Bech32Prefix string `protobuf:"bytes,12,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"` // alias is the chain alias used for display and namespace system - Alias string `protobuf:"bytes,13,opt,name=alias,proto3" json:"alias,omitempty"` - // checksum used to verify integrity of the genesis file - GenesisChecksum string `protobuf:"bytes,14,opt,name=genesis_checksum,json=genesisChecksum,proto3" json:"genesis_checksum,omitempty"` + Alias string `protobuf:"bytes,12,opt,name=alias,proto3" json:"alias,omitempty"` // metadata is the rollapp metadata - Metadata *RollappMetadata `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *RollappMetadata `protobuf:"bytes,13,opt,name=metadata,proto3" json:"metadata,omitempty"` + // genesis_info is the genesis information + GenesisInfo GenesisInfo `protobuf:"bytes,14,opt,name=genesis_info,json=genesisInfo,proto3" json:"genesis_info"` // vm_type is the type of rollapp machine: EVM or WASM - VmType Rollapp_VMType `protobuf:"varint,16,opt,name=vm_type,json=vmType,proto3,enum=dymensionxyz.dymension.rollapp.Rollapp_VMType" json:"vm_type,omitempty"` + VmType Rollapp_VMType `protobuf:"varint,15,opt,name=vm_type,json=vmType,proto3,enum=dymensionxyz.dymension.rollapp.Rollapp_VMType" json:"vm_type,omitempty"` } func (m *MsgCreateRollapp) Reset() { *m = MsgCreateRollapp{} } func (m *MsgCreateRollapp) String() string { return proto.CompactTextString(m) } func (*MsgCreateRollapp) ProtoMessage() {} func (*MsgCreateRollapp) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{0} + return fileDescriptor_fa9b86052c2a43cd, []int{0} } func (m *MsgCreateRollapp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -105,13 +98,6 @@ func (m *MsgCreateRollapp) GetInitialSequencer() string { return "" } -func (m *MsgCreateRollapp) GetBech32Prefix() string { - if m != nil { - return m.Bech32Prefix - } - return "" -} - func (m *MsgCreateRollapp) GetAlias() string { if m != nil { return m.Alias @@ -119,18 +105,18 @@ func (m *MsgCreateRollapp) GetAlias() string { return "" } -func (m *MsgCreateRollapp) GetGenesisChecksum() string { +func (m *MsgCreateRollapp) GetMetadata() *RollappMetadata { if m != nil { - return m.GenesisChecksum + return m.Metadata } - return "" + return nil } -func (m *MsgCreateRollapp) GetMetadata() *RollappMetadata { +func (m *MsgCreateRollapp) GetGenesisInfo() GenesisInfo { if m != nil { - return m.Metadata + return m.GenesisInfo } - return nil + return GenesisInfo{} } func (m *MsgCreateRollapp) GetVmType() Rollapp_VMType { @@ -147,7 +133,7 @@ func (m *MsgCreateRollappResponse) Reset() { *m = MsgCreateRollappRespon func (m *MsgCreateRollappResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateRollappResponse) ProtoMessage() {} func (*MsgCreateRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{1} + return fileDescriptor_fa9b86052c2a43cd, []int{1} } func (m *MsgCreateRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -186,17 +172,17 @@ type MsgUpdateRollappInformation struct { // sequencer that are allowed to initially serve this rollappId. // wildcard '*' means any sequencer is allowed to be the first proposer. InitialSequencer string `protobuf:"bytes,3,opt,name=initial_sequencer,json=initialSequencer,proto3" json:"initial_sequencer,omitempty"` - // checksum used to verify integrity - GenesisChecksum string `protobuf:"bytes,4,opt,name=genesis_checksum,json=genesisChecksum,proto3" json:"genesis_checksum,omitempty"` // metadata is the rollapp metadata Metadata *RollappMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` + // genesis_info is the genesis information + GenesisInfo GenesisInfo `protobuf:"bytes,6,opt,name=genesis_info,json=genesisInfo,proto3" json:"genesis_info"` } func (m *MsgUpdateRollappInformation) Reset() { *m = MsgUpdateRollappInformation{} } func (m *MsgUpdateRollappInformation) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRollappInformation) ProtoMessage() {} func (*MsgUpdateRollappInformation) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{2} + return fileDescriptor_fa9b86052c2a43cd, []int{2} } func (m *MsgUpdateRollappInformation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -246,18 +232,18 @@ func (m *MsgUpdateRollappInformation) GetInitialSequencer() string { return "" } -func (m *MsgUpdateRollappInformation) GetGenesisChecksum() string { +func (m *MsgUpdateRollappInformation) GetMetadata() *RollappMetadata { if m != nil { - return m.GenesisChecksum + return m.Metadata } - return "" + return nil } -func (m *MsgUpdateRollappInformation) GetMetadata() *RollappMetadata { +func (m *MsgUpdateRollappInformation) GetGenesisInfo() GenesisInfo { if m != nil { - return m.Metadata + return m.GenesisInfo } - return nil + return GenesisInfo{} } type MsgUpdateRollappInformationResponse struct { @@ -267,7 +253,7 @@ func (m *MsgUpdateRollappInformationResponse) Reset() { *m = MsgUpdateRo func (m *MsgUpdateRollappInformationResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRollappInformationResponse) ProtoMessage() {} func (*MsgUpdateRollappInformationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{3} + return fileDescriptor_fa9b86052c2a43cd, []int{3} } func (m *MsgUpdateRollappInformationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -315,13 +301,15 @@ type MsgUpdateState struct { BDs BlockDescriptors `protobuf:"bytes,7,opt,name=BDs,proto3" json:"BDs"` // last is true if this is the last batch of the sequencer Last bool `protobuf:"varint,8,opt,name=last,proto3" json:"last,omitempty"` + // DrsVersion is a DRS version used by the rollapp. + DrsVersion string `protobuf:"bytes,9,opt,name=drs_version,json=drsVersion,proto3" json:"drs_version,omitempty"` } func (m *MsgUpdateState) Reset() { *m = MsgUpdateState{} } func (m *MsgUpdateState) String() string { return proto.CompactTextString(m) } func (*MsgUpdateState) ProtoMessage() {} func (*MsgUpdateState) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{4} + return fileDescriptor_fa9b86052c2a43cd, []int{4} } func (m *MsgUpdateState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -399,16 +387,21 @@ func (m *MsgUpdateState) GetLast() bool { return false } +func (m *MsgUpdateState) GetDrsVersion() string { + if m != nil { + return m.DrsVersion + } + return "" +} + type MsgUpdateStateResponse struct { - NextProposerAddr string `protobuf:"bytes,1,opt,name=nextProposerAddr,proto3" json:"nextProposerAddr,omitempty"` - RotationInProgress bool `protobuf:"varint,2,opt,name=rotationInProgress,proto3" json:"rotationInProgress,omitempty"` } func (m *MsgUpdateStateResponse) Reset() { *m = MsgUpdateStateResponse{} } func (m *MsgUpdateStateResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateStateResponse) ProtoMessage() {} func (*MsgUpdateStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{5} + return fileDescriptor_fa9b86052c2a43cd, []int{5} } func (m *MsgUpdateStateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -437,20 +430,6 @@ func (m *MsgUpdateStateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateStateResponse proto.InternalMessageInfo -func (m *MsgUpdateStateResponse) GetNextProposerAddr() string { - if m != nil { - return m.NextProposerAddr - } - return "" -} - -func (m *MsgUpdateStateResponse) GetRotationInProgress() bool { - if m != nil { - return m.RotationInProgress - } - return false -} - // MsgTransferOwnership transfers the ownership of a rollapp chain to a new owner. type MsgTransferOwnership struct { // current_owner is the bech32-encoded address of the current owner @@ -465,7 +444,7 @@ func (m *MsgTransferOwnership) Reset() { *m = MsgTransferOwnership{} } func (m *MsgTransferOwnership) String() string { return proto.CompactTextString(m) } func (*MsgTransferOwnership) ProtoMessage() {} func (*MsgTransferOwnership) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{6} + return fileDescriptor_fa9b86052c2a43cd, []int{6} } func (m *MsgTransferOwnership) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +501,7 @@ func (m *MsgTransferOwnershipResponse) Reset() { *m = MsgTransferOwnersh func (m *MsgTransferOwnershipResponse) String() string { return proto.CompactTextString(m) } func (*MsgTransferOwnershipResponse) ProtoMessage() {} func (*MsgTransferOwnershipResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_935cc363af28220c, []int{7} + return fileDescriptor_fa9b86052c2a43cd, []int{7} } func (m *MsgTransferOwnershipResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -551,389 +530,598 @@ func (m *MsgTransferOwnershipResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgTransferOwnershipResponse proto.InternalMessageInfo -func init() { - proto.RegisterType((*MsgCreateRollapp)(nil), "dymensionxyz.dymension.rollapp.MsgCreateRollapp") - proto.RegisterType((*MsgCreateRollappResponse)(nil), "dymensionxyz.dymension.rollapp.MsgCreateRollappResponse") - proto.RegisterType((*MsgUpdateRollappInformation)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateRollappInformation") - proto.RegisterType((*MsgUpdateRollappInformationResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateRollappInformationResponse") - proto.RegisterType((*MsgUpdateState)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateState") - proto.RegisterType((*MsgUpdateStateResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateStateResponse") - proto.RegisterType((*MsgTransferOwnership)(nil), "dymensionxyz.dymension.rollapp.MsgTransferOwnership") - proto.RegisterType((*MsgTransferOwnershipResponse)(nil), "dymensionxyz.dymension.rollapp.MsgTransferOwnershipResponse") +// MsgAddApp adds an app to the rollapp. +type MsgAddApp struct { + // creator is the bech32-encoded address of the app creator + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // name is the unique App's name + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // rollapp_id is the id of the Rollapp the App belongs to + RollappId string `protobuf:"bytes,3,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` + // description is the description of the App + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + // image is the url to the App image + Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` + // url is the URL to the App's website + Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` + // order is the order of the App in the Rollapp + Order int32 `protobuf:"varint,7,opt,name=order,proto3" json:"order,omitempty"` } -func init() { proto.RegisterFile("dymension/rollapp/tx.proto", fileDescriptor_935cc363af28220c) } - -var fileDescriptor_935cc363af28220c = []byte{ - // 815 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0xe3, 0x26, 0x9b, 0x1f, 0x2f, 0x69, 0x37, 0x3b, 0xaa, 0x16, 0xcb, 0xbb, 0x78, 0xa3, - 0xac, 0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, 0x85, 0xd7, 0x67, 0x7a, 0xe1, 0xaf, - 0x33, 0xbd, 0xf0, 0xcd, 0x63, 0xcf, 0x17, 0xe3, 0xe9, 0xc8, 0x70, 0x68, 0x60, 0xae, 0x7e, 0x61, - 0x19, 0x98, 0xb3, 0x3d, 0x73, 0xbe, 0xfc, 0x19, 0xb1, 0x08, 0x31, 0x1f, 0x95, 0xe5, 0xbf, 0xe3, - 0xbd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x94, 0x38, 0xf3, 0x65, 0x68, 0x08, 0x00, 0x00, +func (m *MsgAddApp) Reset() { *m = MsgAddApp{} } +func (m *MsgAddApp) String() string { return proto.CompactTextString(m) } +func (*MsgAddApp) ProtoMessage() {} +func (*MsgAddApp) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{8} +} +func (m *MsgAddApp) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAddApp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAddApp.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgAddApp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAddApp.Merge(m, src) +} +func (m *MsgAddApp) XXX_Size() int { + return m.Size() +} +func (m *MsgAddApp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAddApp.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_MsgAddApp proto.InternalMessageInfo -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - CreateRollapp(ctx context.Context, in *MsgCreateRollapp, opts ...grpc.CallOption) (*MsgCreateRollappResponse, error) - UpdateRollappInformation(ctx context.Context, in *MsgUpdateRollappInformation, opts ...grpc.CallOption) (*MsgUpdateRollappInformationResponse, error) - UpdateState(ctx context.Context, in *MsgUpdateState, opts ...grpc.CallOption) (*MsgUpdateStateResponse, error) - TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) +func (m *MsgAddApp) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -type msgClient struct { - cc grpc1.ClientConn +func (m *MsgAddApp) GetName() string { + if m != nil { + return m.Name + } + return "" } -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} +func (m *MsgAddApp) GetRollappId() string { + if m != nil { + return m.RollappId + } + return "" } -func (c *msgClient) CreateRollapp(ctx context.Context, in *MsgCreateRollapp, opts ...grpc.CallOption) (*MsgCreateRollappResponse, error) { - out := new(MsgCreateRollappResponse) - err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.rollapp.Msg/CreateRollapp", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAddApp) GetDescription() string { + if m != nil { + return m.Description } - return out, nil + return "" } -func (c *msgClient) UpdateRollappInformation(ctx context.Context, in *MsgUpdateRollappInformation, opts ...grpc.CallOption) (*MsgUpdateRollappInformationResponse, error) { - out := new(MsgUpdateRollappInformationResponse) - err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.rollapp.Msg/UpdateRollappInformation", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAddApp) GetImage() string { + if m != nil { + return m.Image } - return out, nil + return "" } -func (c *msgClient) UpdateState(ctx context.Context, in *MsgUpdateState, opts ...grpc.CallOption) (*MsgUpdateStateResponse, error) { - out := new(MsgUpdateStateResponse) - err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.rollapp.Msg/UpdateState", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAddApp) GetUrl() string { + if m != nil { + return m.Url } - return out, nil + return "" } -func (c *msgClient) TransferOwnership(ctx context.Context, in *MsgTransferOwnership, opts ...grpc.CallOption) (*MsgTransferOwnershipResponse, error) { - out := new(MsgTransferOwnershipResponse) - err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.rollapp.Msg/TransferOwnership", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAddApp) GetOrder() int32 { + if m != nil { + return m.Order } - return out, nil + return 0 } -// MsgServer is the server API for Msg service. -type MsgServer interface { - CreateRollapp(context.Context, *MsgCreateRollapp) (*MsgCreateRollappResponse, error) - UpdateRollappInformation(context.Context, *MsgUpdateRollappInformation) (*MsgUpdateRollappInformationResponse, error) - UpdateState(context.Context, *MsgUpdateState) (*MsgUpdateStateResponse, error) - TransferOwnership(context.Context, *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) +type MsgAddAppResponse struct { } -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { +func (m *MsgAddAppResponse) Reset() { *m = MsgAddAppResponse{} } +func (m *MsgAddAppResponse) String() string { return proto.CompactTextString(m) } +func (*MsgAddAppResponse) ProtoMessage() {} +func (*MsgAddAppResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{9} } - -func (*UnimplementedMsgServer) CreateRollapp(ctx context.Context, req *MsgCreateRollapp) (*MsgCreateRollappResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRollapp not implemented") +func (m *MsgAddAppResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAddAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAddAppResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) UpdateRollappInformation(ctx context.Context, req *MsgUpdateRollappInformation) (*MsgUpdateRollappInformationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateRollappInformation not implemented") +func (m *MsgAddAppResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAddAppResponse.Merge(m, src) } -func (*UnimplementedMsgServer) UpdateState(ctx context.Context, req *MsgUpdateState) (*MsgUpdateStateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateState not implemented") +func (m *MsgAddAppResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) TransferOwnership(ctx context.Context, req *MsgTransferOwnership) (*MsgTransferOwnershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TransferOwnership not implemented") +func (m *MsgAddAppResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAddAppResponse.DiscardUnknown(m) } -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) +var xxx_messageInfo_MsgAddAppResponse proto.InternalMessageInfo + +// MsgUpdateApp updates the app information. +type MsgUpdateApp struct { + // creator is the bech32-encoded address of the app owner + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // id is the unique App's id in the Rollapp + Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + // name is the unique App's name (immutable) + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + // rollapp_id is the id of the Rollapp the App belongs to + RollappId string `protobuf:"bytes,4,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` + // description is the description of the App + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + // image is the url to the App image + Image string `protobuf:"bytes,6,opt,name=image,proto3" json:"image,omitempty"` + // url is the URL to the App's website + Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` + // order is the order of the App in the Rollapp + Order int32 `protobuf:"varint,8,opt,name=order,proto3" json:"order,omitempty"` } -func _Msg_CreateRollapp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateRollapp) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateRollapp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dymensionxyz.dymension.rollapp.Msg/CreateRollapp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateRollapp(ctx, req.(*MsgCreateRollapp)) +func (m *MsgUpdateApp) Reset() { *m = MsgUpdateApp{} } +func (m *MsgUpdateApp) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateApp) ProtoMessage() {} +func (*MsgUpdateApp) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{10} +} +func (m *MsgUpdateApp) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateApp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateApp.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *MsgUpdateApp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateApp.Merge(m, src) +} +func (m *MsgUpdateApp) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateApp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateApp.DiscardUnknown(m) } -func _Msg_UpdateRollappInformation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateRollappInformation) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateRollappInformation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dymensionxyz.dymension.rollapp.Msg/UpdateRollappInformation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateRollappInformation(ctx, req.(*MsgUpdateRollappInformation)) +var xxx_messageInfo_MsgUpdateApp proto.InternalMessageInfo + +func (m *MsgUpdateApp) GetCreator() string { + if m != nil { + return m.Creator } - return interceptor(ctx, in, info, handler) + return "" } -func _Msg_UpdateState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateState) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateState(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dymensionxyz.dymension.rollapp.Msg/UpdateState", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateState(ctx, req.(*MsgUpdateState)) +func (m *MsgUpdateApp) GetId() uint64 { + if m != nil { + return m.Id } - return interceptor(ctx, in, info, handler) + return 0 } -func _Msg_TransferOwnership_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgTransferOwnership) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).TransferOwnership(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/dymensionxyz.dymension.rollapp.Msg/TransferOwnership", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).TransferOwnership(ctx, req.(*MsgTransferOwnership)) +func (m *MsgUpdateApp) GetName() string { + if m != nil { + return m.Name } - return interceptor(ctx, in, info, handler) + return "" } -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dymensionxyz.dymension.rollapp.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateRollapp", - Handler: _Msg_CreateRollapp_Handler, - }, - { - MethodName: "UpdateRollappInformation", - Handler: _Msg_UpdateRollappInformation_Handler, - }, - { - MethodName: "UpdateState", - Handler: _Msg_UpdateState_Handler, - }, - { - MethodName: "TransferOwnership", - Handler: _Msg_TransferOwnership_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dymension/rollapp/tx.proto", +func (m *MsgUpdateApp) GetRollappId() string { + if m != nil { + return m.RollappId + } + return "" } -func (m *MsgCreateRollapp) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgUpdateApp) GetDescription() string { + if m != nil { + return m.Description } - return dAtA[:n], nil + return "" } -func (m *MsgCreateRollapp) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgUpdateApp) GetImage() string { + if m != nil { + return m.Image + } + return "" } -func (m *MsgCreateRollapp) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.VmType != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.VmType)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if m.Metadata != nil { - { - size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x7a - } - if len(m.GenesisChecksum) > 0 { - i -= len(m.GenesisChecksum) - copy(dAtA[i:], m.GenesisChecksum) - i = encodeVarintTx(dAtA, i, uint64(len(m.GenesisChecksum))) - i-- - dAtA[i] = 0x72 - } - if len(m.Alias) > 0 { - i -= len(m.Alias) - copy(dAtA[i:], m.Alias) - i = encodeVarintTx(dAtA, i, uint64(len(m.Alias))) - i-- - dAtA[i] = 0x6a - } - if len(m.Bech32Prefix) > 0 { - i -= len(m.Bech32Prefix) - copy(dAtA[i:], m.Bech32Prefix) - i = encodeVarintTx(dAtA, i, uint64(len(m.Bech32Prefix))) - i-- - dAtA[i] = 0x62 - } - if len(m.InitialSequencer) > 0 { - i -= len(m.InitialSequencer) - copy(dAtA[i:], m.InitialSequencer) - i = encodeVarintTx(dAtA, i, uint64(len(m.InitialSequencer))) - i-- - dAtA[i] = 0x5a - } - if len(m.RollappId) > 0 { - i -= len(m.RollappId) - copy(dAtA[i:], m.RollappId) - i = encodeVarintTx(dAtA, i, uint64(len(m.RollappId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa +func (m *MsgUpdateApp) GetUrl() string { + if m != nil { + return m.Url } - return len(dAtA) - i, nil + return "" } -func (m *MsgCreateRollappResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgUpdateApp) GetOrder() int32 { + if m != nil { + return m.Order } - return dAtA[:n], nil + return 0 } -func (m *MsgCreateRollappResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type MsgUpdateAppResponse struct { } -func (m *MsgCreateRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (m *MsgUpdateAppResponse) Reset() { *m = MsgUpdateAppResponse{} } +func (m *MsgUpdateAppResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateAppResponse) ProtoMessage() {} +func (*MsgUpdateAppResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{11} } - -func (m *MsgUpdateRollappInformation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (m *MsgUpdateAppResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *MsgUpdateRollappInformation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgUpdateAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateAppResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateAppResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateAppResponse.Merge(m, src) +} +func (m *MsgUpdateAppResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateAppResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateAppResponse.DiscardUnknown(m) } -func (m *MsgUpdateRollappInformation) MarshalToSizedBuffer(dAtA []byte) (int, error) { +var xxx_messageInfo_MsgUpdateAppResponse proto.InternalMessageInfo + +// MsgRemoveApp removes an app from the rollapp. +type MsgRemoveApp struct { + // creator is the bech32-encoded address of the app owner + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + // id is the unique App's id in the Rollapp + Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` + // rollapp_id is the id of the Rollapp the App belongs to + RollappId string `protobuf:"bytes,3,opt,name=rollapp_id,json=rollappId,proto3" json:"rollapp_id,omitempty"` +} + +func (m *MsgRemoveApp) Reset() { *m = MsgRemoveApp{} } +func (m *MsgRemoveApp) String() string { return proto.CompactTextString(m) } +func (*MsgRemoveApp) ProtoMessage() {} +func (*MsgRemoveApp) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{12} +} +func (m *MsgRemoveApp) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRemoveApp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRemoveApp.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRemoveApp) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRemoveApp.Merge(m, src) +} +func (m *MsgRemoveApp) XXX_Size() int { + return m.Size() +} +func (m *MsgRemoveApp) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRemoveApp.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRemoveApp proto.InternalMessageInfo + +func (m *MsgRemoveApp) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgRemoveApp) GetId() uint64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *MsgRemoveApp) GetRollappId() string { + if m != nil { + return m.RollappId + } + return "" +} + +type MsgRemoveAppResponse struct { +} + +func (m *MsgRemoveAppResponse) Reset() { *m = MsgRemoveAppResponse{} } +func (m *MsgRemoveAppResponse) String() string { return proto.CompactTextString(m) } +func (*MsgRemoveAppResponse) ProtoMessage() {} +func (*MsgRemoveAppResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{13} +} +func (m *MsgRemoveAppResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgRemoveAppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgRemoveAppResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgRemoveAppResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgRemoveAppResponse.Merge(m, src) +} +func (m *MsgRemoveAppResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgRemoveAppResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgRemoveAppResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgRemoveAppResponse proto.InternalMessageInfo + +// MsgMarkVulnerableRollapps marks specified versions as vulnerable as well as +// all corresponding rollapps. Must be called by the governance. +type MsgMarkVulnerableRollapps struct { + // Authority is the authority address. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // DrsVersions is a list of DRS versions that will be marked vulnerable. + DrsVersions []string `protobuf:"bytes,2,rep,name=drs_versions,json=drsVersions,proto3" json:"drs_versions,omitempty"` +} + +func (m *MsgMarkVulnerableRollapps) Reset() { *m = MsgMarkVulnerableRollapps{} } +func (m *MsgMarkVulnerableRollapps) String() string { return proto.CompactTextString(m) } +func (*MsgMarkVulnerableRollapps) ProtoMessage() {} +func (*MsgMarkVulnerableRollapps) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{14} +} +func (m *MsgMarkVulnerableRollapps) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMarkVulnerableRollapps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMarkVulnerableRollapps.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgMarkVulnerableRollapps) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMarkVulnerableRollapps.Merge(m, src) +} +func (m *MsgMarkVulnerableRollapps) XXX_Size() int { + return m.Size() +} +func (m *MsgMarkVulnerableRollapps) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMarkVulnerableRollapps.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMarkVulnerableRollapps proto.InternalMessageInfo + +func (m *MsgMarkVulnerableRollapps) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgMarkVulnerableRollapps) GetDrsVersions() []string { + if m != nil { + return m.DrsVersions + } + return nil +} + +type MsgMarkVulnerableRollappsResponse struct { +} + +func (m *MsgMarkVulnerableRollappsResponse) Reset() { *m = MsgMarkVulnerableRollappsResponse{} } +func (m *MsgMarkVulnerableRollappsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgMarkVulnerableRollappsResponse) ProtoMessage() {} +func (*MsgMarkVulnerableRollappsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fa9b86052c2a43cd, []int{15} +} +func (m *MsgMarkVulnerableRollappsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgMarkVulnerableRollappsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgMarkVulnerableRollappsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgMarkVulnerableRollappsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgMarkVulnerableRollappsResponse.Merge(m, src) +} +func (m *MsgMarkVulnerableRollappsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgMarkVulnerableRollappsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgMarkVulnerableRollappsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgMarkVulnerableRollappsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgCreateRollapp)(nil), "dymensionxyz.dymension.rollapp.MsgCreateRollapp") + proto.RegisterType((*MsgCreateRollappResponse)(nil), "dymensionxyz.dymension.rollapp.MsgCreateRollappResponse") + proto.RegisterType((*MsgUpdateRollappInformation)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateRollappInformation") + proto.RegisterType((*MsgUpdateRollappInformationResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateRollappInformationResponse") + proto.RegisterType((*MsgUpdateState)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateState") + proto.RegisterType((*MsgUpdateStateResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateStateResponse") + proto.RegisterType((*MsgTransferOwnership)(nil), "dymensionxyz.dymension.rollapp.MsgTransferOwnership") + proto.RegisterType((*MsgTransferOwnershipResponse)(nil), "dymensionxyz.dymension.rollapp.MsgTransferOwnershipResponse") + proto.RegisterType((*MsgAddApp)(nil), "dymensionxyz.dymension.rollapp.MsgAddApp") + proto.RegisterType((*MsgAddAppResponse)(nil), "dymensionxyz.dymension.rollapp.MsgAddAppResponse") + proto.RegisterType((*MsgUpdateApp)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateApp") + proto.RegisterType((*MsgUpdateAppResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateAppResponse") + proto.RegisterType((*MsgRemoveApp)(nil), "dymensionxyz.dymension.rollapp.MsgRemoveApp") + proto.RegisterType((*MsgRemoveAppResponse)(nil), "dymensionxyz.dymension.rollapp.MsgRemoveAppResponse") + proto.RegisterType((*MsgMarkVulnerableRollapps)(nil), "dymensionxyz.dymension.rollapp.MsgMarkVulnerableRollapps") + proto.RegisterType((*MsgMarkVulnerableRollappsResponse)(nil), "dymensionxyz.dymension.rollapp.MsgMarkVulnerableRollappsResponse") +} + +func init() { + proto.RegisterFile("types/dymensionxyz/dymension/rollapp/tx.proto", fileDescriptor_fa9b86052c2a43cd) +} + +var fileDescriptor_fa9b86052c2a43cd = []byte{ + // 901 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xcf, 0xda, 0x1b, 0xff, 0x79, 0x76, 0x8d, 0x3b, 0x44, 0xd1, 0x92, 0xb6, 0xae, 0xeb, 0x08, + 0x29, 0xa2, 0xc2, 0x86, 0xf4, 0x16, 0x4e, 0x09, 0x11, 0x6d, 0x41, 0x56, 0x61, 0x1b, 0x72, 0xe0, + 0x62, 0xc6, 0xde, 0xc9, 0x7a, 0xd4, 0xdd, 0x99, 0x65, 0x66, 0xec, 0xd4, 0x1c, 0xb9, 0x22, 0x21, + 0x3e, 0x0a, 0x12, 0x7c, 0x06, 0xd4, 0x63, 0x8f,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35, + 0xb1, 0xd5, 0xcc, 0x1c, 0xe8, 0x01, 0x54, 0xe7, 0x06, 0x51, 0x7a, 0xb9, 0x66, 0xde, 0x10, 0x98, + 0x4d, 0xa2, 0x3c, 0xa8, 0xe9, 0x1a, 0x66, 0x21, 0xad, 0x5d, 0x78, 0x70, 0xe3, 0x6d, 0xd3, 0x92, + 0x8e, 0xbe, 0x7d, 0x75, 0xd1, 0x70, 0x5e, 0x5f, 0x34, 0x9c, 0xbf, 0x2f, 0x1a, 0xce, 0xcf, 0x97, + 0x8d, 0x8d, 0xd7, 0x97, 0x8d, 0x8d, 0x3f, 0x2e, 0x1b, 0x1b, 0xdf, 0x7c, 0x16, 0x52, 0x35, 0x1c, + 0xf5, 0xdb, 0x03, 0x1e, 0x5f, 0xfb, 0xad, 0xa0, 0x4c, 0x75, 0xd2, 0x1f, 0x8e, 0xa4, 0xbf, 0xe2, + 0x9f, 0xa3, 0x5f, 0x30, 0x7f, 0x15, 0x8f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf7, 0x26, 0x1d, + 0x3c, 0x81, 0x09, 0x00, 0x00, +} + +func (m *MsgCreateRollapp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgCreateRollapp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateRollapp) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.VmType != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.VmType)) + i-- + dAtA[i] = 0x78 + } + { + size, err := m.GenesisInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 if m.Metadata != nil { { size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) @@ -944,21 +1132,21 @@ func (m *MsgUpdateRollappInformation) MarshalToSizedBuffer(dAtA []byte) (int, er i = encodeVarintTx(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x6a } - if len(m.GenesisChecksum) > 0 { - i -= len(m.GenesisChecksum) - copy(dAtA[i:], m.GenesisChecksum) - i = encodeVarintTx(dAtA, i, uint64(len(m.GenesisChecksum))) + if len(m.Alias) > 0 { + i -= len(m.Alias) + copy(dAtA[i:], m.Alias) + i = encodeVarintTx(dAtA, i, uint64(len(m.Alias))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x62 } if len(m.InitialSequencer) > 0 { i -= len(m.InitialSequencer) copy(dAtA[i:], m.InitialSequencer) i = encodeVarintTx(dAtA, i, uint64(len(m.InitialSequencer))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x5a } if len(m.RollappId) > 0 { i -= len(m.RollappId) @@ -967,17 +1155,17 @@ func (m *MsgUpdateRollappInformation) MarshalToSizedBuffer(dAtA []byte) (int, er i-- dAtA[i] = 0x12 } - if len(m.Owner) > 0 { - i -= len(m.Owner) - copy(dAtA[i:], m.Owner) - i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MsgUpdateRollappInformationResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgCreateRollappResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -987,12 +1175,12 @@ func (m *MsgUpdateRollappInformationResponse) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *MsgUpdateRollappInformationResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgCreateRollappResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateRollappInformationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgCreateRollappResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1000,7 +1188,7 @@ func (m *MsgUpdateRollappInformationResponse) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } -func (m *MsgUpdateState) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateRollappInformation) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1010,28 +1198,18 @@ func (m *MsgUpdateState) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUpdateState) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateRollappInformation) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateRollappInformation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Last { - i-- - if m.Last { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x40 - } { - size, err := m.BDs.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GenesisInfo.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1039,23 +1217,25 @@ func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintTx(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x3a - if len(m.DAPath) > 0 { - i -= len(m.DAPath) - copy(dAtA[i:], m.DAPath) - i = encodeVarintTx(dAtA, i, uint64(len(m.DAPath))) + dAtA[i] = 0x32 + if m.Metadata != nil { + { + size, err := m.Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x2a } - if m.NumBlocks != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.NumBlocks)) - i-- - dAtA[i] = 0x20 - } - if m.StartHeight != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.StartHeight)) + if len(m.InitialSequencer) > 0 { + i -= len(m.InitialSequencer) + copy(dAtA[i:], m.InitialSequencer) + i = encodeVarintTx(dAtA, i, uint64(len(m.InitialSequencer))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } if len(m.RollappId) > 0 { i -= len(m.RollappId) @@ -1064,17 +1244,17 @@ func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *MsgUpdateStateResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgUpdateRollappInformationResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1084,36 +1264,123 @@ func (m *MsgUpdateStateResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgUpdateStateResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgUpdateRollappInformationResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgUpdateStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgUpdateRollappInformationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.RotationInProgress { - i-- - if m.RotationInProgress { - dAtA[i] = 1 + return len(dAtA) - i, nil +} + +func (m *MsgUpdateState) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DrsVersion) > 0 { + i -= len(m.DrsVersion) + copy(dAtA[i:], m.DrsVersion) + i = encodeVarintTx(dAtA, i, uint64(len(m.DrsVersion))) + i-- + dAtA[i] = 0x4a + } + if m.Last { + i-- + if m.Last { + dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x40 + } + { + size, err := m.BDs.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + if len(m.DAPath) > 0 { + i -= len(m.DAPath) + copy(dAtA[i:], m.DAPath) + i = encodeVarintTx(dAtA, i, uint64(len(m.DAPath))) + i-- + dAtA[i] = 0x2a + } + if m.NumBlocks != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.NumBlocks)) + i-- + dAtA[i] = 0x20 + } + if m.StartHeight != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x18 + } + if len(m.RollappId) > 0 { + i -= len(m.RollappId) + copy(dAtA[i:], m.RollappId) + i = encodeVarintTx(dAtA, i, uint64(len(m.RollappId))) + i-- + dAtA[i] = 0x12 } - if len(m.NextProposerAddr) > 0 { - i -= len(m.NextProposerAddr) - copy(dAtA[i:], m.NextProposerAddr) - i = encodeVarintTx(dAtA, i, uint64(len(m.NextProposerAddr))) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } +func (m *MsgUpdateStateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateStateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func (m *MsgTransferOwnership) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1181,110 +1448,420 @@ func (m *MsgTransferOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MsgAddApp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *MsgCreateRollapp) Size() (n int) { - if m == nil { - return 0 - } + +func (m *MsgAddApp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddApp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.RollappId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.Order != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Order)) + i-- + dAtA[i] = 0x38 } - l = len(m.InitialSequencer) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintTx(dAtA, i, uint64(len(m.Url))) + i-- + dAtA[i] = 0x32 } - l = len(m.Bech32Prefix) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x2a } - l = len(m.Alias) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintTx(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x22 } - l = len(m.GenesisChecksum) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.RollappId) > 0 { + i -= len(m.RollappId) + copy(dAtA[i:], m.RollappId) + i = encodeVarintTx(dAtA, i, uint64(len(m.RollappId))) + i-- + dAtA[i] = 0x1a } - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 } - if m.VmType != 0 { - n += 2 + sovTx(uint64(m.VmType)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *MsgCreateRollappResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgAddAppResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgAddAppResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddAppResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *MsgUpdateRollappInformation) Size() (n int) { - if m == nil { - return 0 +func (m *MsgUpdateApp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *MsgUpdateApp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateApp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Owner) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.Order != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Order)) + i-- + dAtA[i] = 0x40 } - l = len(m.RollappId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Url) > 0 { + i -= len(m.Url) + copy(dAtA[i:], m.Url) + i = encodeVarintTx(dAtA, i, uint64(len(m.Url))) + i-- + dAtA[i] = 0x3a } - l = len(m.InitialSequencer) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Image) > 0 { + i -= len(m.Image) + copy(dAtA[i:], m.Image) + i = encodeVarintTx(dAtA, i, uint64(len(m.Image))) + i-- + dAtA[i] = 0x32 } - l = len(m.GenesisChecksum) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintTx(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x2a } - if m.Metadata != nil { - l = m.Metadata.Size() - n += 1 + l + sovTx(uint64(l)) + if len(m.RollappId) > 0 { + i -= len(m.RollappId) + copy(dAtA[i:], m.RollappId) + i = encodeVarintTx(dAtA, i, uint64(len(m.RollappId))) + i-- + dAtA[i] = 0x22 } - return n + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x1a + } + if m.Id != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x10 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *MsgUpdateRollappInformationResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgUpdateAppResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *MsgUpdateState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l +func (m *MsgUpdateAppResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateAppResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgRemoveApp) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRemoveApp) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRemoveApp) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.RollappId) > 0 { + i -= len(m.RollappId) + copy(dAtA[i:], m.RollappId) + i = encodeVarintTx(dAtA, i, uint64(len(m.RollappId))) + i-- + dAtA[i] = 0x1a + } + if m.Id != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x10 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgRemoveAppResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgRemoveAppResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgRemoveAppResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgMarkVulnerableRollapps) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgMarkVulnerableRollapps) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMarkVulnerableRollapps) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DrsVersions) > 0 { + for iNdEx := len(m.DrsVersions) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.DrsVersions[iNdEx]) + copy(dAtA[i:], m.DrsVersions[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.DrsVersions[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgMarkVulnerableRollappsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgMarkVulnerableRollappsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgMarkVulnerableRollappsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgCreateRollapp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.InitialSequencer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Alias) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = m.GenesisInfo.Size() + n += 1 + l + sovTx(uint64(l)) + if m.VmType != 0 { + n += 1 + sovTx(uint64(m.VmType)) + } + return n +} + +func (m *MsgCreateRollappResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateRollappInformation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.InitialSequencer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Metadata != nil { + l = m.Metadata.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = m.GenesisInfo.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateRollappInformationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l l = len(m.Creator) if l > 0 { n += 1 + l + sovTx(uint64(l)) @@ -1308,6 +1885,10 @@ func (m *MsgUpdateState) Size() (n int) { if m.Last { n += 2 } + l = len(m.DrsVersion) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } return n } @@ -1317,13 +1898,6 @@ func (m *MsgUpdateStateResponse) Size() (n int) { } var l int _ = l - l = len(m.NextProposerAddr) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.RotationInProgress { - n += 2 - } return n } @@ -1357,13 +1931,1063 @@ func (m *MsgTransferOwnershipResponse) Size() (n int) { return n } -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 +func (m *MsgAddApp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Url) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Order != 0 { + n += 1 + sovTx(uint64(m.Order)) + } + return n } -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + +func (m *MsgAddAppResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgUpdateApp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Id != 0 { + n += 1 + sovTx(uint64(m.Id)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Image) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Url) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Order != 0 { + n += 1 + sovTx(uint64(m.Order)) + } + return n +} + +func (m *MsgUpdateAppResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgRemoveApp) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Id != 0 { + n += 1 + sovTx(uint64(m.Id)) + } + l = len(m.RollappId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *MsgRemoveAppResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgMarkVulnerableRollapps) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.DrsVersions) > 0 { + for _, s := range m.DrsVersions { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } + return n +} + +func (m *MsgMarkVulnerableRollappsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateRollapp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateRollapp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RollappId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InitialSequencer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Alias = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Metadata == nil { + m.Metadata = &RollappMetadata{} + } + if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GenesisInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GenesisInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VmType", wireType) + } + m.VmType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VmType |= Rollapp_VMType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgCreateRollappResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateRollappResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateRollappInformation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateRollappInformation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RollappId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InitialSequencer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Metadata == nil { + m.Metadata = &RollappMetadata{} + } + if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GenesisInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.GenesisInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateRollappInformationResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateRollappInformationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateRollappInformationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RollappId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) + } + m.StartHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NumBlocks", wireType) + } + m.NumBlocks = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NumBlocks |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DAPath", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DAPath = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BDs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.BDs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Last", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Last = bool(v != 0) + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DrsVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DrsVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateStateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } -func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { +func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1386,15 +3010,15 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateRollapp: wiretype end group for non-group") + return fmt.Errorf("proto: MsgTransferOwnership: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateRollapp: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgTransferOwnership: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CurrentOwner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1422,9 +3046,41 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.CurrentOwner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewOwner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewOwner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) } @@ -1456,9 +3112,109 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { } m.RollappId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 11: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgTransferOwnershipResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgTransferOwnershipResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgTransferOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgAddApp) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgAddApp: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAddApp: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1486,11 +3242,11 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InitialSequencer = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 12: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bech32Prefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1518,11 +3274,11 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Bech32Prefix = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 13: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Alias", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1550,11 +3306,11 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Alias = string(dAtA[iNdEx:postIndex]) + m.RollappId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 14: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisChecksum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1582,13 +3338,13 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GenesisChecksum = string(dAtA[iNdEx:postIndex]) + m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 15: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -1598,33 +3354,61 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Metadata == nil { - m.Metadata = &RollappMetadata{} + m.Image = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Url = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 16: + case 7: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field VmType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) } - m.VmType = 0 + m.Order = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -1634,7 +3418,7 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VmType |= Rollapp_VMType(b&0x7F) << shift + m.Order |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -1660,7 +3444,7 @@ func (m *MsgCreateRollapp) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error { +func (m *MsgAddAppResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1683,10 +3467,10 @@ func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgCreateRollappResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAddAppResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateRollappResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAddAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -1710,7 +3494,7 @@ func (m *MsgCreateRollappResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateApp) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1733,15 +3517,66 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateRollappInformation: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateApp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateRollappInformation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateApp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + m.Id = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Id |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1769,9 +3604,9 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Owner = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) } @@ -1803,9 +3638,9 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { } m.RollappId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InitialSequencer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1833,11 +3668,11 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InitialSequencer = string(dAtA[iNdEx:postIndex]) + m.Description = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GenesisChecksum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1865,13 +3700,13 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GenesisChecksum = string(dAtA[iNdEx:postIndex]) + m.Image = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Url", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -1881,28 +3716,43 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Metadata == nil { - m.Metadata = &RollappMetadata{} + m.Url = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType) } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Order = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Order |= int32(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -1924,7 +3774,7 @@ func (m *MsgUpdateRollappInformation) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateRollappInformationResponse) Unmarshal(dAtA []byte) error { +func (m *MsgUpdateAppResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1947,10 +3797,10 @@ func (m *MsgUpdateRollappInformationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateRollappInformationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgUpdateAppResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateRollappInformationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgUpdateAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -1974,7 +3824,7 @@ func (m *MsgUpdateRollappInformationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { +func (m *MsgRemoveApp) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1997,10 +3847,10 @@ func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateState: wiretype end group for non-group") + return fmt.Errorf("proto: MsgRemoveApp: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateState: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgRemoveApp: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2036,61 +3886,10 @@ func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.RollappId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) - } - m.StartHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NumBlocks", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - m.NumBlocks = 0 + m.Id = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -2100,14 +3899,14 @@ func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NumBlocks |= uint64(b&0x7F) << shift + m.Id |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 5: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DAPath", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2135,61 +3934,8 @@ func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DAPath = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BDs", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.BDs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.RollappId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Last", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Last = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -2211,7 +3957,7 @@ func (m *MsgUpdateState) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgRemoveAppResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2234,64 +3980,12 @@ func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateStateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgRemoveAppResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgRemoveAppResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NextProposerAddr", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NextProposerAddr = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RotationInProgress", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.RotationInProgress = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -2313,7 +4007,7 @@ func (m *MsgUpdateStateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { +func (m *MsgMarkVulnerableRollapps) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2336,15 +4030,15 @@ func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgTransferOwnership: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMarkVulnerableRollapps: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgTransferOwnership: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMarkVulnerableRollapps: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CurrentOwner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2372,43 +4066,11 @@ func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CurrentOwner = string(dAtA[iNdEx:postIndex]) + m.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewOwner", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NewOwner = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RollappId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DrsVersions", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2436,7 +4098,7 @@ func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.RollappId = string(dAtA[iNdEx:postIndex]) + m.DrsVersions = append(m.DrsVersions, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -2459,7 +4121,7 @@ func (m *MsgTransferOwnership) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgTransferOwnershipResponse) Unmarshal(dAtA []byte) error { +func (m *MsgMarkVulnerableRollappsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2482,10 +4144,10 @@ func (m *MsgTransferOwnershipResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgTransferOwnershipResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgMarkVulnerableRollappsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgTransferOwnershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgMarkVulnerableRollappsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: diff --git a/types/pb/dymensionxyz/dymension/rollapp/types.go b/types/pb/dymensionxyz/dymension/rollapp/types.go new file mode 100644 index 000000000..c23eae13f --- /dev/null +++ b/types/pb/dymensionxyz/dymension/rollapp/types.go @@ -0,0 +1,5 @@ +package rollapp + +import "github.com/dymensionxyz/dymint/types/pb/dymensionxyz/dymension/common" + +type StateStatus common.Status