instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0xSpaceShard__starknet-hardhat-plugin__251 | 0xSpaceShard/starknet-hardhat-plugin | 251 | defect | a72bcbe0b139f27a0e32767444c28913972dcc50 | 46201c402185b234e861dcd6ac4f0d1b176d6104 | Replace bash test to TS using shelljs | ## Usage related changes
<!-- How the changes from this PR affect users. -->
- Closes #248
- Change `check.sh` shell scripts to TS using [Shelljs](https://github.com/shelljs/shelljs/)
## Development related changes
<!-- How these changes affect the developers of this project - e.g. changes in testin... | diff --git a/package-lock.json b/package-lock.json
index b9d5dd8b..650d1d3c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,6 +14,7 @@
"exit-hook": "2.2.1",
"form-data": "^4.0.0",
"glob": "^7.2.0",
+ "shelljs": "^0.8.5",
"s... | 9 | 8 | 2 | [{"id": "G0", "claim": "The converted TS tests should use node.js built-ins (console.log for output, fs for file operations) instead of shelljs/shell commands like shell.echo and exec(\"cp ...\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "W... | null |
0xSpaceShard__starknet-hardhat-plugin__306 | 0xSpaceShard/starknet-hardhat-plugin | 306 | defect | f0906e5c162e104a25407e5feaf2d77371880015 | 21446eebb1f3716041dd1f82ad587dc677462aa3 | Get account balance | ## Usage related changes
- Adding a utility function for fetching balance of a smart contract
## Development related changes
- N/A
## Checklist:
- [x] Formatted the code
- [x] No linter errors
- [x] Tried to avoid introducing linter warnings
- [x] Performed a self-review of the code
- [... | diff --git a/contract-artifacts/ERC20/ERC20.json b/contract-artifacts/ERC20/ERC20.json
new file mode 100644
index 00000000..52581dae
--- /dev/null
+++ b/contract-artifacts/ERC20/ERC20.json
@@ -0,0 +1 @@
+{"abi":[{"inputs":[],"name":"finalized","outputs":[{"name":"res","type":"felt"}],"stateMutability":"view","type":"fu... | 5 | 4 | 2 | [{"id": "G0", "claim": "Instead of a getAccountBalance method on the Account class, provide a standalone utility function getBalance that accepts an address and returns the corresponding balance, callable on any address without loading an account first.", "category": "design", "verdict": "supported", "priority": "P1", ... | null |
0xSpaceShard__starknet-hardhat-plugin__36 | 0xSpaceShard/starknet-hardhat-plugin | 36 | defect | 898ae58bf6bb47b7c073afe2f821468be052ff88 | a2d244f7b5adf0d8f534ffe5a0f4c4cde4492547 | Added check for number of arguments and nested objects' members | Considering the cairo function:
```func foo(a: felt) -> (res: felt):
end```
The following testing code samples with incorrect number of arguments should fail
```
contract.call("foo", { a: 1, b: 2 });
contract.call("foo");
```
In functions that take arrays as arguments, the array length is not considered... | diff --git a/src/adapt.ts b/src/adapt.ts
index 8bb6069b..ac52a961 100644
--- a/src/adapt.ts
+++ b/src/adapt.ts
@@ -41,6 +41,22 @@ export function adaptInput(functionName: string, input: any, inputSpecs: starkne
const adapted: string[] = [];
let lastSpec: starknet.Argument = { type: null, name: null };
+ ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The two-branch argument-count check added to adaptInput could be rewritten using just one if.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Counting expected arguments by filtering specs whose name ends with LEN_SUFFIX w... | null |
0xSpaceShard__starknet-hardhat-plugin__39 | 0xSpaceShard/starknet-hardhat-plugin | 39 | defect | 1bd7c2a34198155e95137849fcf36536c296d4e6 | d81814a6d61cbfb7a6788e31b1bfa3bf4a13bca1 | Invoke call tasks | Added `starknet-invoke` and `starknet-call` plugin tasks.
Changed the `starknet-deploy` task so it also accepts contract names instead of just paths.
Added a new optional parameter on `getContractFactoryUtil`, `networkURL?:string`
If that argument is provided, it is used instead of the network in the hardhat con... | diff --git a/README.md b/README.md
index ceda2c9d..c1ed885d 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,20 @@ Queries [Voyager](https://voyager.online/) to [verify the contract](https://voya
Like in the previous command, this plugin relies on `--starknet-network`, but will default to 'alpha' network in case ... | 13 | 11 | 1 | [{"id": "G0", "claim": "The `starknet-invoke` README section should state that function inputs are passed as a single string, as the existing deploy documentation may be unclear about this.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `stark... | null |
0xSpaceShard__starknet-hardhat-plugin__406 | 0xSpaceShard/starknet-hardhat-plugin | 406 | defect | 195a59cbfa3ffa1d325ce865ee9f83d6405cf195 | 3c8215a2b3c752bab308a588b888a10513cc3a9c | Support full image specification of dockerized integrated-devnet | ## Usage related changes
- Partly address #405
- starknet-devnet-rs can be specified by providing the full image name + tag
## Development related changes
N/A
## Checklist:
- [x] Formatted the code
- [x] No linter errors + tried to avoid introducing linter warnings
- [x] Performed a self-review... | diff --git a/src/external-server/create-devnet-wrapper.ts b/src/external-server/create-devnet-wrapper.ts
index c5c1c9f0..70ded960 100644
--- a/src/external-server/create-devnet-wrapper.ts
+++ b/src/external-server/create-devnet-wrapper.ts
@@ -1,11 +1,39 @@
import { HardhatNetworkConfig, HardhatRuntimeEnvironment } fro... | 1 | 1 | 1 | [{"id": "G0", "claim": "The two 'Docker image info' links in the new dockerized-devnet docs are swapped: the Pythonic Devnet entry links to the starknet-devnet-rs repo and the Rust Devnet entry links to the Pythonic starknet-devnet docs.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": ... | null |
0xSpaceShard__starknet-hardhat-plugin__410 | 0xSpaceShard/starknet-hardhat-plugin | 410 | defect | ad1a41d689197041a96823aa2b311ab984018e65 | 7e1a57133d30595d1ec420b30c4f2c30f7f50953 | Prepare release of 0.8.0 alpha.5 | ## Usage related changes
- Closes #407
- integrated-devnet defaults to starknet-devnet 0.6.3
- Parts of documentation are improved and simplified (especially Cairo 0 compilation).
## Development related changes
- Updates internal tools:
- cairo compiler to 2.2.0
- scarb to 0.7.0
- starknet-devnet to... | diff --git a/config.json b/config.json
index cbc6acff..92fdc643 100644
--- a/config.json
+++ b/config.json
@@ -1,6 +1,6 @@
{
"CAIRO_LANG": "0.11.2",
- "STARKNET_DEVNET": "0.6.0",
- "CAIRO_COMPILER": "2.1.0",
- "SCARB_VERSION": "0.4.0"
+ "STARKNET_DEVNET": "0.6.3",
+ "CAIRO_COMPILER": "2.2.0",
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Fix the typo \"runable\" to \"runnable\" in the Docker-usage sentence of www/docs/intro.md, as proposed in the review's suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
0xSpaceShard__starknet-hardhat-plugin__84 | 0xSpaceShard/starknet-hardhat-plugin | 84 | defect | 6c9a05eb151fbb989e8effc73c6edf927a8111ab | 2719a0f5a8ae140ef120d00e4357668c63de046f | Invoke options | ## Usage related changes
- Allow specifying maxFee and nonce.
- Introduce `--account-contract` flag for compiling account contracts.
- Account contracts are currently those with a function called `__execute__`, hence the addition of such a test. Couldn't make it
## Development related changes
- Enable wallet ... | diff --git a/README.md b/README.md
index 103af599..7a495389 100644
--- a/README.md
+++ b/README.md
@@ -48,13 +48,15 @@ This plugin defines the following Hardhat commands (also called tasks):
### `starknet-compile`
```
-npx hardhat starknet-compile [PATH...] [--cairo-path "<LIB_PATH1>:<LIB_PATH2>:..."]
+npx hardhat ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The --account-contract documentation (README and the flag description in src/index.ts) should specify that it is a flag which, when set, indicates that the contract provided is an account contract.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
0xTriboulet__wiretap-rs__19 | 0xTriboulet/wiretap-rs | 19 | defect | 4c47342bf61c2b9d7618ced3cd3d6cceb7056ecd | b58f86c84f5d5b8b19097c30bb31abf74925b615 | Add clipboard support and persist allocation state | • PR Title
Add clipboard support and persist allocation state
Summary
This PR completes two feature gaps from the Go spec: clipboard support for configure/add server, and allocation state persistence across restarts. It also updates the README and
porting progress documentation.
Changes
- Clipbo... | diff --git a/README.md b/README.md
index c4cb389..085f2c6 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,7 @@ Wiretap runs a **relay** WireGuard interface and an optional nested **E2EE** (En
- ICMP echo is handled by crafting replies when the system ping succeeds
- **API over tunnel**: The HTTP API is served v... | 6 | 1 | 0 | [{"id": "G0", "claim": "Test cleanup with `let _ = std::fs::remove_file(&path)` silently ignores cleanup errors and could leave temporary files behind, so use a guard/defer pattern or at least a comment explaining why cleanup failures are acceptable.", "category": "testing", "verdict": "uncertain", "priority": "P2", "s... | null |
0xd34df00d__leechcraft__10 | 0xd34df00d/leechcraft | 10 | defect | e4a3742702c3093d0aa6de89564b131af3538a32 | 1a5f088bda188ad6a8886fd8caf03cda17f58bca | SecureStorage | Плагин SecMan SecureStorage. Хранение паролей в зашифрованном виде.
| diff --git a/src/plugins/secman/CMakeLists.txt b/src/plugins/secman/CMakeLists.txt
index 33c21f58c5..f068dddf6f 100644
--- a/src/plugins/secman/CMakeLists.txt
+++ b/src/plugins/secman/CMakeLists.txt
@@ -15,6 +15,12 @@ IF (NOT QT_USE_FILE)
FIND_PACKAGE (LeechCraft REQUIRED)
ENDIF (NOT QT_USE_FILE)
+OPTION (TESTS_SE... | 23 | 13 | 0 | [{"id": "G0", "claim": "Rename the constants HMAC_LENGTH, HASH_LENGTH, KEY_LENGTH, IV_LENGTH and RND_LENGTH in ciphertextformat.h to camelCase (HMACLength, HashLength, KeyLength, IVLength, RndLength) per the project's naming convention.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":... | null |
0xfe__vexflow__1132 | 0xfe/vexflow | 1,132 | defect | acfb12060ac14ef8a6a2a1d7b44a9cd13f6cb532 | dd1f745a2236bab4b97ac1989fee9c9541607ffa | Fix exception when calling preformat twice on TextDynamic | See issue 1122. If you call preCalculateMinWidth and then format, preformat is called twice. This was resulting in the glyphs getting set twice, which caused an index out of range. I just added a check to see if the glyphs had been created. | diff --git a/src/textdynamics.ts b/src/textdynamics.ts
index 5bac5e5e9e..99c976d891 100644
--- a/src/textdynamics.ts
+++ b/src/textdynamics.ts
@@ -91,6 +91,10 @@ export class TextDynamics extends Note {
/** Preformat the dynamics text. */
preFormat(): this {
let total_width = 0;
+ // Issue 1122: length of... | 4 | 3 | 1 | [{"id": "G0", "claim": "The CI tests are failing, apparently because of this pull request's changes.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The comment misspells 'exercise' as 'excersize'.", "category": "documentation", "verdict": "supported... | null |
0xfe__vexflow__1249 | 0xfe/vexflow | 1,249 | defect | 205e17175347637b79348d447fc5577887095a80 | 4d14d073bcd190a902fd68676244a1f6798b0588 | Parenthesised notehead | Fixes #654
- Parenthesised notes added
- `EasyScore` supports now types `p` for parenthesis
**EasyScore Draw_Parenthesised**

: Rule {
- return { token: '[rRsSmMhH]' };
+ return { token: ... | 5 | 5 | 3 | [{"id": "G0", "claim": "The parenthesis rendering's kerning looks inconsistent, the parens should probably be rendered as a modifier instead of a note head so the allocated space can be properly tracked, and the element's width will need to be adjusted.", "category": "design", "verdict": "supported", "priority": "P1", ... | null |
0xfe__vexflow__1302 | 0xfe/vexflow | 1,302 | defect | 54966e3d29d255e6af8e776ddb9fa154da135eb5 | cc428fc0307c49c77231b42652ddebd256523bdf | Issue 1301: Fix vertical placement of Bend and Vibrato in tab staves | Fix #1301.
Vibrato places itself below Bend if there's a bend. Bend has optional 'tap' parameter that puts the tap to the left of the bend, instead of using an Annotation:

.

which is a variant of the stand... | diff --git a/src/factory.ts b/src/factory.ts
index 88c17cf7e4..e5bd91d798 100644
--- a/src/factory.ts
+++ b/src/factory.ts
@@ -464,10 +464,11 @@ export class Factory {
return fingering;
}
- StringNumber(params: { number: string; position: string }): StringNumber {
+ StringNumber(params: { number: string; po... | 2 | 2 | 1 | [{"id": "G0", "claim": "The factory should not manipulate the StringNumber instance's public radius member directly outside an API call; expose a proper setter/getter or API instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting a configurable r... | null |
0xfe__vexflow__1446 | 0xfe/vexflow | 1,446 | defect | f67c1ac344cc857a21d3adbdcbcccf6d50eaf897 | a395f1aae91a8ed192f06dc3650f6ddb41892cb7 | Refactor & dynamic styling (step 2 Standardize openGroup) | Fixes #1445
- use the lower case of category (typescript class name) and attrs.ID, both with prefix `vf-`. ie.: `vf-stavenote`, `vf-auto1010`
- check that the groups are grouped consistently. ie.: modifier within notehead group
- avoid duplications. ie.: `vf-notestave` containing a `vf-note`
- add the groups reque... | diff --git a/src/annotation.ts b/src/annotation.ts
index db1ea5126b..d304df6d9c 100644
--- a/src/annotation.ts
+++ b/src/annotation.ts
@@ -241,8 +241,7 @@ export class Annotation extends Modifier {
// still need to save context state just before this, since we will be
// changing ctx parameters below.
th... | 2 | 1 | 0 | [{"id": "G0", "claim": "AaronDavidNewman asks whether the removal of the this.drawModifiers() call (and its separate group) from StaveNote.draw() was intended.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "rvilarl asks 0xfe to confirm that looking ... | null |
0xfe__vexflow__1606 | 0xfe/vexflow | 1,606 | defect | 7e7eb97bf1580a31171302b3bd8165f057b692ba | b35952b79501fcf49d05a5e4f85d103a1489b95f | issue #1603 - key signature on non-treble stave, no glyph | Prior to this fix, there was no way to show a key signature correctly in a bass clef stave, without the clef glyph (and any other non-treble). I added a test case and created a `stave.addClefLines(clefSpec: string)` method that adds the logical clef (e.g. the lines match the clef) but without the glyph. | diff --git a/src/stave.ts b/src/stave.ts
index 193f890a1b..478933f73d 100644
--- a/src/stave.ts
+++ b/src/stave.ts
@@ -443,7 +443,14 @@ export class Stave extends Element {
}
return this;
}
-
+ /**
+ * treat the stave as if the clef is clefSpec, but don't display the clef
+ * @param clefSpec
+ */
+... | 4 | 4 | 0 | [{"id": "G0", "claim": "Remove the now-unneeded `@param clefSpec` line from the JSDoc of the new setClefLines method in src/stave.ts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Leave a blank line before and after the new setClefLines function ... | null |
0xsequence__ethkit__193 | 0xsequence/ethkit | 193 | defect | 2344cb52f7e28704eae65181a1e59234f15226e6 | 045e0755405bf56ff17550b6e3714b62f024417a | Add filtering to logs bloom check for gas price | This PR updates the block command's `--check-logs-bloom` flag to filter out logs from transactions with `gasPrice == 0`. This excludes system transactions on HyperEVM (https://www.quicknode.com/docs/hyperliquid/endpoints#key-implementation-differences), making logs bloom check validation work. | diff --git a/cmd/ethkit/block.go b/cmd/ethkit/block.go
index e5ffdc15..828ba4aa 100644
--- a/cmd/ethkit/block.go
+++ b/cmd/ethkit/block.go
@@ -18,11 +18,12 @@ import (
)
const (
- flagBlockField = "field"
- flagBlockFull = "full"
- flagBlockRpcUrl = "rpc-url"
- flagBlockJson = "json"
- flagBlockChe... | 1 | 1 | 1 | [{"id": "G0", "claim": "The variadic optLogsBloomCheck argument, which replaces the whole logic of ValidateLogsWithBlockHeader when supplied, should be removed: keep ValidateLogsWithBlockHeader with its original (logs, header) signature, keep the LogsBloomCheckFunc type, and let the caller filter the logs itself (e.g. ... | null |
0xsoniclabs__sonic__673 | 0xsoniclabs/sonic | 673 | defect | 1e9125e72594bacef6feaa115e81578142e8545a | ef5aab1c35b1df126c1272ac70f2f93ccc2fe9f7 | Integrate `EndBlock` sync channel | This PR updates the Carmen dependency and integrates a new synchronization channel from `EndBlock`. This allows the caller of `EndBlock` to optionally wait for asynchronous state operations (such as archival writes) to complete before proceeding.
Previously, `EndBlock` triggered asynchronous operations that could le... | diff --git a/go.mod b/go.mod
index 84cab7d372..c123f29d34 100644
--- a/go.mod
+++ b/go.mod
@@ -19,7 +19,7 @@ module github.com/0xsoniclabs/sonic
go 1.25.0
require (
- github.com/0xsoniclabs/carmen/go v0.0.0-20251024091706-e1c5a32d4310
+ github.com/0xsoniclabs/carmen/go v0.0.0-20260223152719-2b3b9e285151
github.co... | 4 | 3 | 0 | [{"id": "G0", "claim": "A comment should be written next to the EndBlock error log explaining what the error means and hinting at what can cause it besides programming errors or runtime bugs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A commen... | null |
0xsoniclabs__sonic__721 | 0xsoniclabs/sonic | 721 | defect | 770e0e5b10497b72516a9cf8b0c1e67b6e4fea83 | 9ab8d3e4402544b0868c7841836af1381a54c5ec | Add errors to `getBundleStatus` [prototype] | Since bundles are submitted with the usual `SendTransaction`, when a bundles is rejected, a comprehensive message should be returned so that the user is informed why is the bundle rejected.
This PR adds error messages to `getBundleStatus`, `checkForNonceConflicts` and `validateBundleTransactionsInternal`.
This PR... | diff --git a/evmcore/bundle_integration.go b/evmcore/bundle_integration.go
index 3c407e62e..fefdb2562 100644
--- a/evmcore/bundle_integration.go
+++ b/evmcore/bundle_integration.go
@@ -87,13 +87,16 @@ func (s *BundleIntegrationImplementation) isPending(tx *types.Transaction) bool
return false
}
- // Remove perma... | 6 | 5 | 2 | [{"id": "G0", "claim": "Functions should not return both a value and an error — please rewrite GetBundleState and its callers in a more Go-compliant fashion (e.g. encode errors as states, remove BundleStateNonExecutable, or return a type carrying the error/reasons).", "category": "design", "verdict": "supported", "prio... | null |
0xsoniclabs__sonic__732 | 0xsoniclabs/sonic | 732 | defect | 7f5d3c478a117f21ae402e9463c6de5accf5974c | f2fe5a7b806a397153704d2891d6565434155a05 | Add bundle processor | This PR implements the bundle processor. It is a cherry-pick of #699, and the switch to `core_types.TransactoinREsult` applied on top. | diff --git a/gossip/blockproc/bundle/bundle.go b/gossip/blockproc/bundle/bundle.go
index 3318e021e9..efc8629bd6 100644
--- a/gossip/blockproc/bundle/bundle.go
+++ b/gossip/blockproc/bundle/bundle.go
@@ -41,6 +41,49 @@ var (
// if any of the transactions is invalid or fails.
type ExecutionFlag uint16
+const (
+ Tole... | 4 | 4 | 1 | [{"id": "G0", "claim": "It would be nice to repeat Test_runAllOfBundle_StopsAtFirstFailedTransaction with invalid transactions, since the early-stop behaviour is otherwise only exercised with failed ones.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A... | null |
0xsoniclabs__sonic__746 | 0xsoniclabs/sonic | 746 | defect | 3050f45c5ffc3f2d4da39f84bcf11ee6dcb1ee4b | 46bfbce74d7a3fc5a74503af17f38434cf6b871a | Handle snapshots in bundle processor | This PR moved the handling of database inter transaction snapshots from the state processor to the bundle processor.
This has two advantages:
- the snapshots are only needed for bundle processing, so this should not be done in the state processor
- if we ever want to use tree execution plans, this has to be done by ... | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index e48c3c82eb..d376c73b2c 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -282,6 +282,17 @@ func (r *dryRunner) Run(tx *types.Transaction) core_types.TransactionResult {
return core_types.TransactionResultSuccessful
}... | 3 | 2 | 1 | [{"id": "G0", "claim": "The revert on failure should not be applied in the one-of case, since keeping the failed transactions on the chain is a plus because they cover the costs and processing history.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The int... | null |
0xsoniclabs__sonic__775 | 0xsoniclabs/sonic | 775 | defect | 4d07428f8b26f2e196b0312de2762eb92c0571c3 | 764b1b94eb0e08bc65ad80df434cef9f4a1dfcdd | Add unified tracking of processed bundles | This PR merges the inter- and intra-block tracking of processed bundles into a single entity -- the StateDB. | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index b44989aa70..a05bed09c2 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -112,11 +112,7 @@ func getBundleState(
// Make sure to revert all changes to enable re-using the same StateDB for
// multiple calls to GetBund... | 8 | 6 | 1 | [{"id": "G0", "claim": "The two new CarmenStateDB fields should be named consistently so that both speak of execution plans (processedBundleStore vs processedExecPlans).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fields of the interTxSna... | null |
0xsoniclabs__sonic__795 | 0xsoniclabs/sonic | 795 | defect | 003c64492e18aa30d56bed86a08de894f91390c3 | ea2cb8f2806e4eced6a4a9912f0a8e95ea514292 | Add RPC test framework | This PR introduces testing framework with simulated backend and state. RPC functions can be tested easily without instantiating or mocking key components. | diff --git a/api/ethapi/api.go b/api/ethapi/api.go
index 5960e7db7..04b53fbc5 100644
--- a/api/ethapi/api.go
+++ b/api/ethapi/api.go
@@ -1147,7 +1147,7 @@ func DoCall(ctx context.Context, b Backend, args TransactionArgs, blockNrOrHash
var blockCtx *vm.BlockContext
if blockOverrides != nil {
- bctx := getBlockCon... | 14 | 13 | 4 | [{"id": "G0", "claim": "NewAccount ignores the error returned by crypto.GenerateKey(), which can produce an Account with a nil/invalid private key and panics later; the error should be handled (returned or failing the test).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
0xsoniclabs__sonic__805 | 0xsoniclabs/sonic | 805 | defect | a780d6676422c33f4b759849a59eae08bfac41a8 | 6eba44689da5723a6ad59866c68046ef5fcc3cec | Introduce cached checker utility | This PR introduces a utility to cache expensive transaction checks done in the transaction pool. The purpose is to reuse the same heuristics developed in https://github.com/0xsoniclabs/sonic/pull/543 for the transaction bundles evaluations done during pool reorg. Benefits of doing catching bundles evaluations were expl... | diff --git a/evmcore/subsidies_check_cache.go b/evmcore/subsidies_check_cache.go
deleted file mode 100644
index 3c84bb2802..0000000000
--- a/evmcore/subsidies_check_cache.go
+++ /dev/null
@@ -1,121 +0,0 @@
-// Copyright 2026 Sonic Operations Ltd
-// This file is part of the Sonic Client
-//
-// Sonic is free software: ... | 15 | 14 | 3 | [{"id": "G0", "claim": "The test's checker literal `func(int hasheableInteger)` will not compile and must be changed to `func(hasheableInteger)` or `func(_ hasheableInteger)` to match the expected checker signature.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G... | null |
0xsoniclabs__sonic__820 | 0xsoniclabs/sonic | 820 | defect | 8e6462e697c8286ca317333b8ad26ad1368becb7 | b249608f02129e9dec2b55440b040099e490ee8a | Update block formation to handle bundles | This PR updates the integration of bundles in `c_block_callbacks` by
- removing the `filterObsoleteBundles`, since filtering of obsolete bundles is covered by the state processor and the StateDB, analog to nonces
- integrate the enforcing accepting/rejecting bundle related transactions into the `IsPermissible` filter... | diff --git a/gossip/c_block_callbacks.go b/gossip/c_block_callbacks.go
index 751edb43d6..69177e5357 100644
--- a/gossip/c_block_callbacks.go
+++ b/gossip/c_block_callbacks.go
@@ -260,11 +260,6 @@ func consensusCallbackBeginBlockFn(
proposal.Transactions, &es.Rules, log.Root(), invalidTxsMeter,
)
- // Fi... | 3 | 3 | 0 | [{"id": "G0", "claim": "In isPermissibleInternal, the decoded bundle variable `bundle` shadows the imported `bundle` package, which makes the code harder to read; rename the variable (e.g. decoded/txBundle/opened) to avoid the shadowing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"... | null |
0xsoniclabs__sonic__824 | 0xsoniclabs/sonic | 824 | defect | 0d1894dea902a2f0b541f3d8e348cc9aa09948cb | f61649322043c0e5126653f51e7c9aa11a7a5c9e | Skip minimum check tip for bundle envelopes | Bypass min tip check during validation for bundles and sponsored txs.
| diff --git a/evmcore/tx_validation.go b/evmcore/tx_validation.go
index bf6b681018..2dc974c694 100644
--- a/evmcore/tx_validation.go
+++ b/evmcore/tx_validation.go
@@ -341,7 +341,8 @@ func validateTxForPool(
// Drop non-local transactions under our own minimal accepted gas price or tip.
isSponsorRequest := netRule... | 5 | 4 | 1 | [{"id": "G0", "claim": "The table-driven test names subtests with price.String(), which would panic on the nil entry, so the reviewer asks for a stable name for the nil case.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test struct field `expece... | null |
0xsoniclabs__sonic__827 | 0xsoniclabs/sonic | 827 | defect | 332d9d56b862cac7df90345f0b4952d2509ba7fa | 7d5abb695668c50cc734c00fe4df9ad86c576dec | Add RPC method sonic_getBundleInfo | This method can be used for waiting on the execution of a bundle, by execution plan hash.
This PR does not register the use of the `sonic_` methods, this change is included in PR https://github.com/0xsoniclabs/sonic/pull/825. API will not be available until this is done.
| diff --git a/api/ethapi/backend.go b/api/ethapi/backend.go
index 0b8f6adf73..24a6782b32 100644
--- a/api/ethapi/backend.go
+++ b/api/ethapi/backend.go
@@ -34,6 +34,7 @@ import (
"github.com/ethereum/go-ethereum/rpc"
"github.com/0xsoniclabs/sonic/evmcore"
+ "github.com/0xsoniclabs/sonic/gossip/blockproc/bundle"
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The production code should not use the rpctest (api/rpc_test) package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The GetBundleExecutionInfo entry in the Backend interface should be documented to state what is expected when th... | null |
0xsoniclabs__sonic__837 | 0xsoniclabs/sonic | 837 | defect | bc7ce69d11c26148892baedcb25600bd89845a1d | 2c0b9d9301b82a497266fe88b1441bf613e5cd21 | Add bundles to genesis export/import. | This PR implements the necessary mechanisms for adding bundles into genesis export/import mechanisms via the sonictool.
- For the `ProcessedBundlesHistoryHash` a new `HistoryHash` struct is added. This makes the encoding of the special entry possible via `rlp.EncodeToBytes`.
- Since both the historical hash and the... | diff --git a/cmd/sonictool/genesis/export.go b/cmd/sonictool/genesis/export.go
index 8877098bc0..1a2d738eb0 100644
--- a/cmd/sonictool/genesis/export.go
+++ b/cmd/sonictool/genesis/export.go
@@ -24,6 +24,7 @@ import (
"path"
"github.com/0xsoniclabs/sonic/gossip"
+ "github.com/0xsoniclabs/sonic/gossip/blockproc/bu... | 10 | 9 | 4 | [{"id": "G0", "claim": "In GetHistoryHash the decode result is checked as `err != io.EOF`, so a successful decode (`err == nil`) returns (zero,false) and io.EOF is treated as success; decode should return the item on `err == nil`, treat io.EOF as not-found and handle other errors.", "category": "correctness", "verdict"... | null |
0xsoniclabs__sonic__839 | 0xsoniclabs/sonic | 839 | defect | 86338b8e93df98080d7fbafcc7aa9b103ed14d93 | 389bcb4f0dce6b7a0b6f441e939d5f501f5131b5 | Add submitBundle RPC function | This PR introduces new RPC function `sonic_submitBundle`. Final step in the bundle workflow. Takes the signed transactions and execution plan produced by `sonic_prepareBundle` and wraps them into a single envelope transaction that is submitted to the network. | diff --git a/api/rpc_test/backend.go b/api/rpc_test/backend.go
index 14f4c7ffee..e42cc9d52c 100644
--- a/api/rpc_test/backend.go
+++ b/api/rpc_test/backend.go
@@ -374,6 +374,11 @@ func (b *fakeBackend) ChainConfig(blockHeight idx.Block) *params.ChainConfig {
return opera.CreateTransientEvmChainConfig(b.chainID, heigh... | 9 | 9 | 3 | [{"id": "G0", "claim": "Casting the signed rpc.BlockNumber values Earliest/Latest directly to uint64 lets negative/special values (e.g. rpc.LatestBlockNumber == -1) turn into huge block numbers and, in the earliest == latest case, also bypass bundle.ValidateRange (range size becomes 1); the reviewer recommends explicit... | null |
0xsoniclabs__sonic__840 | 0xsoniclabs/sonic | 840 | defect | 86338b8e93df98080d7fbafcc7aa9b103ed14d93 | 63fc249c34d041ef18eaaf11e0bcf62847a27193 | Add `BlockHeight` to `eth_config` return struct. | **The Problem**
When Sonic generates more than one block within a second, the `ActivationTime` (which as per the [EIP-7910](https://eips.ethereum.org/EIPS/eip-7910) is a Unix epoch seconds) does not have the required granularity to properly identify the first block when the new rules are active.
**The Proposes Solu... | diff --git a/api/ethapi/api.go b/api/ethapi/api.go
index 4934c9adb7..f275863024 100644
--- a/api/ethapi/api.go
+++ b/api/ethapi/api.go
@@ -727,7 +727,9 @@ type configResponse struct {
// config as described by https://eips.ethereum.org/EIPS/eip-7910
type config struct {
// ActivationTime is the timestamp of the fir... | 2 | 1 | 1 | [{"id": "G0", "claim": "The test mutates `originalRules` (sets GasSubsidies to true) and then passes it as the updated rules, so the name misleadingly suggests an unmodified baseline; the copilot reviewer asks to rename it (e.g. rules/updatedRules) or keep an immutable original and copy it before mutation.", "category"... | null |
0xsoniclabs__sonic__842 | 0xsoniclabs/sonic | 842 | defect | cbaa8d5521e765b5c1da5528eaba34856dc1cce5 | a8ac495bf9118687835d4af853536486c7f29863 | Add tracking of bundle execution offsets | This PR introduces proper "true" tracking of transaction indices in the state processor by preserving the legacy tracking.
Since the impact of modifying the existing transaction index tracking is difficult to assess and beyond the scope of the current project, this PR opts to introduce an independent "trueTxOffset" ... | diff --git a/evmcore/state_processor.go b/evmcore/state_processor.go
index b07a059403..ae1c497ee0 100644
--- a/evmcore/state_processor.go
+++ b/evmcore/state_processor.go
@@ -100,10 +100,10 @@ type ProcessedTransaction struct {
// consistent.
func (p *StateProcessor) Process(
block *EvmBlock, statedb state.StateDB,... | 9 | 5 | 0 | [{"id": "G0", "claim": "`Execute` recomputes `trueTxsOffset` by scanning `p.processedTxs` on every call, so repeated calls can become O(n^2) per block; the reviewer suggests tracking the true offset as a dedicated field or carrying it forward between calls.", "category": "performance", "verdict": "opposed", "priority":... | null |
0xsoniclabs__sonic__850 | 0xsoniclabs/sonic | 850 | defect | 9e23336951ece4c40bd72009adc95b8dd7221d43 | 55494a2eae33a5e58733b08f54bb7ba44d7cc308 | Add execution step validation | This PR introduces validation for composed `ExecutionStep`s of bundles.
The main properties checked include:
- all steps are valid, thus none defines a single and a group step, nor neither
- the execution flags provided for each step are valid
- group steps are composed of valid individual steps
- the maximum ne... | diff --git a/gossip/blockproc/bundle/validate.go b/gossip/blockproc/bundle/validate.go
index bdc43d9a3e..15f95ae8b9 100644
--- a/gossip/blockproc/bundle/validate.go
+++ b/gossip/blockproc/bundle/validate.go
@@ -26,6 +26,11 @@ import (
"github.com/ethereum/go-ethereum/core/types"
)
+const (
+ // MaxNestingDepth def... | 4 | 4 | 1 | [{"id": "G0", "claim": "validateStep is introduced but never invoked from ValidateEnvelope/validateEnvelopeInternal, so malformed or excessively nested execution plans can still be accepted during envelope validation, and the reviewer asks that validateStep(plan.Root) be called as part of validateEnvelopeInternal once ... | null |
0xsoniclabs__sonic__855 | 0xsoniclabs/sonic | 855 | defect | f12a047187ba00576c29cf856f4d81f3984d81f7 | 21318b1bda07f07deda9ea5edb505642305f3e25 | Add prepareBundle RPC function | This PR introduces new RPC function sonic_prepareBundle. This function streamlines the creation of transaction bundles by preparing an execution plan based on the provided transaction order, to be executed within a specified block range. | diff --git a/api/sonicapi/prepare_bundle.go b/api/sonicapi/prepare_bundle.go
new file mode 100644
index 0000000000..78bd97a274
--- /dev/null
+++ b/api/sonicapi/prepare_bundle.go
@@ -0,0 +1,251 @@
+// Copyright 2026 Sonic Operations Ltd
+// This file is part of the Sonic Client
+//
+// Sonic is free software: you can re... | 15 | 13 | 7 | [{"id": "G0", "claim": "resolveBlockRange can overflow when currentBlock or an explicit earliest is close to math.MaxUint64 because it computes currentBlock+1 and e+MaxBlockRange-1 without overflow handling; use bundle.MakeMaxRangeStartingAt (overriding Latest if provided) or add explicit overflow checks.", "category":... | null |
0xsoniclabs__sonic__864 | 0xsoniclabs/sonic | 864 | defect | e2610f4c43b52c5bb26e3d8ffcbf5b495d257be9 | 55660cd263afd0c3066555c6d50a5aef2d3e957a | Add bundle validation | Adds support for validating bundles.
Properties that are verified include:
- bundles contain a valid execution plan
- there are no `nil` transactions
- all transactions are targeting the same chain ID
- the indexing of the transactions in the bundles is valid (correct sender and transaction signing hash)
- all... | diff --git a/gossip/blockproc/bundle/validate.go b/gossip/blockproc/bundle/validate.go
index aa80103292..1a20d9c197 100644
--- a/gossip/blockproc/bundle/validate.go
+++ b/gossip/blockproc/bundle/validate.go
@@ -19,6 +19,7 @@ package bundle
import (
"errors"
"fmt"
+ "math/big"
"slices"
"github.com/ethereum/go... | 6 | 4 | 3 | [{"id": "G0", "claim": "validateBundle is added but never invoked from the production validation path, so decoded envelopes are still not checked for nil txs, chain ID consistency, index correctness or missing/extra transactions; consider calling it from validateEnvelopeInternal and removing the existing plan-hash loop... | null |
0xsoniclabs__sonic__867 | 0xsoniclabs/sonic | 867 | defect | 9ac6bc273f7168ee0e84fc25d2428237f8f5beca | aa2a30bacd40c6f61a03bd3fd79306e52ea9a168 | Prevent bundleGetInfoFrom from returning non-existing block numbers | The changes here solve an issue manifested as flaky tests: the reported block number where a bundle has executed may not yet be completed and therefore not found if queried.
The solution proposed is to report unknown bundle, and let user poll again. | diff --git a/api/sonicapi/get_bundle_info.go b/api/sonicapi/get_bundle_info.go
index 2566830d08..75df0499e3 100644
--- a/api/sonicapi/get_bundle_info.go
+++ b/api/sonicapi/get_bundle_info.go
@@ -45,16 +45,25 @@ func (a *PublicBundleAPI) GetBundleInfo(
// Check whether the given execution plan got already executed.
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The result struct could be declared (deferred) until after the block is confirmed to be finished.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment should read \"although\" instead of \"althoug\".", "category": "... | null |
0xsoniclabs__sonic__868 | 0xsoniclabs/sonic | 868 | defect | 22b731be2c17742204e7497fb4120aa1ed4130c9 | 95f6d30d888ff4d8fe017d167e02911c4373f680 | Factor out envelope gas limit calculation | This PR implements a utility to compute the gas limit of envelopes.
The utility is to be used by the envelope validation and the builder to compute the expected gas limit for envelopes.
It is based on #865, which needs to be merged first. | diff --git a/gossip/blockproc/bundle/builder.go b/gossip/blockproc/bundle/builder.go
index 7b68525312..adee07e37f 100644
--- a/gossip/blockproc/bundle/builder.go
+++ b/gossip/blockproc/bundle/builder.go
@@ -20,10 +20,10 @@ import (
"crypto/ecdsa"
"fmt"
"math/big"
+ "slices"
"github.com/0xsoniclabs/sonic/utils... | 5 | 5 | 1 | [{"id": "G0", "claim": "The test compares uint64 gas values by casting both sides to int, which can truncate or overflow on 32-bit platforms, so compare the uint64 values directly or use EqualValues.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
0xsoniclabs__sonic__870 | 0xsoniclabs/sonic | 870 | defect | dce17a7dde6d7d39ad7e613c8878fec5664fb118 | 4b239e03e3da3ed9d10654e40579ec441abdbb93 | Test execution plans can be processed only once | This PR adds tests that ensure that the same execution plan is only processed once, whether in the same transaction as nested bundles, or in separate envelopes. It also adds a test to make sure that groups can be executed multiple times, since they belong to the same plan. | diff --git a/gossip/blockproc/bundle/builder.go b/gossip/blockproc/bundle/builder.go
index db04509e8f..7a84025a51 100644
--- a/gossip/blockproc/bundle/builder.go
+++ b/gossip/blockproc/bundle/builder.go
@@ -490,3 +490,11 @@ func getGasLimitForEnvelope(
return max(intrinsic, floorDataGas, txGasSum)
}
+
+func MustWr... | 8 | 4 | 0 | [{"id": "G0", "claim": "MustWrapIntoEnvelope generating a fresh random ECDSA key on every call is surprising for a wrap helper and can be expensive in loops, so it should take the sender key as a parameter or be renamed/documented to make the key generation explicit.", "category": "design", "verdict": "uncertain", "pri... | null |
0xsoniclabs__sonic__875 | 0xsoniclabs/sonic | 875 | defect | 2a3b0270c175a6063b548f3d265ca73596a5996d | 2acafc2134e56eb71ccd5ad0694e9bd43a173b6a | Update rpc test backend | This PR adds transactions, receipts and basefee header into rpc test backend framework | diff --git a/api/rpc_test/backend.go b/api/rpc_test/backend.go
index e42cc9d52c..c9fcb73c56 100644
--- a/api/rpc_test/backend.go
+++ b/api/rpc_test/backend.go
@@ -66,7 +66,17 @@ type Block struct {
// PrevRandao is the previous block's RANDAO value.
// If non zero, it enables Shanghai, Cancun, Prague, and Osaka fea... | 1 | 1 | 1 | [{"id": "G0", "claim": "The fake backend's GetTransaction should return a nil error when the transaction is not found, like the real backend does, because returning an error would compromise the validity of the testing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
0xsoniclabs__sonic__884 | 0xsoniclabs/sonic | 884 | defect | 25f6ae0bc83849befb70ba618ad44ae23c6b2fe3 | f9cb2018406372c3afa5607fc4a558a1b72ee694 | Refactor tx list to reflect tx transitions regarding bundles executability. | This PR introduces bundle envelope awareness into the transaction pool's core list management (txList), enabling correct promotion and demotion of bundle transactions between the queued and pending sets.
**Background**
The transaction pool maintains two sets per account:
**Pending**: transactions eligible for in... | diff --git a/evmcore/bundle_integration.go b/evmcore/bundle_integration.go
new file mode 100644
index 0000000000..14d8b2e1ae
--- /dev/null
+++ b/evmcore/bundle_integration.go
@@ -0,0 +1,33 @@
+// Copyright 2016 The go-ethereum Authors
+// This file is part of the go-ethereum library.
+//
+// The go-ethereum library is ... | 20 | 16 | 5 | [{"id": "G0", "claim": "txSortedMap.Ready's loop only pops a contiguous nonce run from the smallest stored nonce and applies isExecutable even to nonces below start, contradicting the doc comment that promises all transactions with nonce < start are popped to self-correct stale entries; the reviewer asks that all nonce... | null |
0xsoniclabs__sonic__888 | 0xsoniclabs/sonic | 888 | defect | 581e0d223299aaa73d7327cd51a93c3874d3fb1a | 3d5d704a9a944854c1031b2258032ba9d606ebe2 | Include usedGas in state processor snapshots | This PR captures the `usedGas` in the snapshots of the `bundleTransactionRunner`. This is needed in order for the used gas of a block to line up with the sum of the gas consumed by its transactions.
A block replay test (which will be added in an upcoming PR), also confirmed that this fix is needed. | diff --git a/evmcore/state_processor.go b/evmcore/state_processor.go
index 6ec28f1cea..aec4b94c1d 100644
--- a/evmcore/state_processor.go
+++ b/evmcore/state_processor.go
@@ -498,6 +498,7 @@ func (b *bundleTransactionRunner) CreateSnapshot() int {
legacyTxOffset: b.legacyTxOffset,
trueTxOffset: ... | 3 | 2 | 1 | [{"id": "G0", "claim": "RevertToSnapshot should assign through the context's existing pointer (*b.ctxt.usedGas = snapshot.usedGas) instead of replacing the pointer, otherwise any future effect would no longer be reflected in the original usedGas value, which is passed as an in/out parameter; and a unit test should be a... | null |
0xsoniclabs__sonic__889 | 0xsoniclabs/sonic | 889 | defect | b4264b0ecd6d61cfd04da79067c4c0962f0ad3a1 | 520117958fa0e11174a68beebc8f7a7f6027ed54 | Evaluate bundles during tx pool reorg | This PR uses `GetBundleState` to evaluate bundles during reorg runs.
The code changes enable the following transitions:
- `queued` -> `dropped`, when a bundle is no longer executable
- `pending` -> `dropped`, when a bundle is no longer executable
- `queued` -> `pending`, when a bundle can be executed immediatel... | diff --git a/evmcore/bundle_integration.go b/evmcore/bundle_integration.go
index 14d8b2e1ae..ec6f3f2f75 100644
--- a/evmcore/bundle_integration.go
+++ b/evmcore/bundle_integration.go
@@ -16,6 +16,14 @@
package evmcore
+import (
+ "github.com/0xsoniclabs/sonic/inter/state"
+ "github.com/0xsoniclabs/sonic/opera"
+ "... | 6 | 4 | 0 | [{"id": "G0", "claim": "In newBundlesChecker the parameter `state` shadows the imported `state` package and the local `state := GetBundleState(...)` also shadows the parameter, so renaming the parameter to `stateDB` and the local result to `bundleState` would make the code easier to read and maintain.", "category": "ma... | null |
0xsoniclabs__sonic__890 | 0xsoniclabs/sonic | 890 | defect | 289098ecbd053e4896d4ebb4bde264c07e75e990 | 3e1b06cbae9a67e8cac4f3f01f18b42857ab9fc1 | Preserve gas tip computation | Geth's internal functions can change behavior any time, we want to preserve the current gas tip computation even if the geth dependency is updated. | diff --git a/api/ethapi/api.go b/api/ethapi/api.go
index f275863024..066433f73e 100644
--- a/api/ethapi/api.go
+++ b/api/ethapi/api.go
@@ -2014,7 +2014,7 @@ func (s *PublicTransactionPoolAPI) formatTxReceipt(header *evmcore.EvmHeader, tx
fields["effectiveGasPrice"] = hexutil.Uint64(tx.GasPrice().Uint64())
} else {... | 6 | 3 | 1 | [{"id": "G0", "claim": "EffectiveGasTip always allocates base as a zero uint256.Int, so callers passing nil baseFee are treated as baseFee=0 instead of getting GasTipCap() unconstrained as in geth's Transaction.EffectiveGasTip(nil); the reviewer asks to keep base nil when baseFee is nil and only set it when baseFee != ... | null |
0xsoniclabs__sonic__893 | 0xsoniclabs/sonic | 893 | defect | 322cf9d30ae038b4f826e87cf7220965096243e0 | 4b371d052456d8aab6a61c953d927464c5f72feb | Add bundle history hash record | This PR adds a record of history hash per block, under the prefix `'h'` to the `ProcessesBundles` store.
- New `getBlockHistoryHashKey` is introduced to generate the history hash entry key (using '`h`' prefix)
- New `GetOldestRetainedBundleHistoryHash` is introduced to get the oldest entry.
- New block history ha... | diff --git a/gossip/store_processed_bundles.go b/gossip/store_processed_bundles.go
index 255724730..4c1575d1d 100644
--- a/gossip/store_processed_bundles.go
+++ b/gossip/store_processed_bundles.go
@@ -43,6 +43,7 @@ import (
// In the underlying table, the following keys are used:
// - key: [] -> [uint64, has... | 23 | 21 | 8 | [{"id": "G0", "claim": "GetOldestRetainedBundleHistoryHash converts the stored value with common.BytesToHash without checking its length; it should validate len(it.Value()) == 32 and fail fast on a malformed value, like GetProcessedBundleHistoryHash does.", "category": "correctness", "verdict": "supported", "priority":... | null |
0xsoniclabs__sonic__894 | 0xsoniclabs/sonic | 894 | defect | 322cf9d30ae038b4f826e87cf7220965096243e0 | d66f7aa7506024fe78951ee0b1bd93695214e5ef | Avoid releasing db in bundles checker | This PR removes the generation of one stateDb per evaluation of bundle and the need to release it.
This PR enables reuse of stateDb in components which have a cached one. | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index d2b504cc71..5a1b9da8c7 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -64,19 +64,21 @@ type BundleState struct {
Reasons []string // A list of human-readable strings describing why the bundle is not exec... | 6 | 4 | 4 | [{"id": "G0", "claim": "evmcore/tx_pool.go does not seem to belong to this PR and should not be part of its change.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "isRunnableBundleTxInternal calls StateDB() once earlier for HasBundleRecentlyBeenP... | null |
0xsoniclabs__sonic__901 | 0xsoniclabs/sonic | 901 | defect | 9ef263ac3981aaffecef0cc334e7987fd676f835 | c67317a93575bc2467aa77d47c7b52b3fa6ba206 | Modify `TransactionProcessor` to use current chainConfig instead of block-deduced one. | This PR simplifies retrieval of chainconfig for execution, not requiring to pass block details.
This can be done because `TransactionProcessor` is inherently stateful in sonic, it uses `GetCurrentNetworkRules`. The change here just repeats the pattern for `ChainConfig` generation.
| diff --git a/evmcore/bundle_precheck_mock.go b/evmcore/bundle_precheck_mock.go
index e753557522..56fe802a42 100644
--- a/evmcore/bundle_precheck_mock.go
+++ b/evmcore/bundle_precheck_mock.go
@@ -14,7 +14,6 @@ import (
state "github.com/0xsoniclabs/sonic/inter/state"
opera "github.com/0xsoniclabs/sonic/opera"
- id... | 1 | 1 | 0 | [{"id": "G0", "claim": "The manual GetLatestBlock-plus-nil-check dance in GetCurrentChainConfig can be replaced by a direct call to a.external.GetLatestBlockIndex(), which is cheaper.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
0xsoniclabs__sonic__905 | 0xsoniclabs/sonic | 905 | defect | 25f6ae0bc83849befb70ba618ad44ae23c6b2fe3 | d770dc764a6786f960b1fe05891935e2fb8423d8 | Submit bundle RPC function with composable execution plan | This PR introduces composable bundle execution plan in the sonic_submitBundle RPC function | diff --git a/api/sonicapi/execution_plan.go b/api/sonicapi/execution_plan.go
index 4645649a86..6d76b9ceae 100644
--- a/api/sonicapi/execution_plan.go
+++ b/api/sonicapi/execution_plan.go
@@ -17,6 +17,7 @@
package sonicapi
import (
+ "encoding/json"
"fmt"
"github.com/0xsoniclabs/sonic/gossip/blockproc/bundle"
... | 4 | 3 | 0 | [{"id": "G0", "claim": "The envelope validation of the generated transaction in SubmitBundle is superfluous because SubmitTransaction already validates the transaction in the transaction pool, so it could be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"... | null |
0xsoniclabs__sonic__915 | 0xsoniclabs/sonic | 915 | defect | 8d1f49c73de18510c1950c0503c75ff46146758a | 54e9b97f9e5de7b3c50f74d3f4f72b360b6520cf | Fix issues preventing prepare bundle from having reproducible plan hash | This PR fixes two issues:
- `ethapi.transactionArgs` -> `types.Transaction` creates legacy tx when possible. They need to be at least access list to be added to a bundle
- proposal to plan constructed plans (allOff(A) while RPCPlan to plan creates (A) when converted into `bundle.ExecutionPlan`
Although generat... | diff --git a/api/sonicapi/execution_plan.go b/api/sonicapi/execution_plan.go
index cbbe5ccb5f..ca48816113 100644
--- a/api/sonicapi/execution_plan.go
+++ b/api/sonicapi/execution_plan.go
@@ -142,7 +142,8 @@ func toBundleExecutionPlanLevel(level any) (bundle.ExecutionStep, error) {
case RPCExecutionPlanGroup:
retur... | 3 | 3 | 0 | [{"id": "G0", "claim": "ToTransactionForBundles is exported but only used within execution_proposal.go; make it unexported to avoid expanding the public sonicapi surface for an internal hashing helper.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The c... | null |
0xsoniclabs__sonic__916 | 0xsoniclabs/sonic | 916 | defect | b6d8984dc23bfa7a18617d338021bb6af36baf43 | 95810f8f75524bc8ac2aeed5fd826fcdd6d5f133 | Add test covering the interaction of `sonic_prepareBundle` and `sonic_submitBundle` | This test covers the integration of `PrepareBundle` and `SubmitBundle`, ensuring that a bundle prepared by the API can be successfully submitted and recognized by the transaction pool as a valid bundle envelope with the correct execution plan hash. | diff --git a/api/sonicapi/bundles_api_intergration_test.go b/api/sonicapi/bundles_api_intergration_test.go
new file mode 100644
index 0000000000..601418167e
--- /dev/null
+++ b/api/sonicapi/bundles_api_intergration_test.go
@@ -0,0 +1,301 @@
+// Copyright 2026 Sonic Operations Ltd
+// This file is part of the Sonic Clie... | 4 | 3 | 0 | [{"id": "G0", "claim": "The new test file's name contains a typo (`bundles_api_intergration_test.go`) and should be renamed to `bundles_api_integration_test.go` for discoverability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new comment ... | null |
0xsoniclabs__sonic__919 | 0xsoniclabs/sonic | 919 | defect | f47288376ba4ec846931c8b7d72404127bc830b5 | dd205265138e34918babe7facdd67c4e91bc211f | Remove old RPC bundle types and refactor | This PR removes RPCExecutionPlan structure as it was replaced by the composable version. It also moves sanitizeBlockRange function and it's test into the the common file as it is used from PrepareBundle and SubmitBundle RPC functions | diff --git a/api/sonicapi/bundle_api.go b/api/sonicapi/bundle_api.go
index 5d1dc9af50..009afe4c82 100644
--- a/api/sonicapi/bundle_api.go
+++ b/api/sonicapi/bundle_api.go
@@ -17,9 +17,10 @@
package sonicapi
import (
+ "fmt"
+
"github.com/0xsoniclabs/sonic/gossip/blockproc/bundle"
- "github.com/ethereum/go-ethereu... | 1 | 1 | 0 | [{"id": "G0", "claim": "Move the MaxNumEstimableTransactions constant out of bundle_api.go and into estimate_gas.go.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}] | null |
0xsoniclabs__sonic__920 | 0xsoniclabs/sonic | 920 | defect | 62c4731f1fb4077f7b22294024142680d9eb2487 | dff1e59d53e7b5f04582ca41e0681e60bcef7413 | Add integration tests for semantics of bundles with brio and bundles flags | This PR adds integration tests that ensure that bundle semantics are interpreted starting with brio and their execution is controlled by the bundle feature flag.
The tests also uncovered that the emitter was checking for the wrong flag, and the pool was not checking for the flag at all. This has been fixed and is al... | diff --git a/evmcore/bundle_integration.go b/evmcore/bundle_integration.go
index 18743beb70..b718d999ac 100644
--- a/evmcore/bundle_integration.go
+++ b/evmcore/bundle_integration.go
@@ -52,6 +52,11 @@ func newBundlesChecker(
stateDb: stateDB,
}
return func(tx *types.Transaction) bundlePoolStatus {
+ // Before ... | 2 | 1 | 1 | [{"id": "G0", "claim": "removeBundleOnlyTxs (and its test) should account for both Brio and TransactionBundles: the check exists for the scenario where TransactionBundles are enabled but brio is not, so the rules should validate that and the test should cover both flags.", "category": "design", "verdict": "opposed", "p... | null |
0xsoniclabs__sonic__923 | 0xsoniclabs/sonic | 923 | defect | 62c4731f1fb4077f7b22294024142680d9eb2487 | 5e2e160a06b6c19351e026be893ee1fa13e36bad | Verify bundle history hash integrity on genesis import | This PR depends on https://github.com/0xsoniclabs/sonic/pull/893
**Problem**
Previously, genesis export stored only the latest bundle history hash, and import blindly overwrote it after replaying entries. This meant a corrupted or incomplete export could be imported without detection — the hash was simply force-set... | diff --git a/cmd/sonictool/app/app_test.go b/cmd/sonictool/app/app_test.go
index 09e02c03a6..50dea4df79 100644
--- a/cmd/sonictool/app/app_test.go
+++ b/cmd/sonictool/app/app_test.go
@@ -261,13 +261,26 @@ func TestSonicTool_genesis_ExportImport_WithBundles(t *testing.T) {
client, err = net.GetClient()
require.NoE... | 2 | 2 | 2 | [{"id": "G0", "claim": "The test's assertion is vacuous because the bundle is already pruned before the re-export, so the reviewer asks to add another bundle just before re-exporting and also check that one is preserved by the export-import process.", "category": "testing", "verdict": "supported", "priority": "P1", "sc... | null |
0xsoniclabs__sonic__927 | 0xsoniclabs/sonic | 927 | defect | 7c21e6950101767a436917eff9f836515c91a62a | 7dfaae18fb37df1752e60fb0f0861e8107b39bc3 | Add function to compute effective transaction fees | This PR introduces a helper function to calculate the effective fees that got charged for a transaction on the network.
In addition to the regular fees that can be derived from a receipt, internal fee-payment transactions introduced for sponsored transactions are covered as well. | diff --git a/gossip/blockproc/drivermodule/driver_txs.go b/gossip/blockproc/drivermodule/driver_txs.go
index 8fafdf8d66..45bfc992c2 100644
--- a/gossip/blockproc/drivermodule/driver_txs.go
+++ b/gossip/blockproc/drivermodule/driver_txs.go
@@ -17,6 +17,7 @@
package drivermodule
import (
+ "fmt"
"io"
"math"
"ma... | 2 | 2 | 0 | [{"id": "G0", "claim": "The doc comment for ComputeEffectiveFee should be updated to describe the nil-receipt behavior and list the possible error conditions so callers know what inputs are required.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
0xsoniclabs__sonic__934 | 0xsoniclabs/sonic | 934 | defect | 5de2512d02d28351610379ba7ea8ffeb2cf3d679 | 0eb7df7afacb77889fe2fea6626a5b704d4de0af | Add execution plan state hash into epoch hash | This PR expands the EpochState to cover additional information:
- the hash of the block before the block containing the sealing transactions
- the hash of the execution plan history of the block before the block containing the sealing transactions
- the hashes of the pre-internal transactions used to seal the epoch
... | diff --git a/gossip/blockproc/interface.go b/gossip/blockproc/interface.go
index d279b14564..4550965514 100644
--- a/gossip/blockproc/interface.go
+++ b/gossip/blockproc/interface.go
@@ -19,6 +19,7 @@ package blockproc
import (
"math/big"
+ "github.com/Fantom-foundation/lachesis-base/hash"
"github.com/Fantom-fou... | 6 | 5 | 2 | [{"id": "G0", "claim": "The test name TestEpochState_Decode_DecodingFromF1Serialization_ResetV2Fields looks like a typo and should be DecodingFromV1Serialization for consistency with the surrounding tests and the EpochStateV1 type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int... | null |
0xsoniclabs__sonic__940 | 0xsoniclabs/sonic | 940 | defect | eca599aa77f8924764e61cc92542f993fd7038f8 | 0cb6a0dbc1c7076c635f3752ef6d73679d5d6f33 | Report execution cost from state processor | This PR implements reporting of the execution cost of transactions. This cost includes the cost for bundle steps which are rolled back. In an upcoming PR, this cost is used to implement an efficiency filter for bundles. | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index ff55d2b64d..ae2fe2f059 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -189,7 +189,7 @@ func checkForNonceConflicts(
}
// If this execution failed, the bundle is non-executable.
- if success := bundle.RunBundle(... | 4 | 3 | 1 | [{"id": "G0", "claim": "The loop variable `tx` in `for _, tx := range res` inside runTransaction() shadows the function parameter `tx`, making the code harder to read and risking use of the wrong `tx`; rename the loop variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
0xsoniclabs__sonic__943 | 0xsoniclabs/sonic | 943 | defect | e821c67c97b24a90743d575d5d255623ff9aefad | c6073ad680b97531521e903827ff09e26fb2b7d6 | Update dependencies in go.mod | This PR updates dependencies in `go.mod`.
- Carmen and go-ethereum are not upgraded in this PR, even if they have newer commits.
- `"github.com/docker/docker/pkg/reexec"` is deprecated, so it is replaced by the [suggested](https://pkg.go.dev/github.com/docker/docker/pkg/reexec) "github.com/moby/sys/reexec"
- go ve... | diff --git a/cmd/cmdtest/test_cmd.go b/cmd/cmdtest/test_cmd.go
index 65db927acb..13702df785 100644
--- a/cmd/cmdtest/test_cmd.go
+++ b/cmd/cmdtest/test_cmd.go
@@ -30,7 +30,7 @@ import (
"testing"
"text/template"
- "github.com/docker/docker/pkg/reexec"
+ "github.com/moby/sys/reexec"
)
func NewTestCmd(t *testin... | 5 | 5 | 4 | [{"id": "G0", "claim": "go-colorable and go-isatty are used in debug/flags.go, so this upgrade needs investigation before it is safe.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The go-libpcsclite upgrade touches smart card support that has no go... | null |
0xsoniclabs__sonic__944 | 0xsoniclabs/sonic | 944 | defect | e821c67c97b24a90743d575d5d255623ff9aefad | ec0d4725c551ad3955994551698ad74512e3af48 | Zero effective gas price in receipt for internal transactions | This PR sets zero effective gas price in receipt for internal and sponsorship transactions. This fix changes transaction receipt formatting which is used in all RPC functions providing transaction receipts. | diff --git a/api/ethapi/api.go b/api/ethapi/api.go
index 12d5056a91..3b42cfd7d3 100644
--- a/api/ethapi/api.go
+++ b/api/ethapi/api.go
@@ -28,6 +28,7 @@ import (
cc "github.com/0xsoniclabs/carmen/go/common"
"github.com/0xsoniclabs/carmen/go/common/immutable"
+ "github.com/0xsoniclabs/sonic/gossip/blockproc/subsid... | 2 | 2 | 0 | [{"id": "G0", "claim": "Can you also remove the internal/sponsorship effective-gas-price mitigation from tests/gas_fee/gas_fee_charging_test.go?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The test should use the common net.AdvanceEpoch(t, ... | null |
0xsoniclabs__sonic__945 | 0xsoniclabs/sonic | 945 | defect | e821c67c97b24a90743d575d5d255623ff9aefad | 9532974f23efdf05ecb4e717fb77b6adb77069f2 | Simplify dry runner and fix missclassification | This PR simplifies the implementation of the dry-runner by performing two dry-run iterations instead of one:
- the first checks whether the current nonces would be fine for the bundle
- the second checks whether any future nonces would be fine for the bundle
This simplifies the overall code structure, removes comp... | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index 7c25b707d3..45e84c6017 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -178,79 +178,32 @@ func checkForNonceConflicts(
signer types.Signer,
nonceSource NonceSource,
) BundleState {
- // We start by collecting the... | 3 | 2 | 1 | [{"id": "G0", "claim": "nonceTracker.getNonce calls t.source.GetNonce(addr) on every miss, which can lead to repeated nonce reads along different bundle paths/snapshots (potentially expensive or side-effecting depending on the underlying StateDB); consider caching the first observed nonce in t.nonces when falling back ... | null |
0xsoniclabs__sonic__953 | 0xsoniclabs/sonic | 953 | defect | c4a806dfdc24e89c3e5bfd0644d9c1d692bbb630 | 2dcdf863936026b4178ec9211cd8fcb37b193813 | Remove tracking of legacy tx-offset | This PR removes the faulty legacy transaction index tracking from the state processor and switches to use the true-tx-indexing in all contexts.
From studying the code, the transaction index is not reaching any persistent state or participating any operation relevant for consensus. However, as issue #856 shows, the f... | diff --git a/evmcore/state_processor.go b/evmcore/state_processor.go
index 9e32673087..608e9aeb6e 100644
--- a/evmcore/state_processor.go
+++ b/evmcore/state_processor.go
@@ -155,7 +155,7 @@ func (p *StateProcessor) ProcessWithDifficulty(
return runTransactions(newRunContext(
signer, header.BaseFee, statedb, gp, b... | 7 | 3 | 0 | [{"id": "G0", "claim": "The two comments in the reworked Execute test that say \"patch\" (\"The first patch should index transactions as they are executed.\" and \"the next batch should be offset by the first patch\") contain a typo and should say \"batch\".", "category": "documentation", "verdict": "uncertain", "prior... | null |
0xsoniclabs__sonic__954 | 0xsoniclabs/sonic | 954 | defect | 791f0c051fea83ca60ac168693e320e27ac9df02 | ed0040cd3de735836a44fe61b1a162cb0ce867da | Cache bundle.OpenEnvelope | This PR caches OpenBundle results into the transaction instance storage added [here](https://github.com/0xsoniclabs/go-ethereum/pull/15)
This is an impactful performance optimization as opening the bundle implies creating new transaction instances for the bundled transactions. These new instances do not have the sen... | diff --git a/go.mod b/go.mod
index 6b913e997b..06ef30d642 100644
--- a/go.mod
+++ b/go.mod
@@ -150,6 +150,6 @@ require (
pgregory.net/rand v1.0.2 // indirect
)
-replace github.com/ethereum/go-ethereum => github.com/0xsoniclabs/go-ethereum v0.0.0-20260424113012-971561538c58
+replace github.com/ethereum/go-ethereum ... | 3 | 3 | 2 | [{"id": "G0", "claim": "OpenEnvelope returns the cached TransactionBundle by reference, and its Transactions map stays mutable, so callers can modify the objects shared through the cache; add a Clone/Copy to TransactionBundle that at least clones the Transactions map and return it from OpenEnvelope instead of the cache... | null |
0xsoniclabs__sonic__956 | 0xsoniclabs/sonic | 956 | defect | afea8fc1563ebf91e8a5b7299f49b023ae9bc697 | 4985eafed99ce83f279afe5ed9f1fb00f2e7cc19 | Add bundle evaluation cache | This PR adds a cache to prevent re-evaluating bundles within the same block number. This resource is to be used by the pool and emitter, as recently promoted transactions may be emitted within the same state context.
```
// The cache size of 100k entries is chosen arbitrarily and can be tuned
// Evaluation of b... | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index 50bf1cf4ba..762c405f90 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -20,13 +20,15 @@ import (
"crypto/rand"
"fmt"
"maps"
- big "math/big"
+ "math/big"
"github.com/0xsoniclabs/sonic/evmcore/core_types"
"... | 5 | 3 | 1 | [{"id": "G0", "claim": "Returning makeRunnableState() on any bundle.OpenEnvelope error treats invalid bundles as executable, diverging from GetBundleState and potentially letting malformed envelopes bypass bundle validation; the code should check bundle.IsEnvelope first and block on decode/validation failure for envelo... | null |
0xsoniclabs__sonic__957 | 0xsoniclabs/sonic | 957 | defect | c4a806dfdc24e89c3e5bfd0644d9c1d692bbb630 | 929ed12e0f964195996e95e3691d46f28973b707 | Introduce shared cache between tx pool and emitter to reuse bundle evaluations within the same block number | This PR adds a cache shared between the emitter and the transaction pool to cache evaluations of bundles, whenever they can be executed, are blocked or can be discarded.
The cache is initialized in [config/make_node.go](https://github.com/0xsoniclabs/sonic/compare/luis/tx_pool_bundles_performance?expand=1#diff-e4d4... | diff --git a/config/make_node.go b/config/make_node.go
index 74e45855f2..de66dd86e2 100644
--- a/config/make_node.go
+++ b/config/make_node.go
@@ -145,12 +145,15 @@ func MakeNode(ctx *cli.Context, cfg *Config) (*node.Node, *gossip.Service, func(
}
signer := valkeystore.NewSignerAuthority(valKeystore, cfg.Emitter.Va... | 2 | 1 | 1 | [{"id": "G0", "claim": "NewTxPool accepts bundlesCache but drops it and always passes nil into newTxPool, so bundleEvaluationCache is never initialized from the caller and later bundle evaluation (validateTx/promote/demote, newBundlesChecker) dereferences a nil BundleEvaluator and panics; pass bundlesCache through (and... | null |
0xsoniclabs__sonic__963 | 0xsoniclabs/sonic | 963 | defect | d8452af0faf89adbcaa12eca115fee38d54ce829 | f7520e6320b15ef214ee6a7c4f8d758dedceaa0a | Add support for force-emitting transactions | This PR adds a new test utility enabling test cases to force validators to emit transactions, by-passing any TxPool or Emitter checks. | diff --git a/api/api.go b/api/api.go
index 335d4fd94b..e5771cf60c 100644
--- a/api/api.go
+++ b/api/api.go
@@ -20,6 +20,7 @@ import (
"github.com/0xsoniclabs/sonic/api/ethapi"
"github.com/0xsoniclabs/sonic/api/sccapi"
"github.com/0xsoniclabs/sonic/api/sonicapi"
+ "github.com/0xsoniclabs/sonic/api/testapi"
"gith... | 7 | 7 | 1 | [{"id": "G0", "claim": "EthAPIBackend.ProposeTransactions checks len(b.svc.emitters) before the test-only API gate, so when EnableTestOnlyApi is false and no emitters are configured it returns the \"no emitters\" error instead of a disabled error; consider checking IsTestOnlyApiEnabled() first and returning a consisten... | null |
0xsoniclabs__sonic__969 | 0xsoniclabs/sonic | 969 | defect | d4fcb1301752f4fc8127010e6d8f976b85a9d897 | 830e3fc7f159607dfd7c8cae9e020ed9ff1cffcf | Add check for out-of-bound gas prices in EVM context creation | This PR introduces an integration test reproducing an vulnerability that was detected by an external code reviewer that causes nodes to crash if transactions with gas prices exceeding the 256-bit limit are processed. The PR also includes a corresponding fix for the vulnerability.
Follow-up work will add further safe... | diff --git a/api/ethapi/tx_trace.go b/api/ethapi/tx_trace.go
index f70a0a7313..96fd084aa8 100644
--- a/api/ethapi/tx_trace.go
+++ b/api/ethapi/tx_trace.go
@@ -241,7 +241,11 @@ func (s *PublicTxTraceAPI) traceCallExec(
}
// Set tx context in EVM
- tracedEVM.vmenv.SetTxContext(evmcore.NewEVMTxContext(msg))
+ vmCont... | 3 | 1 | 1 | [{"id": "G0", "claim": "In ApplyTransactionWithEVM, the new error return from NewEVMTxContext exits without calling statedb.EndTransaction(), unlike the function's other exit paths, which can leave a transaction open in the StateDB and affect subsequent operations.", "category": "correctness", "verdict": "supported", "... | null |
0xsoniclabs__sonic__972 | 0xsoniclabs/sonic | 972 | defect | 8f5ed4459e5ffeef8e21da3d7975df6ff7af51c7 | 0b2b3ecf2b8cdb67d59aa656310b47861bac2004 | Add non-panicking version of BigIntToUint256 | This PR introduces a version of `BigIntToUint256` which returns an error instead of panicking. This is the first PR in a series of prs which remove the panicking version. | diff --git a/utils/int.go b/utils/int.go
index 8017abc15..753ef6707 100644
--- a/utils/int.go
+++ b/utils/int.go
@@ -17,11 +17,15 @@
package utils
import (
+ "fmt"
"math/big"
"github.com/holiman/uint256"
)
+// BigIntToUint256 converts a big.Int to a uint256.Int.
+// It panics if the value is negative or to... | 2 | 1 | 1 | [{"id": "G0", "claim": "The doc comment added for Uint256ToBigInt says nil input returns nil, but the implementation unconditionally calls value.ToBig(), which will panic on nil; add an explicit nil check (and return nil) or update the comment/behavior consistently.", "category": "correctness", "verdict": "opposed", "p... | null |
0xsoniclabs__sonic__979 | 0xsoniclabs/sonic | 979 | defect | 07f2b72b66f2c6948c42b6545bd17733ceacf400 | 276d697e81b72c58e382115b7c89bb8424ba26a7 | Add static transaction validation in c_block_callback | This PR extends the range of checks applied to transactions to verify static properties and integrates those checks as a pre-filter in the block-formation process.
The PR performs the following modifications:
- extends the list of properties covered by [evmcore.ValidateTxStatic](https://github.com/0xsoniclabs/sonic... | diff --git a/evmcore/error.go b/evmcore/error.go
index e7ec1f8aab..f6f41524ff 100644
--- a/evmcore/error.go
+++ b/evmcore/error.go
@@ -68,17 +68,75 @@ var (
// current network configuration.
ErrTxTypeNotSupported = types.ErrTxTypeNotSupported
+ // ErrValueMissing is returned if the transaction value is missing.
+... | 1 | 1 | 1 | [{"id": "G0", "claim": "The post-Brio branch of TestIsPermissible_WithBrio_DetectsInvalidTransactionsInBundles does not exercise static validation inside bundles (TransactionBundles defaults to false so the envelope is rejected before being opened, and require.ErrorIs(t, issue, issue) passes for any non-nil error); ena... | null |
0xsoniclabs__sonic__998 | 0xsoniclabs/sonic | 998 | defect | 33877f981af65949675d01773d4b89dcb189e34b | 4818c0176e2e26aa14a58aa7b110e98cf37a6948 | Remove a must-to-uint256 from transaction utils | This PR eliminates a potential panic from the transaction utils by replacing it with explicit error handling.
The utility is used in the bundle validation, and is thus part of critical code. This update removes the panic from the code. | diff --git a/gossip/blockproc/bundle/builder.go b/gossip/blockproc/bundle/builder.go
index f8b0c3420c..d1ba059af1 100644
--- a/gossip/blockproc/bundle/builder.go
+++ b/gossip/blockproc/bundle/builder.go
@@ -92,7 +92,10 @@ func Step(key *ecdsa.PrivateKey, tx any) BuilderStep {
case types.SetCodeTx:
return BuilderSt... | 4 | 2 | 0 | [{"id": "G0", "claim": "The short declarations `v, err6 := toUint256(v)` / `r, err7 := toUint256(r)` / `s, err8 := toUint256(s)` (and the SetCode counterparts) will not compile because they assign *uint256.Int results into the existing *big.Int variables from RawSignatureValues; use distinct variable names for the uint... | null |
0xsoniclabs__sonic__999 | 0xsoniclabs/sonic | 999 | defect | a45fd4e721fb7cd8546d1479688c7b96f74c509c | d8aeb2d87d17514de88f65ea09a551a832a4e281 | Add monitoring metrics to bundle pre-checks | This metric can be used to localize load issues in the pool-emitter as they share this utility.
These metrics do not provide overview of the bundles used submitted to the network, but instead it can be used to monitor the overhead of processing these bundles in the frontend.
Bundles pre-check is shared among TX va... | diff --git a/evmcore/bundle_precheck.go b/evmcore/bundle_precheck.go
index 422e3ba6d0..0f839bb833 100644
--- a/evmcore/bundle_precheck.go
+++ b/evmcore/bundle_precheck.go
@@ -25,12 +25,25 @@ import (
"github.com/0xsoniclabs/sonic/evmcore/core_types"
"github.com/0xsoniclabs/sonic/gossip/blockproc/bundle"
"github.c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new interface should be renamed to drop the 'Wrapper' suffix (e.g. MetricsCounter) since it is an interface, not a wrapper.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
10XGenomics__rust-shardio__10 | 10XGenomics/rust-shardio | 10 | defect | 1e5c9b3f8972df61fbfef13531227d038e916eb9 | 7a1691803f6662e474bbc57da92a6d57bf041f9f | Imrprove error handling & docs | - Propagate errors a bit better: if there's an IO error, the send() method of ShardSender will return a generic error and ShardWriter::finish() will return the original error
- Improve documentation | diff --git a/Cargo.toml b/Cargo.toml
index b9a5543b1..e64107ed0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,10 +1,9 @@
[package]
name = "shardio"
-version = "0.4.0"
-authors = ["Patrick Marks <patrick@10xgenomics.com>"]
+version = "0.5.0"
+authors = ["Patrick Marks <patrick@10xgenomics.com>", "Sreenath Krishnan <s... | 2 | 2 | 2 | [{"id": "G0", "claim": "In send_buf, the match on the buffer-return channel's try_recv result should handle TryRecvError::Empty as a no-op and raise an error for any other variant, instead of swallowing every error with Err(_) => ().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
10XGenomics__rust-shardio__55 | 10XGenomics/rust-shardio | 55 | defect | e75937d814ff6758ee8ab7b62ac1cc2f0a4a3197 | 35aeceae41f8bbea74539e8cafab819525a2308e | feat: allow lazily chunking unsorted iteration | Refactors unsorted shard iteration into a few more granular types.
Adds a `skip_lazy` method to the top-level type to allow lazily seeking into a collection of shard files. This allows chunking a set of shard files for parallel unordered iteration by multiple readers without having to read anything more than the sha... | diff --git a/benches/my_bench.rs b/benches/my_bench.rs
index 532b8a7d..08792491 100644
--- a/benches/my_bench.rs
+++ b/benches/my_bench.rs
@@ -95,7 +95,7 @@ fn main() {
// Open finished file
let all_items = if unsorted_read {
- UnsortedShardReader::<T1>::open(tmp.path())?.collect::<Result... | 1 | 1 | 0 | [{"id": "G0", "claim": "The skip tests should cover a broader, more carefully chosen set of skip values — ideally a file boundary, a chunk boundary, and the middle of a chunk — instead of the single hard-coded value.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
11ty__eleventy-img__116 | 11ty/eleventy-img | 116 | defect | a819c66916a77e143b85c4c6d48248fa5954c1f1 | 4332dece44d6f4072f582da90b6ed4a988e7e34e | Persist in-memory cache, change hash. | Fixes #51
Fixes #115
If the processed file exists in the output folder, processing it is skipped. Thus persisting the cache.
Output images are reprocessed if `useCache: false`
Because we are using cache across runs, we can't use just the file name for calculating hash:
- Sharp options can change between runs
... | diff --git a/img.js b/img.js
index c7b098f..b6939c8 100644
--- a/img.js
+++ b/img.js
@@ -1,7 +1,7 @@
const path = require("path");
+const { createHash } = require("crypto");
const fs = require("fs-extra");
const { URL } = require("url");
-const shorthash = require("short-hash");
const {default: PQueue} = require("p... | 4 | 4 | 2 | [{"id": "G0", "claim": "The file-hashing helper should be exposed as part of the public API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Truncating the sha1 hash to 8 hex characters (4 bytes) is not reasonably collision safe, so the filename hash shou... | null |
11ty__eleventy__102 | 11ty/eleventy | 102 | defect | 7794ca435cf0c18d61717a6110e2c5fbd03e57de | fc7b99ae0939de197cf97c4aa570ceffc790ff83 | Feature ejs relative includes | Closes #103
Adds support for relative includes in EJS templates. | diff --git a/src/EleventyConfig.js b/src/EleventyConfig.js
index 8f5048e0c..b83549126 100644
--- a/src/EleventyConfig.js
+++ b/src/EleventyConfig.js
@@ -24,6 +24,7 @@ class EleventyConfig {
this.handlebarsHelpers = {};
this.passthroughCopies = {};
this.pugOptions = {};
+ this.ejsOptions = {};
t... | 3 | 3 | 1 | [{"id": "G0", "claim": "TemplateRender.getCompiledTemplate passes the arguments to engine.compile in the wrong order for markdown templates: it passes inputPath last while the Markdown.compile signature is compile(str, inputPath, preTemplateEngine, bypassMarkdown), so the preprocessor engine and markdown bypass flags l... | null |
11ty__eleventy__1871 | 11ty/eleventy | 1,871 | defect | 32646153a78b58c6c6ea83b85e75e51b4c3447bf | 236afeee4b1c22cc7db0f09a49c4053746cc066f | Allow template engine overrides with addExtension, with access to the "default" engine | Resolves #1870
☝️ Full description of this change over there! | diff --git a/src/Engines/Custom.js b/src/Engines/Custom.js
index e2e910639..d62d47562 100644
--- a/src/Engines/Custom.js
+++ b/src/Engines/Custom.js
@@ -10,6 +10,8 @@ class CustomEngine extends TemplateEngine {
"init" in this.entry && typeof this.entry.init === "function";
this.initStarted = false;
thi... | 3 | 2 | 0 | [{"id": "G0", "claim": "The example comment should read `// i.e. addExtension('md', { ...overrideBehavior })` instead of `// i.e. addExtension('md', function overrideBehavior() {...})`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer a... | null |
11ty__eleventy__1873 | 11ty/eleventy | 1,873 | defect | 8a6b7bff65334c2edba08905b93a62dfb5823449 | 76f06cf92b942653f970a94f3bf3857b7d99ca5e | Adds `slugify` filter as a soft-replacement for `slug` | First step to fix #278. This PR is open to review and welcomes feedback.
Remaining steps:
1. Update docs to deprecate `slug`
2. Update docs to use `slugify`
| diff --git a/package.json b/package.json
index 993e39741..e2aa489dd 100755
--- a/package.json
+++ b/package.json
@@ -95,6 +95,7 @@
"dependencies": {
"@11ty/dependency-tree": "^2.0.0",
"@iarna/toml": "^2.2.5",
+ "@sindresorhus/slugify": "^1.1.2",
"browser-sync": "^2.26.14",
"chalk": "^4.1.0",
... | 5 | 3 | 2 | [{"id": "G0", "claim": "The slugify filter should turn the library's decamelize behaviour off by default (instead of using the upstream default), and ship default options so names like \"deHaan\" are not split into \"de-haan\" unless the caller opts in.", "category": "design", "verdict": "supported", "priority": "P1", ... | null |
11ty__eleventy__2071 | 11ty/eleventy | 2,071 | defect | 6c664cc98a3449e46f3091eee76672a79a650243 | f8a2137a73214defde850228d8c4e9e759b953f0 | feat: upgrade liquidjs to ^9.28.4, fixes #1995 | Fixes #1995
- fix failing test cases, mostly by adding the resolved file into `includes`.
- restore all `.skip`ed cases, clarify LiquidJS usage. | diff --git a/package.json b/package.json
index d3c7dc9ac..43e4ad60a 100755
--- a/package.json
+++ b/package.json
@@ -80,6 +80,7 @@
"husky": "^7.0.4",
"js-yaml": "^4.1.0",
"lint-staged": "^11.2.6",
+ "liquidjs": "^9.28.4",
"markdown-it-emoji": "^2.0.0",
"nyc": "^15.1.0",
"prettier": "^2.... | 2 | 1 | 1 | [{"id": "G0", "claim": "The re-enabled \"Issue 611: Run a function\" test may not be useful at all, since Liquid implements such scenarios through its Drop concept (with a ruby-like liquidMethodMissing() available) rather than callable values.", "category": "testing", "verdict": "opposed", "priority": "P3", "scope": "i... | null |
11ty__eleventy__366 | 11ty/eleventy | 366 | defect | bde53b4209200406f0cef3403eca0627cc6e0d84 | aea3ae9787c6c23e0757357dfc35ef74a0f95b71 | Join paths correctly | This pull request fixes #231 by using `TemplatePath.join` in a couple of new places, creating more robust data and includes directory paths.
I splitted the pull request into two main commits with the following changes.
**Join paths together correctly with TemplatePath utility**:
- replaces instances of path co... | diff --git a/docs-src/.eleventy.docs.js b/docs-src/.eleventy.docs.js
index ea1223532..c0d7d3321 100644
--- a/docs-src/.eleventy.docs.js
+++ b/docs-src/.eleventy.docs.js
@@ -11,7 +11,7 @@ module.exports = {
removeDir: function(str) {
return TemplatePath.stripPathFromDir(
str,
- TemplatePath.n... | 3 | 2 | 0 | [{"id": "G0", "claim": "The two path helpers should be renamed (e.g. to EleventyPath.join/normalize) because the name TemplatePath is too narrow for their intended project-wide scope.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit \"/... | null |
11ty__eleventy__376 | 11ty/eleventy | 376 | defect | cb2249afa101993f2891dc870ff649f86e7c341c | 2c96b701012fe3186bf079d8395e8941072450a6 | Document & refactor the TemplatePath utilities | Before tackling #368, I realized I needed to know more about `TemplatePath`’s utility functions. I went ahead and added documentation comments to every function. I also refactored some of them, mainly with the goal of simplifying the code.
I created a separate commit for each function because this makes it way easie... | diff --git a/docs-src/.eleventy.docs.js b/docs-src/.eleventy.docs.js
index c0d7d3321..fd4809884 100644
--- a/docs-src/.eleventy.docs.js
+++ b/docs-src/.eleventy.docs.js
@@ -9,7 +9,7 @@ module.exports = {
},
nunjucksFilters: {
removeDir: function(str) {
- return TemplatePath.stripPathFromDir(
+ retu... | 2 | 1 | 1 | [{"id": "G0", "claim": "The PR's new TemplatePath.getAllDirs returns its results in reverse order compared to the previous implementation, which appears to have broken rendering of the 11ty.io build (quick tips section missing title and collection list), so the original order should be restored and a test capturing thi... | null |
15r10nk__inline-snapshot__362 | 15r10nk/inline-snapshot | 362 | defect | fa942c9a2cfe1c03a24648d08fb9496868a024d3 | c2607dd4467343c18a166db200163f6e4883a1cb | fix: fix typing.NewType handling in pydantic models, attrs and dataclasses |
## Description
<!--
Please provide a clear and concise description of what this pull request does.
Create an issue first if you want to make bigger changes.
-->
## Related Issue(s)
<!--
- Closes #123 (replace with relevant issue number(s), if applicable)
- Related to #456
-->
closes #361
## Checklis... | diff --git a/changelog.d/20260409_205903_15r10nk-git.md b/changelog.d/20260409_205903_15r10nk-git.md
new file mode 100644
index 00000000..077f0930
--- /dev/null
+++ b/changelog.d/20260409_205903_15r10nk-git.md
@@ -0,0 +1,3 @@
+### Fixed
+
+- Pydantic models, attrs and dataclasses with `NewType`-typed fields now generat... | 5 | 5 | 0 | [{"id": "G0", "claim": "The skipif reason in tests/test_pydantic.py should say \"cannot\" instead of \"can not\" (three occurrences) for consistent, professional wording.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The skipif reason in tests/ad... | null |
197g__oxide-auth__105 | 197g/oxide-auth | 105 | defect | 354252dd9e1ed9ea4a832278f6ddf8857e33b983 | fc24dc9eb21f6baf3d3b04cc15010caabd1ed7a5 | Async sendable | This contains all I needed to change in order to use it in my project + warning fixes (which included Option of Box instead of Box of Option) | diff --git a/oxide-auth-async/src/code_grant.rs b/oxide-auth-async/src/code_grant.rs
index 992a1d63..fb607a68 100644
--- a/oxide-auth-async/src/code_grant.rs
+++ b/oxide-auth-async/src/code_grant.rs
@@ -1,53 +1,78 @@
pub mod refresh {
use oxide_auth::code_grant::refresh::{BearerToken, Error, Input, Output, Refres... | 2 | 2 | 2 | [{"id": "G0", "claim": "Re-enable the commented-out blanket `OwnerSolicitor` impl with the appropriate `Send` bounds on `T`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`resource::Endpoint::issuer` should return `&mut (dyn Issuer + Send)` like the oth... | null |
197g__oxide-auth__144 | 197g/oxide-auth | 144 | defect | bd2ac63fe87b60102eb5152310650c2fd7acff39 | 653853256f863b22811203b77968bec1c742380a | make "Bearer" handling 'case insensitive' | https://next-auth.js.org/ seems to use a lower case `bearer` which didn't work with oxide-auth.
This changes/fixes/improves …
- [x] I have read the [contribution guidelines][Contributing]
- [x] This change has tests (remove for doc only)
- [ ] This change has documentation
- [ ] Corresponds to issue ... | diff --git a/oxide-auth/src/code_grant/resource.rs b/oxide-auth/src/code_grant/resource.rs
index 5691bd88..4c5c5001 100644
--- a/oxide-auth/src/code_grant/resource.rs
+++ b/oxide-auth/src/code_grant/resource.rs
@@ -266,7 +266,10 @@ fn validate(request: &'_ dyn Request) -> Result<ResourceState> {
}
};
- ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Could you add a test case to oxide-auth/src/endpoint/tests/resource.rs, e.g. copying resource_success with a modified header, to cover the new case-insensitive Bearer scheme handling.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
197g__oxide-auth__164 | 197g/oxide-auth | 164 | defect | ddf2c3598d41d058ed9ca0b9120c8dde602075c7 | d43ba0b8446f6e19de32947b99ec68f0198f1e00 | [FEATURE] Add client credential flow for oxide_auth_async | This adds the missing `client_credentials` flow for `oxide_auth_async`.
For both the code and test, I just pretty much copied the sync `client_credential` and tweaked it according
Some possible issues with my code:
- I could not find a standard for `use` or imports
- `cargo clippy --fix` has a lot of fixes out... | diff --git a/oxide-auth-async/src/code_grant.rs b/oxide-auth-async/src/code_grant.rs
index 5222463e..c0862c98 100644
--- a/oxide-auth-async/src/code_grant.rs
+++ b/oxide-auth-async/src/code_grant.rs
@@ -44,7 +44,7 @@ pub mod refresh {
}
}
Requested::Authenticate { ... | 6 | 5 | 5 | [{"id": "G0", "claim": "The reviewer asks to use the `new` and `with_state` constructors instead of making Solicitation's `grant` and `state` attributes public.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Making ErrorDescription's and BearerToken's at... | null |
197g__oxide-auth__167 | 197g/oxide-auth | 167 | defect | d7269547cce4880ab72ad0ec37631576b1e93d60 | 870b395004cdfc999a33839e58e4b97b84930e10 | Add `Send` bound to trait object | This fixes the issue reported in #166
- [x] I have read the [contribution guidelines][Contributing]
- [x] This change has tests (remove for doc only)
- [x] This change has documentation
- [x] Corresponds to issue #166
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing... | diff --git a/oxide-auth-async/src/code_grant.rs b/oxide-auth-async/src/code_grant.rs
index 3581b982..e98ce94d 100644
--- a/oxide-auth-async/src/code_grant.rs
+++ b/oxide-auth-async/src/code_grant.rs
@@ -206,7 +206,7 @@ pub mod client_credentials {
/// Use negotiated parameters to authorize a client for an owne... | 1 | 1 | 1 | [{"id": "G0", "claim": "A simple compile-time test should be added asserting that the futures returned by the flows are Send.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
197g__oxide-auth__180 | 197g/oxide-auth | 180 | defect | 839d78605c52e8e83c4fd8a11a45b28e82a11b3c | b4e0a2eeb801c5a7dc739dfaf9abae8090439cd8 | Upgrade dependencies in core crates | This PR updates outdated dependencies of the core crates. In particular, it updates:
- `base64`
- `rust-argon2`
Updating these since these are the ones that released semver-incompatible versions.
---
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose ... | diff --git a/Cargo.toml b/Cargo.toml
index 8bbc2323..f7272700 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,3 +1,6 @@
+[profile.test]
+opt-level = 2
+
[workspace]
members = [
"oxide-auth",
diff --git a/oxide-auth-actix/Cargo.toml b/oxide-auth-actix/Cargo.toml
index f755ff82..ee790e9d 100644
--- a/oxide-auth-actix/... | 2 | 2 | 1 | [{"id": "G0", "claim": "The upgraded rust-argon2 v2 default parameters require so much memory and computation that the tests time out and the CI worker OOM-crashes, so the cost has to be brought down (e.g. an optimized test profile or lower argon2 parameters).", "category": "performance", "verdict": "supported", "prior... | null |
197g__oxide-auth__192 | 197g/oxide-auth | 192 | defect | acf956bb98225bbd469f585ab4c7e9f9cb24034d | 7c99928df40204dc320c75199a61ec7b095f7e53 | fix: if the password is empty, treat it as unauthenticated |
This changes/fixes/improves …
- [x] I have read the [contribution guidelines][Contributing]
- [x] This change has tests (remove for doc only)
- [ ] This change has documentation
- [x] Corresponds to issue (#191)
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing... | diff --git a/oxide-auth-async/src/endpoint/access_token.rs b/oxide-auth-async/src/endpoint/access_token.rs
index 591ce842..ac40db38 100644
--- a/oxide-auth-async/src/endpoint/access_token.rs
+++ b/oxide-auth-async/src/endpoint/access_token.rs
@@ -60,6 +60,7 @@ pub struct WrappedRequest<R: WebRequest> {
allow_crede... | 2 | 2 | 2 | [{"id": "G0", "claim": "The full request setups exercising the new behavior (higher levels interpreting missing passphrases as a public client) should be represented in the integration test portion of the test suite under oxide-auth/src/endpoint/tests.", "category": "testing", "verdict": "supported", "priority": "P1", ... | null |
197g__oxide-auth__50 | 197g/oxide-auth | 50 | defect | dc7cdd9049969bcf3c6ee22648608f781928d601 | 281245097d9f9645b9e901d0e7b3333eb5de5a16 | Port in subcrate updates from asonix/subcrates | Currently ported:
- [x] oxide-auth-actix
- [x] oxide-auth-iron
- [x] oxide-auth-rocket
- [x] oxide-auth-actix/examples
- [x] oxide-auth-iron/examples
- [x] oxide-auth-rocket/examples
PR Status:
- [x] I have read the [contribution guidelines][Contributing]
- [x] This change has tests (remove for doc only)
... | diff --git a/.cirrus.yml.disabled b/.cirrus.yml
similarity index 51%
rename from .cirrus.yml.disabled
rename to .cirrus.yml
index c027633e..8245ea6b 100644
--- a/.cirrus.yml.disabled
+++ b/.cirrus.yml
@@ -1,19 +1,16 @@
-test_task:
- matrix:
- - container:
- image: rust:latest
- - container:
- image... | 5 | 5 | 2 | [{"id": "G0", "claim": "The CI matrix should also contain an entry for `CRATE: oxide-auth` so the main crate is tested on its own even though it is currently a dependency.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In oxide-auth-rocket the OAuthResp... | null |
197g__oxide-auth__78 | 197g/oxide-auth | 78 | defect | c7dad3d597d2651fc30492cc70d498ec102d7d1c | da925718e1d3f2e20844d6ace876cb799efb80da | Return expires_in in access token response as a number | This changes/fixes/improves …
- [x] I have read the [contribution guidelines][Contributing]
- [x] This change has tests (remove for doc only)
- [ ] This change has documentation
- [ ] Corresponds to issue (number)
According to the example below, I changed `expires_in` to return a numeric value.
> ... | diff --git a/examples/support/client.rs b/examples/support/client.rs
index 0f34d8ff..d9e48270 100644
--- a/examples/support/client.rs
+++ b/examples/support/client.rs
@@ -2,6 +2,7 @@ extern crate reqwest;
extern crate serde;
extern crate serde_json;
+use serde::{Deserialize, Serialize};
use std::fmt;
use std::col... | 3 | 3 | 1 | [{"id": "G0", "claim": "Change the `serde` import in examples/support/client.rs from a glob import to concrete items.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the remaining tests that still expect string maps, which the change of expir... | null |
1Password__connect-sdk-go__1 | 1Password/connect-sdk-go | 1 | defect | 88c740332fe0f6fad059429a4f78fd4a3edcc532 | ce76aa015f8dbcc9759902af646cf32e1834e249 | Get Items and Vaults by Title | Adding methods for:
- retrieving all items with a given title
- retrieving all vaults with a given title | diff --git a/connect/client.go b/connect/client.go
index 0d9d89f..39241b1 100644
--- a/connect/client.go
+++ b/connect/client.go
@@ -24,8 +24,10 @@ const (
// Client Represents an available 1Password Connect API to connect to
type Client interface {
GetVaults() ([]onepassword.Vault, error)
+ GetVaultsByTitle(uuid s... | 1 | 1 | 1 | [{"id": "G0", "claim": "GetItemByTitle should keep its own tracing span so it can act as the parent span for any additional spans created by the delegated GetItemsByTitle call.", "category": "observability", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
1Password__connect-sdk-go__22 | 1Password/connect-sdk-go | 22 | defect | afa31462b53507210cde1020bc002697a9895b91 | bfc6d04506d6d1ea47882735b1b3d27e2aed1e38 | Add GetVault() for retrieving vault by UUID | Pretty straightforward. This is needed for creating a vault datasource in the Terraform provider. | diff --git a/connect/client.go b/connect/client.go
index f26a402..2feb2c6 100644
--- a/connect/client.go
+++ b/connect/client.go
@@ -3,6 +3,7 @@ package connect
import (
"bytes"
"encoding/json"
+ "errors"
"fmt"
"io"
"io/ioutil"
@@ -10,11 +11,12 @@ import (
"net/url"
"os"
- "github.com/1Password/connect... | 1 | 1 | 0 | [{"id": "G0", "claim": "The go-spew dependency can safely be removed from go.mod, since it was only used during development.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
1Password__connect-sdk-go__26 | 1Password/connect-sdk-go | 26 | defect | e25fbd3464ffcf781a6e63b0437c51d4d51bea2a | 2d775c77bc4c3fef17382b7d42aeba8384f8a3fa | Add support for file downloading | This allows users to download files stored in an item. To be used with the (soon-to-be-released) `v1.3.0` of Connect.
Usage:
```go
vaultID := "emces67b7xbik3k7bldhr67esm"
itemID := "2mte23izewqnl52lx6fok4fzlu"
client, err := connect.NewClientFromEnvironment()
if err != nil {
return err
}
item, err :=... | diff --git a/connect/client.go b/connect/client.go
index 93b9346..16b1832 100644
--- a/connect/client.go
+++ b/connect/client.go
@@ -35,6 +35,8 @@ type Client interface {
CreateItem(item *onepassword.Item, vaultUUID string) (*onepassword.Item, error)
UpdateItem(item *onepassword.Item, vaultUUID string) (*onepasswor... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the unreachable `if requestFail` branches in the getFile and getFileContent test mock helpers, since they are never reached in testing and failure cases are achieved by calling respondError in the test cases.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scop... | null |
1Password__connect-sdk-go__38 | 1Password/connect-sdk-go | 38 | defect | 5edb66183e580d49290edbfed3fb432a7ad16bd3 | 58d087d33d7855d0212a05aa6fe513b46b5d464c | Get full items by title | Closes #35. | diff --git a/connect/client.go b/connect/client.go
index b225b31..723f4f5 100644
--- a/connect/client.go
+++ b/connect/client.go
@@ -216,7 +216,7 @@ func (rs *restClient) GetItemByTitle(title string, vaultUUID string) (*onepasswo
return nil, fmt.Errorf("Found %d item(s) in vault %q with title %q", len(items), vaultU... | 1 | 1 | 0 | [{"id": "G0", "claim": "The loop over items in GetItemsByTitle should use the cleaner Go range construct (for index, item := range items) instead of the index-based for loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
1Password__kubernetes-secrets-injector__65 | 1Password/kubernetes-secrets-injector | 65 | defect | 609175c02e305797592a7eb94f5369b38c2a2d0c | b2fdf6a607af9cf42242745a227506754ab5164e | Preserve existing annotations | ### ✨ Summary
Update the webhook’s annotation patching logic to preserve existing pod annotations by patching individual annotation keys (using proper JSON Pointer escaping) instead of replacing the entire metadata.annotations map. Adds unit tests to ensure custom annotations are not overwritten while still setting op... | diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go
index 39353f51..64a5a188 100644
--- a/pkg/webhook/webhook.go
+++ b/pkg/webhook/webhook.go
@@ -141,21 +141,38 @@ func addVolume(target, added []corev1.Volume, basePath string) (patch []patchOpe
return patch
}
+// escapeJSONPointerKey escapes a key for use... | 1 | 1 | 0 | [{"id": "G0", "claim": "The \"replace when it exists\" case could be covered by a pre-existing empty annotation value (e.g. \"operator.1password.io/status\": \"\") being checked as non-empty afterwards.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
1Password__passkey-rs__24 | 1Password/passkey-rs | 24 | defect | a6bb56cbd0837c2a614883d5bf612ff4d892be5f | d3911870625a6dc6cd9247829be5eef15a1081ac | Add support for provider-side forced uv | ### This PR should be merged after https://github.com/1Password/passkey-rs/pull/23
In summary this PR expands on the context given to `check_user` so that the user of `passkey-rs` can decide if they want to force UV even if it wasn't required by the RP.
The PR now also checks the result of `check_user` to correct... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2262d7c..def5ef1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,35 @@
# Changelog
+## Passkey v0.3.0
+### passkey-authenticator v0.3.0
+
+The changes in this version are centered around giving the users of this library more control over the validation process.
... | 8 | 7 | 2 | [{"id": "G0", "claim": "The changelog additions should go under an `unreleased` section instead of a version heading, and the links should be updated from the bitwarden fork to this repository.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Derivi... | null |
1Password__passkey-rs__27 | 1Password/passkey-rs | 27 | defect | c65cfbc6cea6b6bd09aba4b96ae1432c759de487 | ffd319f3116b2e9c7e392194155a748400f98498 | Stop harcoding RK value sent to the authenticator | UP, UV and RK are currently hardcoded to true in the client, meaning that we will always create discoverable credentials, even if they aren’t actually requested.
----------------------------
Bitwarden internal tracking:
[PM-8578] based on [PM-7150] | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 959d3c5..49cb38d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@
### passkey-client
- Changed: The `Client` no longer hardcodes the UV value sent to the `Authenticator` ([#22](https://github.com/1Password/passkey-rs/pull/22)).
+- Changed: The `Client` no... | 1 | 1 | 1 | [{"id": "G0", "claim": "map_rk hardcodes the resident-key result instead of consulting the authenticator's capabilities — pass in the result of authenticator.get_info and look at get_info::Response::options::rk.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
1Password__typeshare__119 | 1Password/typeshare | 119 | defect | 2addac3798ddf96f39f89de5a2c77fc17e13cbbe | fb6c82f97119e14447f46fe5367e56898435733f | Parameter to override a field type on a per-language basis | Resolves #22.
There is now a field decorator that can override the type of the field in the generated language(s) of your choice. This override takes precedent over everything else, including type mapping. | diff --git a/core/data/tests/can_override_types/input.rs b/core/data/tests/can_override_types/input.rs
new file mode 100644
index 00000000..a61d7592
--- /dev/null
+++ b/core/data/tests/can_override_types/input.rs
@@ -0,0 +1,19 @@
+#[typeshare]
+#[serde(rename_all = "camelCase")]
+struct OverrideStruct {
+ // These a... | 1 | 1 | 0 | [{"id": "G0", "claim": "The long single-line `#[typeshare(...)]` test annotations should be split over multiple lines for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
1Password__typeshare__128 | 1Password/typeshare | 128 | defect | 913c5c209033e477110b216af1811d306b47a58b | 07d46ea5ae6458a1f325d177dabecb75d9b03df5 | Support char type | Add support for the Rust `char` type.
Closes #103 | diff --git a/core/data/tests/test_generate_char/input.rs b/core/data/tests/test_generate_char/input.rs
new file mode 100644
index 00000000..889d8ebf
--- /dev/null
+++ b/core/data/tests/test_generate_char/input.rs
@@ -0,0 +1,4 @@
+#[typeshare]
+struct MyType {
+ field: char,
+}
diff --git a/core/data/tests/test_gener... | 2 | 2 | 0 | [{"id": "G0", "claim": "The comment in scala.rs says \"Char in Swift\" although the code it annotates is the Scala language mapping.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Swift mapping for SpecialRustType::Char should emit the string ... | null |
1Password__typeshare__170 | 1Password/typeshare | 170 | defect | 9635751cd8379aa0c566cd47d76c3c9bc6330ca6 | e6872f53c08059d05aef85b703ff0a1eb4dbacbb | Decorator to redact Kotlin toString | Adds a Kotlin-language specific decorator in order to generate a custom `toString` function on data classes where all the field data removed. This is a guard to avoid potentially leaking sensitive data to logs via the default `toString` function. | diff --git a/core/data/tests/struct_decorator/input.rs b/core/data/tests/struct_decorator/input.rs
index 844b1318..77b8a1fc 100644
--- a/core/data/tests/struct_decorator/input.rs
+++ b/core/data/tests/struct_decorator/input.rs
@@ -15,7 +15,7 @@ pub struct BestHockeyTeams2 {
Lies: String,
}
-#[typeshare(kotlin =... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test for the redacted_to_string Kotlin decorator.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
1Password__typeshare__172 | 1Password/typeshare | 172 | defect | 360604ced0e308deedd2fed4855776a080122b31 | 67a630bbc9934bd0f7465aafcdd845f526491272 | Fix typeshare skip | I found that the `#[typeshare(skip)]` attribute on a field does not work with anonymous structs in an Enum. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 89161de3..195e03b7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Version 1.10.0-beta
-## 1.10.0-beta.1
+## 1.10.0-beta.2
Fixed a bug involving type aliases.
@@ -36,7 +36,7 @@ This release brings support for various Rust std smart pointers, as well ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add an automated test case covering the new filter that drops fields marked #[typeshare(skip)] from anonymous struct field parsing.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
1Password__typeshare__174 | 1Password/typeshare | 174 | defect | e8b7f76217c0715a5580059535c44b88b114f034 | c5f47d523411583d07fb9555edb853c0332141ee | allow defining generic type constraints for swift | This updates how generic type constraints are applied to swift types. Before if a type had a generic member we would implicitly apply the same type constraints to the generic constraints. That is not always desirable. This allows the user to define the generic type constraints via the `swiftGenericConstraints` typeshar... | diff --git a/core/data/tests/generic_struct_with_constraints_and_decorators/input.rs b/core/data/tests/generic_struct_with_constraints_and_decorators/input.rs
index 962e5e4c..0ce78a36 100644
--- a/core/data/tests/generic_struct_with_constraints_and_decorators/input.rs
+++ b/core/data/tests/generic_struct_with_constrain... | 1 | 1 | 0 | [{"id": "G0", "claim": "The decorator type should be decoupled from `SupportedLanguage` by keying the decorator map on a `DecoratorKind` enum (Kotlin, Swift, SwiftGenericConstraints) so multiple kinds of decorators can be pulled where relevant, instead of first getting the values for a specific language and then drilli... | null |
1Password__typeshare__218 | 1Password/typeshare | 218 | defect | b6e6bf1b8459ea9239a46db173d8fef03f88a044 | c46fb3c9d16e0c17db7618e47168f84e94a38b4d | Add const support for integer types | This PR contains the functionality to parse Rust integer constants and generate them into the following languages:
- Go
- Typescript
- Python
The foundational pieces can easily be extended to other constant types (e.g. Boolean, Float and String). However, additional guidance and support might be needed to ensure ... | diff --git a/core/data/tests/can_generate_const/input.rs b/core/data/tests/can_generate_const/input.rs
new file mode 100644
index 00000000..f08d4043
--- /dev/null
+++ b/core/data/tests/can_generate_const/input.rs
@@ -0,0 +1,2 @@
+#[typeshare]
+pub const MY_VAR: u32 = 12;
diff --git a/core/data/tests/can_generate_const/... | 5 | 5 | 2 | [{"id": "G0", "claim": "Remove the commented-out second-literal guard block from parse_const_expr rather than keeping commented code around.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The generated Go const line should not end with a semicol... | null |
1Password__typeshare__262 | 1Password/typeshare | 262 | defect | c798580f7524cc8c51e0019b534919fb12cef2c2 | 4ce5ae830b6e5b0cd234658cabc54ee5ef6b39e9 | Use Span to capture line and column numbers for parsing rejections. | It is useful to capture the line and column numbers when parsing rejects the Rust source code.
This MR uses `Span` to capture this data. The error handling could be reworked some more but this allows capturing the line, column numbers without too many changes.
This was requested in #260
Example test invalid ... | diff --git a/Cargo.lock b/Cargo.lock
index 4daa23f6..50bee330 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -316,9 +316,9 @@ dependencies = [
[[package]]
name = "flexi_logger"
-version = "0.30.2"
+version = "0.31.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb03342077df16d5b1400d7... | 5 | 3 | 1 | [{"id": "G0", "claim": "The Display impl for ParseDirError should drop the Cow and write each branch directly, avoiding an intermediate String allocation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An associated function on ParseError that t... | null |
1Password__typeshare__51 | 1Password/typeshare | 51 | defect | 58e15ecdad90e80b18eb05d3e3ddc1e888fadeb5 | 4fb9d9dcd9f47598f2e470ed1f3bc91db45b8410 | Support unit structs that don't use bracket syntax | This PR will add support for unit structs that use semicolon syntax instead of bracket syntax.
In other words,
```rust
#[typeshare]
struct UnitStruct;
```
will now work properly.
This closes #41 | diff --git a/Cargo.lock b/Cargo.lock
index 8b9fcd69..db193256 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -601,7 +601,7 @@ dependencies = [
[[package]]
name = "typeshare-cli"
-version = "1.0.0"
+version = "1.0.1"
dependencies = [
"clap",
"clap_complete_command",
diff --git a/core/data/tests/can_generate_unit_s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Kotlin output for a unit struct should use Kotlin's `object` syntax (e.g. `@Serializable @SerialName(\"UnitStruct\") object UnitStruct`) instead of `class`, as the repo already does for enums and in tests like boxed_value and can_handle_anonymous_struct.", "category": "design", "verdict": "s... | null |
1Password__typeshare__60 | 1Password/typeshare | 60 | defect | 3de784a07b3f1a36dcd175c7d71ce1047f773f1b | 1d18fa6f2ab8f13492dbbd47ab88b4b7742abe2a | Allow to define `readonly` TypeScript properties | This PR adds a `typescript(readonly)` decorator which allows for the creation of `readonly` fields in TypeScript.
Closes #50. | diff --git a/core/data/tests/can_generate_readonly_fields/input.rs b/core/data/tests/can_generate_readonly_fields/input.rs
new file mode 100644
index 00000000..e45073bf
--- /dev/null
+++ b/core/data/tests/can_generate_readonly_fields/input.rs
@@ -0,0 +1,5 @@
+#[typeshare]
+pub struct SomeStruct {
+ #[typeshare(types... | 1 | 1 | 1 | [{"id": "G0", "claim": "The hardcoded get_field_readonly function is not an extendable way to handle language-specific parameters, so the code will break if future configuration is added here.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.