Skip to content

Commit 2056f22

Browse files
committed
removed unused binary and npm config
1 parent a51a2cd commit 2056f22

File tree

6 files changed

+16
-121
lines changed

6 files changed

+16
-121
lines changed

.ai/categories/smart-contracts.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10465,37 +10465,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1046510465

1046610466
To compile your project, follow these instructions:
1046710467

10468-
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`:
10469-
10470-
=== "npm Configuration"
10471-
10472-
```javascript title="hardhat.config.js" hl_lines="9-11 14"
10473-
// hardhat.config.js
10474-
require('@nomicfoundation/hardhat-toolbox');
10475-
10476-
require('@parity/hardhat-polkadot');
10477-
10478-
/** @type import('hardhat/config').HardhatUserConfig */
10479-
module.exports = {
10480-
solidity: '0.8.28',
10481-
networks: {
10482-
hardhat: {
10483-
polkadot: {
10484-
target: 'evm'
10485-
},
10486-
nodeConfig: {
10487-
},
10488-
},
10489-
};
10490-
```
10491-
10492-
=== "Binary Configuration"
10493-
10494-
```javascript title="hardhat.config.js" hl_lines="9-14 17"
10495-
10496-
10497-
```
10498-
10468+
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`.
1049910469

1050010470
The default settings used can be found in the [`constants.ts`](https://github.com/paritytech/hardhat-polkadot/blob/v0.2.0-pre6/packages/hardhat-polkadot-resolc/src/constants.ts#L15-L30){target=\_blank} file of the `hardhat-polkadot` source code. You can change them according to your project needs. Generally, the recommended settings for optimized outputs are the following:
1050110471

.ai/categories/tooling.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19879,37 +19879,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
1987919879

1988019880
To compile your project, follow these instructions:
1988119881

19882-
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`:
19883-
19884-
=== "npm Configuration"
19885-
19886-
```javascript title="hardhat.config.js" hl_lines="9-11 14"
19887-
// hardhat.config.js
19888-
require('@nomicfoundation/hardhat-toolbox');
19889-
19890-
require('@parity/hardhat-polkadot');
19891-
19892-
/** @type import('hardhat/config').HardhatUserConfig */
19893-
module.exports = {
19894-
solidity: '0.8.28',
19895-
networks: {
19896-
hardhat: {
19897-
polkadot: {
19898-
target: 'evm'
19899-
},
19900-
nodeConfig: {
19901-
},
19902-
},
19903-
};
19904-
```
19905-
19906-
=== "Binary Configuration"
19907-
19908-
```javascript title="hardhat.config.js" hl_lines="9-14 17"
19909-
19910-
19911-
```
19912-
19882+
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`.
1991319883

1991419884
The default settings used can be found in the [`constants.ts`](https://github.com/paritytech/hardhat-polkadot/blob/v0.2.0-pre6/packages/hardhat-polkadot-resolc/src/constants.ts#L15-L30){target=\_blank} file of the `hardhat-polkadot` source code. You can change them according to your project needs. Generally, the recommended settings for optimized outputs are the following:
1991519885

.ai/pages/develop-smart-contracts-dev-environments-hardhat.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -92,37 +92,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
9292

9393
To compile your project, follow these instructions:
9494

95-
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`:
96-
97-
=== "npm Configuration"
98-
99-
```javascript title="hardhat.config.js" hl_lines="9-11 14"
100-
// hardhat.config.js
101-
require('@nomicfoundation/hardhat-toolbox');
102-
103-
require('@parity/hardhat-polkadot');
104-
105-
/** @type import('hardhat/config').HardhatUserConfig */
106-
module.exports = {
107-
solidity: '0.8.28',
108-
networks: {
109-
hardhat: {
110-
polkadot: {
111-
target: 'evm'
112-
},
113-
nodeConfig: {
114-
},
115-
},
116-
};
117-
```
118-
119-
=== "Binary Configuration"
120-
121-
```javascript title="hardhat.config.js" hl_lines="9-14 17"
122-
123-
124-
```
125-
95+
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`.
12696

12797
The default settings used can be found in the [`constants.ts`](https://github.com/paritytech/hardhat-polkadot/blob/v0.2.0-pre6/packages/hardhat-polkadot-resolc/src/constants.ts#L15-L30){target=\_blank} file of the `hardhat-polkadot` source code. You can change them according to your project needs. Generally, the recommended settings for optimized outputs are the following:
12898

.ai/site-index.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,12 +2720,12 @@
27202720
}
27212721
],
27222722
"stats": {
2723-
"chars": 17057,
2724-
"words": 2305,
2723+
"chars": 16382,
2724+
"words": 2255,
27252725
"headings": 11,
2726-
"estimated_token_count_total": 3890
2726+
"estimated_token_count_total": 3740
27272727
},
2728-
"hash": "sha256:17339a0de67fc25364e3b4f1c975b5d228c56974a5ffb623a73b9e982bf1aeba",
2728+
"hash": "sha256:9fc45c5239ad2ecdff7e5b0f48a09220ab936d3614baeda875cfbd632ceb34a5",
27292729
"token_estimator": "heuristic-v1"
27302730
},
27312731
{

develop/smart-contracts/dev-environments/hardhat.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,7 @@ The plugin will compile your Solidity contracts for Solidity versions `0.8.0` an
8888

8989
To compile your project, follow these instructions:
9090

91-
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`:
92-
93-
=== "npm Configuration"
94-
95-
```javascript title="hardhat.config.js" hl_lines="9-11 14"
96-
--8<-- 'code/develop/smart-contracts/dev-environments/hardhat/hardhat.config.js:1:14'
97-
--8<-- 'code/develop/smart-contracts/dev-environments/hardhat/hardhat.config.js:33:35'
98-
```
99-
100-
=== "Binary Configuration"
101-
102-
```javascript title="hardhat.config.js" hl_lines="9-14 17"
103-
--8<-- 'code/develop/smart-contracts/dev-environments/hardhat/binary-hardhat.config.js:1:17'
104-
--8<-- 'code/develop/smart-contracts/dev-environments/hardhat/binary-hardhat.config.js:36:38'
105-
```
106-
91+
1. Modify your Hardhat configuration file to specify which compilation process you will be using by specifying the `target` inside of the `polkadot` flag in the Hardhat network. By default it generates `pvm` bytecode, but you can use the EVM Backend by specifying `evm` as the `target`.
10792

10893
The default settings used can be found in the [`constants.ts`](https://github.com/paritytech/hardhat-polkadot/blob/v0.2.0-pre6/packages/hardhat-polkadot-resolc/src/constants.ts#L15-L30){target=\_blank} file of the `hardhat-polkadot` source code. You can change them according to your project needs. Generally, the recommended settings for optimized outputs are the following:
10994

0 commit comments

Comments
 (0)