Remove non-generic typeUrls from revoke options
This commit is contained in:
parent
eb1a448896
commit
c87af7dbec
@ -41,7 +41,6 @@ const RevokeAuthorization: NextPage = () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const revokeAuthorization = async (granteeAddress: string, msg: string) => {
|
const revokeAuthorization = async (granteeAddress: string, msg: string) => {
|
||||||
console.log('Wallet Address: ', wallet.address)
|
|
||||||
try {
|
try {
|
||||||
if (!wallet.isWalletConnected) throw new Error('Wallet not connected.')
|
if (!wallet.isWalletConnected) throw new Error('Wallet not connected.')
|
||||||
setTransactionHash(undefined)
|
setTransactionHash(undefined)
|
||||||
@ -122,12 +121,6 @@ const RevokeAuthorization: NextPage = () => {
|
|||||||
<option className="bg-black" value="/cosmwasm.wasm.v1.MsgStoreCode">
|
<option className="bg-black" value="/cosmwasm.wasm.v1.MsgStoreCode">
|
||||||
/cosmwasm.wasm.v1.MsgStoreCode
|
/cosmwasm.wasm.v1.MsgStoreCode
|
||||||
</option>
|
</option>
|
||||||
<option className="bg-black" value="/cosmos.bank.v1beta1.SendAuthorization">
|
|
||||||
/cosmos.bank.v1beta1.SendAuthorization
|
|
||||||
</option>
|
|
||||||
<option className="bg-black" value="/cosmwasm.wasm.v1.ContractExecutionAuthorization">
|
|
||||||
/cosmwasm.wasm.v1.ContractExecutionAuthorization
|
|
||||||
</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<TextInput className="w-2/5" {...granteeAddressState} />
|
<TextInput className="w-2/5" {...granteeAddressState} />
|
||||||
|
Loading…
Reference in New Issue
Block a user