Remove testnet checks for contract upload
This commit is contained in:
parent
1003fcf4ae
commit
28741049ee
@ -189,7 +189,6 @@ const UploadContract: NextPage = () => {
|
||||
|
||||
return (
|
||||
<section className="py-6 px-12 space-y-4">
|
||||
<Conditional test={NETWORK === 'testnet'}>
|
||||
<NextSeo title="Upload Contract" />
|
||||
<ContractPageHeader
|
||||
description="Here you can upload a contract on Stargaze Testnet."
|
||||
@ -252,8 +251,7 @@ const UploadContract: NextPage = () => {
|
||||
|
||||
<Conditional test={Boolean(transactionResult)}>
|
||||
<Alert type="info">
|
||||
<b>Upload success!</b> Here is the transaction result containing the code ID, transaction hash and other
|
||||
data.
|
||||
<b>Upload success!</b> Here is the transaction result containing the code ID, transaction hash and other data.
|
||||
</Alert>
|
||||
<JsonPreview content={transactionResult} title="Transaction Result" />
|
||||
<br />
|
||||
@ -282,12 +280,6 @@ const UploadContract: NextPage = () => {
|
||||
Upload Contract
|
||||
</Button>
|
||||
</div>
|
||||
</Conditional>
|
||||
<Conditional test={NETWORK === 'mainnet'}>
|
||||
<NextSeo title="Upload Contract" />
|
||||
<ContractPageHeader description="" link="" title="Upload Contract" />
|
||||
<Alert type="info">Permissionless upload of contracts is only supported for testnet currently.</Alert>
|
||||
</Conditional>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user