Skip to content

Commit

Permalink
feat: challenger as channel admin (#65)
Browse files Browse the repository at this point in the history
* challenger as channel admin

* update swagger docs
  • Loading branch information
beer-1 authored Sep 25, 2024
1 parent 99b7b5b commit 65a30b9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 29 deletions.
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

24 changes: 8 additions & 16 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37476,10 +37476,8 @@ paths:
description: bridge_config is the configuration of the bridge.
type: object
properties:
challengers:
type: array
items:
type: string
challenger:
type: string
description: The address of the challenger.
proposer:
type: string
Expand Down Expand Up @@ -68898,10 +68896,8 @@ definitions:
description: bridge_config is the configuration of the bridge.
type: object
properties:
challengers:
type: array
items:
type: string
challenger:
type: string
description: The address of the challenger.
proposer:
type: string
Expand Down Expand Up @@ -69029,10 +69025,8 @@ definitions:
description: bridge_config is the configuration of the bridge.
type: object
properties:
challengers:
type: array
items:
type: string
challenger:
type: string
description: The address of the challenger.
proposer:
type: string
Expand Down Expand Up @@ -69805,10 +69799,8 @@ definitions:
opinit.ophost.v1.BridgeConfig:
type: object
properties:
challengers:
type: array
items:
type: string
challenger:
type: string
description: The address of the challenger.
proposer:
type: string
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ require (
github.com/cosmos/ibc-go/v8 v8.5.0
github.com/golang/mock v1.6.0
github.com/gorilla/mux v1.8.1
github.com/initia-labs/OPinit v0.5.0
github.com/initia-labs/initia v0.5.0
github.com/initia-labs/OPinit v0.5.1
github.com/initia-labs/initia v0.5.1
github.com/initia-labs/kvindexer v0.1.8
github.com/initia-labs/kvindexer/submodules/block v0.1.0
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.5
Expand Down Expand Up @@ -166,7 +166,7 @@ require (
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/improbable-eng/grpc-web v0.15.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/initia-labs/OPinit/api v0.5.0 // indirect
github.com/initia-labs/OPinit/api v0.5.1 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jmhodges/levigo v1.0.0 // indirect
github.com/jsternberg/zap-logfmt v1.3.0 // indirect
Expand Down Expand Up @@ -277,7 +277,7 @@ replace (

// initia custom
replace (
github.com/cometbft/cometbft => github.com/initia-labs/cometbft v0.0.0-20240925074544-6cf7d75a37c3
github.com/cometbft/cometbft => github.com/initia-labs/cometbft v0.0.0-20240925132752-ff8ff0126261
github.com/cosmos/ibc-go/v8 => github.com/initia-labs/ibc-go/v8 v8.0.0-20240802003717-19c0b4ad450d

// use custom version until this PR is merged
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1416,18 +1416,18 @@ github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANyt
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/initia-labs/OPinit v0.5.0 h1:MC5oaI3MOGyTLOraQgcPgwj/U4ioG0UFvTG9Jlh8Smg=
github.com/initia-labs/OPinit v0.5.0/go.mod h1:qtZVes+/IIzlnRPPLLnlCkrEmXhJ9+dfTAPrfqVnPcg=
github.com/initia-labs/OPinit/api v0.5.0 h1:xfkXVzeeUysYdxarenNUNT1r2+ExuhWo2IQP/R/9CL4=
github.com/initia-labs/OPinit/api v0.5.0/go.mod h1:gHK6DEWb3/DqQD5LjKirUx9jilAh2UioXanoQdgqVfU=
github.com/initia-labs/cometbft v0.0.0-20240925074544-6cf7d75a37c3 h1:6dviE0V9+eW8NAYkkB2PCk+E7aSOmOLQ9rkqqD6kZLU=
github.com/initia-labs/cometbft v0.0.0-20240925074544-6cf7d75a37c3/go.mod h1:8EL9okJwgD07CUSCMtCZU261rvlIEoqEOwzdYl/+5EA=
github.com/initia-labs/OPinit v0.5.1 h1:TzpjkuSjbbaYF6hc/8E94E/m3zkGE3oOXRdrdARXA3Y=
github.com/initia-labs/OPinit v0.5.1/go.mod h1:lx1amLMszculwPu8ln+btJno38UV28fd2nP7XC88ZeE=
github.com/initia-labs/OPinit/api v0.5.1 h1:zwyJf7HtKJCKvLJ1R9PjVfJO1L+d/jKoeFyT7WTLHFI=
github.com/initia-labs/OPinit/api v0.5.1/go.mod h1:gHK6DEWb3/DqQD5LjKirUx9jilAh2UioXanoQdgqVfU=
github.com/initia-labs/cometbft v0.0.0-20240925132752-ff8ff0126261 h1:V62KOhe6Em3wAvJsDVP+3is98I3mk/29OKNVs4IxeFQ=
github.com/initia-labs/cometbft v0.0.0-20240925132752-ff8ff0126261/go.mod h1:KsQ7Wm/dw9N0l7Ypn3QKGwgUX5XinTlcHGIF0DSjsw4=
github.com/initia-labs/cometbft-client v0.0.0-20240924071428-ef115cefa07e h1:k+pg63SFozCAK4LZFSiZtof6z69Tlu0O/Zftj1aAwes=
github.com/initia-labs/cometbft-client v0.0.0-20240924071428-ef115cefa07e/go.mod h1:aVposiPW9FOUeAeJ7JjJRdE3g+L6i8YDxFn6Cv6+Az4=
github.com/initia-labs/ibc-go/v8 v8.0.0-20240802003717-19c0b4ad450d h1:TLq8lB1PtQ0pjGf+bN8YgGVeLMuytZ26SBGMOs1seKY=
github.com/initia-labs/ibc-go/v8 v8.0.0-20240802003717-19c0b4ad450d/go.mod h1:zh6x1osR0hNvEcFrC/lhGD08sMfQmr9wHVvZ/mRWMCs=
github.com/initia-labs/initia v0.5.0 h1:M/djqoqurQzcYQx6nasBeLgcrIHNgsgY+OYXGzjfgYo=
github.com/initia-labs/initia v0.5.0/go.mod h1:uULWFMIbt+PQHrd+sVQvCq4HGS+J5u6N1Pej0WmDiXw=
github.com/initia-labs/initia v0.5.1 h1:QY926Uy7MQhFGQlp6n0gzNy1aIobrCZdiCCViOlRAMI=
github.com/initia-labs/initia v0.5.1/go.mod h1:GASs+khG6RbWIkeQV116wppMEnVi7NcfANjowj66Rjo=
github.com/initia-labs/kvindexer v0.1.8 h1:PZ7FPYZO2zFXBdnvVlwMFVv6O59fpgCObELxVYB0hBo=
github.com/initia-labs/kvindexer v0.1.8/go.mod h1:OV85HaQ9KVrg+zGPUlxT9RF9nAaM3Yq4/3MoHqGqhWk=
github.com/initia-labs/kvindexer/submodules/block v0.1.0 h1:y+EXnksd/I2F96mzIoQA64nZUZON2P+99YrSzeLCLoY=
Expand Down

0 comments on commit 65a30b9

Please sign in to comment.