Skip to content

Commit

Permalink
challenger as channel admin
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Sep 25, 2024
1 parent a0c1dbd commit b32e278
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 @@ -37125,10 +37125,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 @@ -70722,10 +70720,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 @@ -70853,10 +70849,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 @@ -71629,10 +71623,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 @@ -33,8 +33,8 @@ require (
github.com/gorilla/mux v1.8.1
github.com/grpc-ecosystem/grpc-gateway v1.16.0
github.com/hashicorp/go-metrics v0.5.3
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/tx v0.1.0
Expand Down Expand Up @@ -171,7 +171,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 @@ -281,7 +281,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 @@ -1424,18 +1424,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 b32e278

Please sign in to comment.