Solang 0.1.5+ (#4001)
* Solan 0.1.5+ * Update packages/page-contracts/src/Banner.tsx
This commit is contained in:
parent
6c8392278b
commit
bd840b1ac0
@ -23,7 +23,7 @@ function Ink3Banner ({ className = '' }: Props): React.ReactElement<Props> | nul
|
||||
return (
|
||||
<article className={`${className} warning centered`}>
|
||||
<div className='box'>
|
||||
<p>{t<string>('This contracts interface only supports Substrate 2.0 with contracts using Ink! 3.0 or solang with latest metadata generation.')}</p>
|
||||
<p>{t<string>('This contracts interface only supports Substrate 2.0+ with contracts using Ink! 3.0+ or Solang 0.1.5+ with the ability to generate the latest metadata formats.')}</p>
|
||||
<p>{t<string>('Older versions of the contracts ABI cannot be used and will display an error indicating an invalid ABI when uploaded. Ensure you follow the Ink! or solang upgrade instructions if you are using an older version.')}</p>
|
||||
<p>{t<string>("With the ABI updates, there may still be dragons... the new ABI formats are a complete departure and required a lot of under-the-hood changes. So when something doesn't quite work as expected, please let us know via GH issues.")}</p>
|
||||
<Button.Group>
|
||||
@ -12,11 +12,11 @@ import introMd from './md/intro.md';
|
||||
import store from './store';
|
||||
import Contracts from './Contracts';
|
||||
import ContractAdd from './Contracts/Add';
|
||||
import Banner from './Banner';
|
||||
import Codes from './Codes';
|
||||
import CodeAdd from './Codes/Add';
|
||||
import CodeUpload from './Codes/Upload';
|
||||
import Deploy from './Deploy';
|
||||
import Ink3Banner from './Ink3Banner';
|
||||
import Summary from './Summary';
|
||||
import { useTranslation } from './translate';
|
||||
|
||||
@ -100,7 +100,7 @@ function ContractsApp ({ basePath, className = '' }: Props): React.ReactElement<
|
||||
onClick={toggleAdd}
|
||||
/>
|
||||
</Button.Group>
|
||||
<Ink3Banner />
|
||||
<Banner />
|
||||
<Contracts
|
||||
contracts={allContracts}
|
||||
updated={updated}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user