<!-- start pr-codex -->
## PR-Codex overview
This PR introduces beta support for `EIP-7702` authorization lists, enhancing transaction handling and signing within the `thirdweb` library.
### Detailed summary
- Added `style` configuration in `biome.json`.
- Introduced `signAuthorization` function for EIP-7702 authorizations.
- Updated transaction preparation to include `authorizationList`.
- Added tests for `signAuthorization` and transaction serialization.
- Modified `serializeTransaction` to handle EIP-7702 transactions.
- Enhanced gas estimation and transaction preparation functions to support authorization lists.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
|
|
"extends": ["../../biome.json"],
|
|
"linter": {
|
|
"rules": {
|
|
"nursery": {
|
|
"noProcessEnv": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noConsole": {
|
|
"level": "error",
|
|
"options": {
|
|
"allow": ["error", "warn"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["src/**/*.test.ts", "src/**/*.test.tsx", "src/stories/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"nursery": {
|
|
"noProcessEnv": "off"
|
|
},
|
|
"style": {
|
|
"noUnusedTemplateLiteral": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"include": ["src/cli/bin.ts", "src/cli/commands/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noConsole": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"files": {
|
|
"ignore": [
|
|
"src/crypto/aes/lib/md5.ts",
|
|
"src/utils/promise/p-limit.ts",
|
|
"src/utils/bytecode/cbor-decode.ts",
|
|
"src/wallets/in-app/native/helpers/wallet/sss.ts",
|
|
"src/**/__generated__/**"
|
|
]
|
|
}
|
|
}
|