Various onchain fixes#291
Conversation
RensR
commented
Oct 31, 2025
- NPM dependency bumps
- CI fix for releasing NPM packages
- Various warnings in contracts
- Foundry bump
|
|
||
| - name: Publish to NPM (beta) | ||
| uses: smartcontractkit/.github/actions/ci-publish-npm@4b0ab756abcb1760cb82e1e87b94ff431905bffc # ci-publish-npm@0.4.0 | ||
| uses: smartcontractkit/.github/actions/ci-publish-npm@ci-publish-npm/v1 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
|
|
||
| - name: Publish to NPM (latest) | ||
| uses: smartcontractkit/.github/actions/ci-publish-npm@4b0ab756abcb1760cb82e1e87b94ff431905bffc # ci-publish-npm@0.4.0 | ||
| uses: smartcontractkit/.github/actions/ci-publish-npm@ci-publish-npm/v1 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
| p2pIds[0] = keccak256(abi.encodePacked("invalid")); | ||
|
|
||
| vm.expectRevert(abi.encodeWithSelector(INodeInfoProvider.NodeDoesNotExist.selector, p2pIds[0])); | ||
| CapabilitiesRegistry.NodeInfo[] memory nodes = s_CapabilitiesRegistry.getNodesByP2PIds(p2pIds); |
There was a problem hiding this comment.
linting fixes in tests
| libs = ['node_modules'] | ||
| bytecode_hash = "none" | ||
| ffi = false | ||
| deny_warnings = true |
There was a problem hiding this comment.
This makes warnings stop compilation by default. Below are a few projects that turn this off due to the existing warnings.
| test = 'src/v0.8/shared/test' | ||
| solc_version = '0.8.26' | ||
| evm_version = 'paris' | ||
| ignored_error_codes = [8417] |
There was a problem hiding this comment.
Can't fix this warning right now so ignoring it to allow enabling deny_warnings
| # See more config options https://github.com/foundry-rs/foundry/tree/master/config | ||
|
|
||
| [lint] | ||
| lint_on_build = false No newline at end of file |
There was a problem hiding this comment.
Needed for the forge bump
mohamed-mehany
left a comment
There was a problem hiding this comment.
L2EP changes look good!