@snowbridge/contract-types 0.1.46 → 0.1.47-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,42 @@
1
1
 
2
- > @snowbridge/contract-types@0.1.46 build /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
3
- > pnpm typechain && tsc --build --force
2
+ > @snowbridge/contract-types@0.1.47-alpha.2 build /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
3
+ > rm -rf src && rm -rf dist && cd ../../../contracts && forge clean && forge build && cd ../web/packages/contract-types && pnpm typechain && tsc --build --force
4
4
 
5
+ Compiling 117 files with Solc 0.8.28
6
+ Solc 0.8.28 finished in 8.75s
7
+ Compiler run successful with warnings:
8
+ Warning (2072): Unused local variable.
9
+ --> scripts/upgrades/westend/DeployGateway202502.sol:22:9:
10
+ |
11
+ 22 | Gateway202502 gatewayLogic = new Gateway202502(
12
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
5
13
 
6
- > @snowbridge/contract-types@0.1.46 typechain /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
14
+ Warning (2018): Function state mutability can be restricted to view
15
+ --> src/upgrades/westend/Gateway20250311.sol:28:5:
16
+ |
17
+ 28 | function initialize(bytes memory) external override {
18
+ | ^ (Relevant source part starts here and spans across multiple lines).
19
+
20
+ Warning (3860): Contract initcode size is 49268 bytes and exceeds 49152 bytes (a limit introduced in Shanghai). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
21
+ --> scripts/DeployLocal.sol:20:1:
22
+ |
23
+ 20 | contract DeployLocal is Script {
24
+ | ^ (Relevant source part starts here and spans across multiple lines).
25
+
26
+ Warning (3860): Contract initcode size is 71227 bytes and exceeds 49152 bytes (a limit introduced in Shanghai). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
27
+ --> test/BeefyClient.t.sol:14:1:
28
+ |
29
+ 14 | contract BeefyClientTest is Test {
30
+ | ^ (Relevant source part starts here and spans across multiple lines).
31
+
32
+ Warning (3860): Contract initcode size is 94862 bytes and exceeds 49152 bytes (a limit introduced in Shanghai). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
33
+ --> test/Gateway.t.sol:61:1:
34
+ |
35
+ 61 | contract GatewayTest is Test {
36
+ | ^ (Relevant source part starts here and spans across multiple lines).
37
+
38
+
39
+ > @snowbridge/contract-types@0.1.47-alpha.2 typechain /home/runner/work/snowbridge/snowbridge/web/packages/contract-types
7
40
  > typechain --target ethers-v6 '../../../contracts/out/?(IERC20.sol|IERC20Metadata.sol|IGateway.sol|BeefyClient.sol|WETH9.sol)/!(*.abi).json' --out-dir src
8
41
 
9
42
  Successfully generated 13 typings!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowbridge/contract-types",
3
- "version": "0.1.46",
3
+ "version": "0.1.47-alpha.2",
4
4
  "description": "Snowbridge contract type bindings",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "ethers": "^6.13.5"
22
22
  },
23
23
  "scripts": {
24
- "build": "pnpm typechain && tsc --build --force",
24
+ "build": "rm -rf src && rm -rf dist && cd ../../../contracts && forge clean && forge build && cd ../web/packages/contract-types && pnpm typechain && tsc --build --force",
25
25
  "typechain": "typechain --target ethers-v6 '../../../contracts/out/?(IERC20.sol|IERC20Metadata.sol|IGateway.sol|BeefyClient.sol|WETH9.sol)/!(*.abi).json' --out-dir src"
26
26
  }
27
27
  }