@croptop/core-v6 0.0.10 → 0.0.11
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.
- package/STYLE_GUIDE.md +11 -0
- package/foundry.toml +0 -3
- package/package.json +2 -2
package/STYLE_GUIDE.md
CHANGED
|
@@ -386,6 +386,8 @@ jobs:
|
|
|
386
386
|
uses: foundry-rs/foundry-toolchain@v1
|
|
387
387
|
- name: Run tests
|
|
388
388
|
run: forge test --fail-fast --summary --detailed --skip "*/script/**"
|
|
389
|
+
env:
|
|
390
|
+
RPC_ETHEREUM_MAINNET: ${{ secrets.RPC_ETHEREUM_MAINNET }}
|
|
389
391
|
- name: Check contract sizes
|
|
390
392
|
run: FOUNDRY_PROFILE=ci_sizes forge build --sizes --skip "*/test/**" --skip "*/script/**" --skip SphinxUtils
|
|
391
393
|
```
|
|
@@ -450,6 +452,15 @@ Run `forge fmt` before committing. The `[fmt]` config in `foundry.toml` enforces
|
|
|
450
452
|
|
|
451
453
|
CI checks formatting via `forge fmt --check`.
|
|
452
454
|
|
|
455
|
+
### CI Secrets
|
|
456
|
+
|
|
457
|
+
| Secret | Purpose |
|
|
458
|
+
|--------|--------|
|
|
459
|
+
| `NPM_TOKEN` | npm publish access (used by `publish.yml`) |
|
|
460
|
+
| `RPC_ETHEREUM_MAINNET` | Ethereum mainnet RPC URL for fork tests (used by `test.yml`) |
|
|
461
|
+
|
|
462
|
+
Fork tests require `RPC_ETHEREUM_MAINNET` — they fail if it's missing.
|
|
463
|
+
|
|
453
464
|
### Branching
|
|
454
465
|
|
|
455
466
|
- `main` is the primary branch
|
package/foundry.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croptop/core-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@bananapus/721-hook-v6": "^0.0.13",
|
|
20
20
|
"@bananapus/buyback-hook-v6": "^0.0.9",
|
|
21
|
-
"@bananapus/core-v6": "^0.0.
|
|
21
|
+
"@bananapus/core-v6": "^0.0.14",
|
|
22
22
|
"@bananapus/ownable-v6": "^0.0.7",
|
|
23
23
|
"@bananapus/permission-ids-v6": "^0.0.6",
|
|
24
24
|
"@bananapus/router-terminal-v6": "^0.0.9",
|