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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
software-mansion__smelter__468 | software-mansion/smelter | 468 | defect | 70a6fbf39abab7487789a0d802b389f967a7e778 | 4f6225cf19a8a5018cb3a5db4ce619818acc91fd | Add more integration tests | Snapshots: https://github.com/membraneframework-labs/video_compositor_snapshot_tests/pull/29 | diff --git a/compositor_integration_tests/src/bin/play_rtp_dump.rs b/compositor_integration_tests/src/bin/play_rtp_dump.rs
index f3ebf0c7ab..26ad45c135 100644
--- a/compositor_integration_tests/src/bin/play_rtp_dump.rs
+++ b/compositor_integration_tests/src/bin/play_rtp_dump.rs
@@ -7,7 +7,7 @@ fn main() {
retu... | 2 | 2 | 0 | [{"id": "G0", "claim": "The split_rtp_packet_dump helper should return an error when a parsed RTP packet has a payload type other than 96 or 97, instead of silently skipping it.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The compare_video_dumps ... | null |
software-mansion__smelter__477 | software-mansion/smelter | 477 | defect | 6c1274f8076f757f2a2b4563a9e236ffae227e2d | 1c2314bc19fb624110656619951d44e7e00b395f | Fix integration tests sometimes failing | - ~Added `LIVE_COMPOSITOR_NEVER_DROP_OUTPUT_FRAMES` env~
- Made output receiver dump longer
- Lowered resolution
- Changed `encoder_preset` to `ultrafast`
Snapshots PR: https://github.com/membraneframework-labs/video_compositor_snapshot_tests/pull/30 | diff --git a/compositor_integration_tests/src/compositor_instance.rs b/compositor_integration_tests/src/compositor_instance.rs
index 25cc483d7c..a430554331 100644
--- a/compositor_integration_tests/src/compositor_instance.rs
+++ b/compositor_integration_tests/src/compositor_instance.rs
@@ -91,6 +91,7 @@ fn get_free_por... | 3 | 2 | 1 | [{"id": "G0", "claim": "Setting LIVE_COMPOSITOR_NEVER_DROP_OUTPUT_FRAMES should not be necessary now that the output resolution was lowered, and the reviewer asks whether the flakiness still happens without it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
software-mansion__smelter__616 | software-mansion/smelter | 616 | defect | 7a9355312623ca53b9bf2b7c4474c74a3ad8028c | 92c1dd522427d8dab946821fa899a3471c6179f0 | Move internal examples to `integration_tests` crate | issue #603 - `examples` dir refactor + cleanup
moved examples to integration_tests, moved common.rs to examples_common.rs in integration_tests/src + needed modifications
minor bugs corrections | diff --git a/Cargo.lock b/Cargo.lock
index 1f7a896bf6..a431b0625e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1449,18 +1449,25 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bytes",
+ "compositor_chromium",
"compositor_render",
"crossbeam-channel",
"ffmpeg-next",
+ "futures-util",
"live_compositor",
+ "... | 3 | 2 | 0 | [{"id": "G0", "claim": "integration_tests/Cargo.toml should end with a trailing newline.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The examples_common module should be renamed to examples.", "category": "maintainability", "verdict": "supported", "pri... | null |
software-mansion__smelter__617 | software-mansion/smelter | 617 | defect | e80cb1faa15ccef07b177c5a21f7ac03423a3dcb | 0341cdaf025992d8c862be51a95baf9901ab36c2 | Examples of using channel based outputs | - Add 2 examples of using output types that return data via Rust channels
- When downloading texture padding should be to 256 bytes per row not 265 pixels. (It worked before because we added that padding consistently in chromium code, and on output pixel size is always 1 byte per YUV plane)
- Fix pad_to_256 function | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3415e5671..f8309226c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,8 @@
### 💥 Breaking changes
+- Remove `forward_error_correction` option from RTP OPUS output. ([#615](https://github.com/membraneframework/live_compositor/pull/615) by [@wkozyra95](https:/... | 2 | 1 | 0 | [{"id": "G0", "claim": "The spawned audio-reading thread never gets an explicit done signal — the reviewer asks whether it stops and suggests using a send_done_audio-style channel like the video thread has.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
software-mansion__smelter__621 | software-mansion/smelter | 621 | defect | ef56167c252f31f1c1c490cf6066be8d5b1b8178 | 2d6ff20b2e71084d81a0f87408ef7c9ed10893de | Add input type that returns data via channel | - Add input type that can take wgpu::Textures and raw audio
- Add example of using that input (video only) | diff --git a/compositor_pipeline/src/pipeline.rs b/compositor_pipeline/src/pipeline.rs
index a606f7fa24..1d6d6e4d19 100644
--- a/compositor_pipeline/src/pipeline.rs
+++ b/compositor_pipeline/src/pipeline.rs
@@ -18,10 +18,13 @@ use compositor_render::WgpuFeatures;
use compositor_render::{error::UpdateSceneError, Render... | 3 | 3 | 2 | [{"id": "G0", "claim": "The texture-copy functions should use a different name, because the methods mirroring the free function `copy_wgpu_texture` look like recursion at first glance.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In `fill_from... | null |
software-mansion__smelter__684 | software-mansion/smelter | 684 | defect | ddb7f0fc1033717f58e40182924f8aa2319114e5 | 569542d9b7c0ccafa8da74f367a1f050e3947e22 | Automatically rename existing mp4 files under `register_output.mp4.path` location to `[path].old.[index]` | When working on the release demo I found it extremely annoying, that I couldn't automatically overwrite the output file, so I decided to add this option.
Update:
Decided to go with renaming the file instead | diff --git a/CHANGELOG.md b/CHANGELOG.md
index f4ee6a2caf..6b0f1a3d93 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,8 @@
### ✨ New features
+- Add `overwrite` option for MP4 output ([#684](https://github.com/software-mansion/live-compositor/pull/684) by [@WojciechBarczynski](https://github.com/WojciechBa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `overwrite` option does not fit the output API and an option to select whether a file should be overridden seems unnecessary; instead the PR should check if the file already exists and rename it, e.g. `test.mp4` -> `test.mp4.bak.0`/`test.mp4.bak.1`.", "category": "design", "verdict": "suppor... | null |
software-mansion__smelter__833 | software-mansion/smelter | 833 | defect | 7ec0fdc7e3b0dbccba33b06b28217199adb752d6 | cfcada427bec1d842a3ba39bf5092ce31039f78e | Forbid output update after EOS | Fixes #552 | diff --git a/compositor_pipeline/src/error.rs b/compositor_pipeline/src/error.rs
index 03dfcace63..81ecb75694 100644
--- a/compositor_pipeline/src/error.rs
+++ b/compositor_pipeline/src/error.rs
@@ -246,6 +246,7 @@ impl From<&UnregisterOutputError> for PipelineErrorInfo {
}
const BUILD_SCENE_ERROR: &str = "BUILD_SC... | 1 | 1 | 1 | [{"id": "G0", "claim": "The video-end (and likewise audio-end) EOS check should not reject the whole update with an error when only one track has finished; at most it should log a warning.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
software-mansion__smelter__892 | software-mansion/smelter | 892 | defect | 97405df03be601f4aa2fd873f80a64d96e65169f | 131428ab62bc95020d661ed4fb984caae3557dbf | Add initial benchmarking setup. | Here's an initial benchmarking setup. For context, the end goal for this is for us to be able to run a set of these benchmarks on any computer and figure out what kind of smelter setups can be run on it.
You can run it with:
```sh
cargo run --bin benchmark -- --help
```
to get the information on how to run a si... | diff --git a/Cargo.lock b/Cargo.lock
index b788218827..99229849c9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2396,6 +2396,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"bytes",
+ "clap",
"compositor_api",
"compositor_chromium",
"compositor_pipeline",
diff --git a/compositor_pipeline/src/pipeline/graphi... | 5 | 3 | 2 | [{"id": "G0", "claim": "In the warm-up loop, use `start_time.elapsed()` instead of `Instant::now() - start_time` as the loop condition.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "An alternative approach would be to just do a thread sleep and... | null |
software-mansion__smelter__931 | software-mansion/smelter | 931 | defect | c65572ef593042de3e60dead44dac63b627f4961 | 67d337855344937796fa8e535d8d4e69d1cce488 | Add padding to `View` component | Snapshot tests: https://github.com/membraneframework-labs/video_compositor_snapshot_tests/pull/52
The padding behavior:
- Static children:
- If the size is defined for the child, grow the child's size by its padding, and offset its position with parent padding
- If the size is not defined, shrink the child to... | diff --git a/compositor_api/src/types/component.rs b/compositor_api/src/types/component.rs
index 549a45e4d7..c3a928eed9 100644
--- a/compositor_api/src/types/component.rs
+++ b/compositor_api/src/types/component.rs
@@ -92,6 +92,18 @@ pub struct View {
/// List of box shadows.
pub box_shadow: Option<Vec<BoxS... | 6 | 6 | 4 | [{"id": "G0", "claim": "The View API should also expose a combined `padding` option (and `padding_vertical`/`padding_horizontal`), not only the per-side padding fields.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code that maps children of a view ... | null |
software-mansion__smelter__951 | software-mansion/smelter | 951 | defect | bcb276138ee30dc0a60cec001d196e7d883e2a6d | 6a414ef2077a93f127952fe3d8ad22a550f14c56 | Develop benchmarks | Develop more benchmark options:
- [x] resolution
- [x] presets
- [x] iteration
- [x] maximize
- [x] outputs
- [x] iteration
- [x] maximize
- [x] run without encoder
- [x] run without decoder
- [x] add csv export option
- [x] readable output formatting
- renamed `encoder/decoder_count` to `outpu... | diff --git a/integration_tests/src/bin/benchmark/args.rs b/integration_tests/src/bin/benchmark/args.rs
index f0f5920a2e..f64e2c1aef 100644
--- a/integration_tests/src/bin/benchmark/args.rs
+++ b/integration_tests/src/bin/benchmark/args.rs
@@ -2,7 +2,7 @@ use std::{path::PathBuf, time::Duration};
use compositor_pipel... | 7 | 7 | 0 | [{"id": "G0", "claim": "The resolution preset names are ambiguous and should be renamed to height-based variants like Res1080p, with the CLI accepting the `1080p` convention, and the clap::ValueEnum derive is redundant since parsing is implemented manually.", "category": "design", "verdict": "supported", "priority": "P... | null |
software-mansion__universal-sierra-compiler__62 | software-mansion/universal-sierra-compiler | 62 | defect | fb5dd26e9e18b4f22f02fb6398d787d3b69240a4 | 6d4f3b93f4c355131689fb45a7481fdd0541eaef | Add support for sierra 1.7.0 | **Stack**:
- #63
- #62 ⬅
- #61
⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do not merge manually using the UI - doing so may have unexpected results.* | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 06b39d0..7169175 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,10 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@1.79.0
+ - uses: dto... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please also update README (to include the new Sierra version in the supported versions table).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sogou__srpc__327 | sogou/srpc | 327 | defect | fcfdccab9b5516f118c94d9c392dd26ee4a29e83 | 956f9f2940efb9a3de0edf7545ac05f0cf1f8500 | Add trans_info through trpc protocol. | ### 1. 修改内容
更改rpc_module和trpc协议:
1. 增加trpc协议中对trans_info的透传;
2. 更新RPCTraceFilter使其可派生;
3. 修复调用get_meta_module_data()和serialize_meta()的时机;
### 2. 参考资料
trans_info作为kv表格,内容参考:https://www.w3.org/TR/trace-context/#traceparent-header-field-values
**已支持**:
- affinity_attribute = /-${SERVICE_NAME}/${METHOD_NAME}
... | diff --git a/src/message/rpc_message_trpc.cc b/src/message/rpc_message_trpc.cc
index dd4ace80..099663c3 100644
--- a/src/message/rpc_message_trpc.cc
+++ b/src/message/rpc_message_trpc.cc
@@ -921,12 +921,77 @@ int TRPCMessage::decompress()
return status_code;
}
+static std::string set_traceparent(std::string& trace... | 1 | 1 | 0 | [{"id": "G0", "claim": "The function name set_traceparent would read better as set_trace_parent.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
soheilhy__cmux__11 | soheilhy/cmux | 11 | defect | 4796322baca2a4563620080ebe4896d07a4a2baa | 00f0aa08b530de54fd7abfa31ce5900561ac3290 | Tweak shutdown behaviour | First commit is #8, second commit is this change.
When the root listener is closed, child listeners will not be closed
until all parked connections are served. This prevents losing
connections that have been read from.
This also allows moving the main test to package cmux_test, but that
will happen in a separate chan... | diff --git a/bench_test.go b/bench_test.go
index 6f3ef1e..a2171d1 100644
--- a/bench_test.go
+++ b/bench_test.go
@@ -4,6 +4,7 @@ import (
"bytes"
"io"
"net"
+ "sync"
"testing"
)
@@ -31,12 +32,14 @@ func BenchmarkCMuxConn(b *testing.B) {
}
}()
- b.ResetTimer()
+ var wg sync.WaitGroup
+ wg.Add(b.N)
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "With the select removed, a send to the buffered sl.l.connc may block indefinitely when serve is called more than len(sl.l.connc) times and the goroutine calling sl.l.Accept() is dead; the reviewer asks to keep the select (send when the buffer has room, close the connection on shutdown) alongside... | null |
soheilhy__cmux__16 | soheilhy/cmux | 16 | defect | 26257106999326f02a5f87c70bcadee374b01554 | 6e89cfa8786f4b0737ed0d448418ab2036c12244 | Close the connections buffered for the listeners | This commit closes the connections that has been buffered
on the connection channel of the cmux listeners, when the
root listener is closed. With this change it is guaranteed
that the connections are either closed or handed of to the
child listeners (returned via Accept()).
There are a couple of changes to the tests t... | diff --git a/cmux.go b/cmux.go
index 10a8932..2f5531f 100644
--- a/cmux.go
+++ b/cmux.go
@@ -97,7 +97,11 @@ func (m *cMux) Serve() error {
wg.Wait()
for _, sl := range m.sls {
+ // Drain the connections enqueued for the listener.
close(sl.l.connc)
+ for c := range sl.l.connc {
+ c.Close()
+ }
}
... | 3 | 3 | 0 | [{"id": "G0", "claim": "Move the '// Drain the connections enqueued for the listener.' comment below the close(sl.l.connc) call.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test failure in TestClose should use t.Fatalf instead of t.Fatal ... | null |
soheilhy__cmux__34 | soheilhy/cmux | 34 | defect | b26951527b125cfd8a8e81142cbe6a6b30abaa99 | 55a8ac54bb6daa03f6e4aacbe956a0e50a880a95 | SetReadDeadline for Matching | this timeout allows clients which don't send any data to match cmux.Any()
also unused connections get closed after a while
| diff --git a/cmux.go b/cmux.go
index 69e83fb..0aa5bd1 100644
--- a/cmux.go
+++ b/cmux.go
@@ -19,8 +19,12 @@ import (
"io"
"net"
"sync"
+ "time"
)
+// Default timeout for matches
+var DefaultMatchTimeout = time.Minute
+
// Matcher matches a connection based on its content.
type Matcher func(io.Reader) bool
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of a package-level one-size-fits-all DefaultMatchTimeout, the timeout should be a configurable field on cMux (defaulting to no timeout) with a SetReadTimeout method on the CMux interface and unit tests covering the timeout functionality.", "category": "design", "verdict": "supported", "p... | null |
soheilhy__cmux__57 | soheilhy/cmux | 57 | defect | be5b383fd59782420b18949b90c793098e1b4802 | 49890f88ad03dd9bb09fee4323708188e63d2b53 | Fix bug matchers are ignored except last one | On the current code, only last matcher specified by `Match()` is used and others are ignored. | diff --git a/cmux.go b/cmux.go
index 9de6b0a..1b60e09 100644
--- a/cmux.go
+++ b/cmux.go
@@ -115,7 +115,8 @@ type cMux struct {
func matchersToMatchWriters(matchers []Matcher) []MatchWriter {
mws := make([]MatchWriter, 0, len(matchers))
- for _, m := range matchers {
+ for _, _m := range matchers {
+ m := _m
m... | 2 | 2 | 1 | [{"id": "G0", "claim": "Do not prefix the loop variable with an underscore; write `for _, m := range matchers` and copy it to a differently named variable (e.g. `cm`) inside the loop instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "There ... | null |
soheilhy__cmux__69 | soheilhy/cmux | 69 | defect | 8a8ea3c53959009183d7914522833c1ed8835020 | e0463e7010223e41740e560fcf67457a6d95ff94 | Add CMux.Close() to shutdown server | We don't have a nice way to close CMux server. This PR adds a Close method that tries to gracefully stop cmux server.
Related issue: https://github.com/soheilhy/cmux/issues/39 | diff --git a/cmux.go b/cmux.go
index 8040342..adf268a 100644
--- a/cmux.go
+++ b/cmux.go
@@ -15,6 +15,7 @@
package cmux
import (
+ "errors"
"fmt"
"io"
"net"
@@ -61,6 +62,9 @@ func (e errListenerClosed) Timeout() bool { return false }
// listener is closed.
var ErrListenerClosed = errListenerClosed("mux: l... | 4 | 3 | 3 | [{"id": "G0", "claim": "The `default` case in muxListener.Accept should be dropped so Accept blocks until a connection arrives or the server is closed; otherwise it constantly exits with `nil, ErrServerClosed`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
solana-foundation__anchor__2209 | solana-foundation/anchor | 2,209 | defect | 862575a6496e2d92e9e95d226bc44d7cae1594e1 | 51aaa5e6af93f09d5585995522d83e865112dc25 | Feat: Update AccountsClose to be safe to call manually | Updates the `AccountsClose` trait to ensure its safe to call manually.
Also removed the warnings and added more tests to make sure its safe. Also added `AccountsClose` to the prelude. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index eba8ed4512..cd026a1d1c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,7 @@ The minor version will be incremented upon a breaking change and the patch versi
* spl: Add `freeze_delegated_account` and `thaw_delegated_account` wrappers ([#2164](https://github.com/c... | 3 | 2 | 1 | [{"id": "G0", "claim": "The safety of switching the exit persistence guard from the statically known `T::owner()` to the runtime `self.info.owner` is unestablished and needs to be confirmed before merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
solana-foundation__anchor__3322 | solana-foundation/anchor | 3,322 | defect | 7edc3c9a09f4a21cc76cdf76b4f346d239ed6f25 | 40c048b74bb8f5f719edbcaa8b8b98a2d7a80fd1 | fix: Client is_signer usage in to_account_metas | Problem: Not using `is_signer` prevents proper functioning of the client whenever a PDA is used, let's say when composing and instruction with the inner CPI using the inner client
That is not exactly for the general case but the sole purpose of this argument is for this objective so it seems reasonable to make it wo... | diff --git a/lang/syn/src/codegen/accounts/__client_accounts.rs b/lang/syn/src/codegen/accounts/__client_accounts.rs
index 53c6fc9276..08ea8595e2 100644
--- a/lang/syn/src/codegen/accounts/__client_accounts.rs
+++ b/lang/syn/src/codegen/accounts/__client_accounts.rs
@@ -84,7 +84,7 @@ pub fn generate(
Accou... | 5 | 2 | 2 | [{"id": "G0", "claim": "The PR should also include a CPI test covering the problematic scenario it solves (signer propagation through to_account_metas).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test added by this PR still uses the pre-#4151 AP... | null |
solana-foundation__anchor__3340 | solana-foundation/anchor | 3,340 | defect | ebbad72fc431fb726004d68c56270e88c869428d | 176531f8071adc3defa66fb85e59fbed97311060 | lang: Remove 3 lifetime definitions from `Context` | ### Problem
[`Context`](https://github.com/coral-xyz/anchor/blob/ebbad72fc431fb726004d68c56270e88c869428d/lang/src/context.rs#L24) struct definition includes 4 lifetimes:
https://github.com/coral-xyz/anchor/blob/ebbad72fc431fb726004d68c56270e88c869428d/lang/src/context.rs#L24
While this is technically correct,... | diff --git a/lang/src/context.rs b/lang/src/context.rs
index 6c2b7dfe92..c38b759076 100644
--- a/lang/src/context.rs
+++ b/lang/src/context.rs
@@ -21,14 +21,14 @@ use std::fmt;
/// Ok(())
/// }
/// ```
-pub struct Context<'a, 'b, 'c, 'info, T: Bumps> {
+pub struct Context<'info, T: 'info + Bumps> {
/// Curr... | 7 | 3 | 1 | [{"id": "G0", "claim": "It is unclear how removing the `Context` lifetimes interacts with the known `AccountInfo<'info>` invariance issues (#2770/#3341), since an invariant `AccountInfo<'info>` cannot be re-borrowed with a shorter lifetime.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "intro... | null |
solana-foundation__anchor__3512 | solana-foundation/anchor | 3,512 | defect | dda393fd843b570ec9c00361ae2f930c455fcfa8 | d12a1f8d540036f334be00bbb10e7a4d436fafd2 | spl: Add `create_native_mint` & `initialize_non_transferable_mint` | Implemented these 2 missing instructions from Token2022 | diff --git a/spl/src/token_2022.rs b/spl/src/token_2022.rs
index 693d7204ba..19a1eef428 100644
--- a/spl/src/token_2022.rs
+++ b/spl/src/token_2022.rs
@@ -461,6 +461,33 @@ pub fn ui_amount_to_amount<'info>(
.map_err(Into::into)
}
+pub fn create_native_mint<'info>(
+ ctx: CpiContext<'_, '_, '_, 'info, Cre... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added create_native_mint and initialize_non_transferable_mint CPI helpers should have tests covering them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
solana-foundation__anchor__3813 | solana-foundation/anchor | 3,813 | defect | 85edf91e0c9ac3d5af9a39c6a16649bbd9375349 | a65f707e5ce08f545ddeed83e793efcd2e313c84 | feat(syn): Relax Seeds Syntax | This PR aims to relax the seeds syntax to resolve #3727. This change would allow for both `[ b"prefix".as_ref(), key.as_ref() ]` and `pda_seeds(key)` to be acceptable expressions in `seeds = ...` | diff --git a/lang/syn/src/codegen/accounts/constraints.rs b/lang/syn/src/codegen/accounts/constraints.rs
index d385eb1df9..70d9ac0d47 100644
--- a/lang/syn/src/codegen/accounts/constraints.rs
+++ b/lang/syn/src/codegen/accounts/constraints.rs
@@ -497,71 +497,97 @@ fn generate_constraint_init_group(
// PDA bump see... | 11 | 6 | 1 | [{"id": "G0", "claim": "Asks why the bump is appended by copying the seeds into a `Vec` and pushing rather than using `.concat()`.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The codegen match with an `unreachable!` fallback arm is the kind of pattern t... | null |
solana-foundation__anchor__3878 | solana-foundation/anchor | 3,878 | defect | 9b30a61e4a609646ca84240bba87ced1bfcf4722 | b17cb60fa90da9c4a48cce83cc0f7e6f4baac538 | feature: Allow Generic type programs in Accounts Struct | Fixes https://github.com/solana-foundation/anchor/issues/3699 | diff --git a/bench/COMPUTE_UNITS.md b/bench/COMPUTE_UNITS.md
index c519b8246f..bcbadff10f 100644
--- a/bench/COMPUTE_UNITS.md
+++ b/bench/COMPUTE_UNITS.md
@@ -16,95 +16,95 @@ The programs and their tests are located in [/tests/bench](https://github.com/co
Solana version: 2.1.0
-| Instruction | Comp... | 2 | 2 | 2 | [{"id": "G0", "claim": "The realloc-to-resize change should not be part of this pull request.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the PR now ignores the realloc zero constraint it should emit a deprecation warning (rather than removing t... | null |
solana-foundation__anchor__3952 | solana-foundation/anchor | 3,952 | defect | 56b21edd1f4c1865e5f943537fb7f89a0ffe5ede | 7fb9709971e621ac424ba91608eb94cbb73097ef | feat: ed25519 & secp256k1 sig verification helper modules | ### Changes summary
#### Added signature_verifications/ module with:
- `ed25519::verify_ed25519_ix` and `secp256k1::verify_secp256k1_ix`.
#### Implementations:
- Validate sysvar `program_id`, no accounts, and bounds.
- Added explicit checks.
##### Error handling:
- Introduced specific error codes at the end of t... | diff --git a/.github/workflows/reusable-tests.yaml b/.github/workflows/reusable-tests.yaml
index 7b8af78491..7b08ec2045 100644
--- a/.github/workflows/reusable-tests.yaml
+++ b/.github/workflows/reusable-tests.yaml
@@ -462,6 +462,8 @@ jobs:
path: tests/idl
- cmd: cd tests/lazy-account && anchor ... | 5 | 4 | 3 | [{"id": "G0", "claim": "Replace `anchor test --skip-lint` with `anchor test` in the reusable-tests workflow entry for the signature-verification test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request appears to contain two folders... | null |
solana-foundation__anchor__3995 | solana-foundation/anchor | 3,995 | defect | 197dcc6d58082a31d69c52684aa3905fd9a242ab | 512b241fa9967ff3d73acd0f57eff0cd761ec14e | fix: missing solana-signer extration from solana-sdk | Closes #3884 | diff --git a/Cargo.lock b/Cargo.lock
index 64b977c5c2..93dfa1d2a5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -229,6 +229,7 @@ dependencies = [
"solana-client",
"solana-faucet",
"solana-sdk",
+ "solana-signer",
"syn 1.0.109",
"tar",
"toml 0.7.8",
@@ -247,6 +248,7 @@ dependencies = [
"solana-account-decode... | 3 | 3 | 1 | [{"id": "G0", "claim": "The Signer imports at client/src/blocking.rs:13 and client/src/nonblocking.rs:9 were not migrated to solana-signer like the rest of the extraction.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The docs examples (docs/conten... | null |
solana-foundation__anchor__4000 | solana-foundation/anchor | 4,000 | defect | dd1a038761524e09f67c716eb093955ff50c44bd | d7d22a0ca3e56b6297b30e1da9b2cd482659452e | fix: enfore type & count matching between ix handler and #instruction[(..)] args | this pr enforces and fixes types on args.
Example: 1
```rs
// fail
pub fn abcd(
ctx: Context<ABCD>,
data: u64,
) -> Result<()> {
Ok(())
}
#[derive(Accounts)]
#[instruction(data: u8)]
pub struct ABCD<'info> {
pub user: Signer<'info>,
}
```
Example: 2
```rs
// pass
type myType = u6... | diff --git a/.github/workflows/reusable-tests.yaml b/.github/workflows/reusable-tests.yaml
index 7b8af78491..2f5d646dbc 100644
--- a/.github/workflows/reusable-tests.yaml
+++ b/.github/workflows/reusable-tests.yaml
@@ -462,6 +462,8 @@ jobs:
path: tests/idl
- cmd: cd tests/lazy-account && anchor ... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a #[allow(unreachable_code)] to the generated `if false` type-check block because the reviewer believes a confusing unreachable-code warning will appear for users.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Apply #[di... | null |
solana-foundation__anchor__4131 | solana-foundation/anchor | 4,131 | defect | c0077c2a7de64361f451735ac89118bc89f1c277 | dfe385a0d62cd12c866f4375e5930ddcffb503dc | fix(lang): Ensure `repr(packed)` is visible to derives | Fixes #4072
Avoids a Rust ICE when using `declare_program`. This issue may exist elsewhere.
| diff --git a/lang/attribute/program/src/declare_program/common.rs b/lang/attribute/program/src/declare_program/common.rs
index c856d0af3c..eb309d8bfe 100644
--- a/lang/attribute/program/src/declare_program/common.rs
+++ b/lang/attribute/program/src/declare_program/common.rs
@@ -146,10 +146,12 @@ pub fn convert_idl_type... | 4 | 2 | 1 | [{"id": "G0", "claim": "The comment explaining why `ser_attr` is expanded first should also link issue solana-foundation/anchor#4072 for context.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add a compilation test for the `repr(pac... | null |
solana-foundation__anchor__4180 | solana-foundation/anchor | 4,180 | defect | d7ace7a47d9720386d5ddc1690f358e2d1d33ff5 | 9f4b478d41eb54f05823e9b17edf4deb255c6d82 | fix: declare_program with optional accounts | Closes https://github.com/solana-foundation/anchor/issues/4179 | diff --git a/lang/attribute/program/src/declare_program/mods/parsers.rs b/lang/attribute/program/src/declare_program/mods/parsers.rs
index 01f8330185..7f567d3648 100644
--- a/lang/attribute/program/src/declare_program/mods/parsers.rs
+++ b/lang/attribute/program/src/declare_program/mods/parsers.rs
@@ -133,17 +133,40 @@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The compilation check for optional accounts should be declared in tests/declare-program/programs/declare-program/tests/parsers.rs (or, even better, exercised via an optional account in the external program) because Solana builds omit the parsers module and may omit it for IDL builds too, so plac... | null |
solana-foundation__anchor__4201 | solana-foundation/anchor | 4,201 | defect | 2cb7ababa7dba3ac269fd2e60cfa06793ad2b989 | 102f3622e12eec8cb9a1706749c73770754daba8 | ci: Re-enable `zero-copy` tests | ### Problem
[`zero-copy` tests](https://github.com/solana-foundation/anchor/tree/2cb7ababa7dba3ac269fd2e60cfa06793ad2b989/tests/zero-copy) were disabled in https://github.com/solana-foundation/anchor/pull/2843 because GitHub runners were running out of memory:
```
/usr/bin/ld: final link failed: No space left on... | diff --git a/.github/workflows/reusable-tests.yaml b/.github/workflows/reusable-tests.yaml
index 2086834855..1f02f8493b 100644
--- a/.github/workflows/reusable-tests.yaml
+++ b/.github/workflows/reusable-tests.yaml
@@ -428,12 +428,8 @@ jobs:
path: tests/typescript
- cmd: cd tests/duplicate-mutab... | 1 | 1 | 0 | [{"id": "G0", "claim": "The wildcard version entries the PR adds in tests/zero-copy/programs/zero-copy/Cargo.toml (solana-program-test = \"*\" and solana-sdk = \"*\") should specify a major version instead, since tests are not locked and unpinned dependencies will probably cause trouble down the line.", "category": "ma... | null |
solana-foundation__anchor__4239 | solana-foundation/anchor | 4,239 | defect | 2dd5c2473f7964e080f5fa3bc06aa445c07396db | 4eace653594ea7bb78c2db3505d2d7db09e6ee0b | Include `init_if_needed` Accounts in Duplicate Mutable Account Checks | - `init_if_needed` accounts may already be initialized and therefore must participate in the duplicate-mutable-account check. | diff --git a/lang/syn/src/codegen/accounts/duplicate_mutable_account_keys.rs b/lang/syn/src/codegen/accounts/duplicate_mutable_account_keys.rs
index d8875cde67..a3ea537682 100644
--- a/lang/syn/src/codegen/accounts/duplicate_mutable_account_keys.rs
+++ b/lang/syn/src/codegen/accounts/duplicate_mutable_account_keys.rs
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "The explanatory comment about pure-init vs init_if_needed accounts belongs in the mutable accounts check generation (duplicate_mutable_account_keys.rs), not on the is_pure_init method in lang/syn/src/lib.rs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intro... | null |
solana-foundation__anchor__4240 | solana-foundation/anchor | 4,240 | defect | 2dd5c2473f7964e080f5fa3bc06aa445c07396db | 9e1bf8dd969428f5e62a3bc9f40b06008be39867 | Add missing `Lazy` bounds | Split from #4237
This adds the required `Clone` and `Lazy` bounds to generic type.
This allows more test coverage in CI (e.g. `lang/tests/generic_tests.rs`) | diff --git a/.github/workflows/reusable-tests.yaml b/.github/workflows/reusable-tests.yaml
index da42cff670..d81fbb0ab1 100644
--- a/.github/workflows/reusable-tests.yaml
+++ b/.github/workflows/reusable-tests.yaml
@@ -56,7 +56,8 @@ jobs:
- run: cargo build
- run: cargo fmt -- --check
- run: cargo ... | 5 | 5 | 2 | [{"id": "G0", "claim": "gen_lazy should borrow the field types instead of cloning them (`strct.fields.iter().map(|field| &field.ty)`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The enum variant field types should be borrowed instead of clon... | null |
solana-foundation__anchor__4304 | solana-foundation/anchor | 4,304 | defect | 70f7203a99eceb14134cfa8c7f618dbf3fdc279e | 2444ad81990a8a335f216f2da724cab8e3d89763 | lang: fix zero-copy layout deserialization hazards | Addresses the unaligned zero-copy deserialize path discussed in #2689.
Summary:
- use unaligned reads for owned zero-copy account deserialization (`bytemuck::pod_read_unaligned`)
- the borrowed `AccountLoader::load*` paths are intentionally untouched; on-chain Solana runtime guarantees `AccountInfo::data` is 8-byte-al... | diff --git a/docs/content/docs/features/zero-copy.mdx b/docs/content/docs/features/zero-copy.mdx
index d3e9f4c55c..394616b447 100644
--- a/docs/content/docs/features/zero-copy.mdx
+++ b/docs/content/docs/features/zero-copy.mdx
@@ -93,6 +93,10 @@ struct Data {
}
```
+Safe zero-copy requires architecture-stable field... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request causes pretty large breakage and the syntactic type-name comparison for usize/isize is not a complete solution.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bytemuck pod_read_unaligned change is good and can... | null |
solana-foundation__anchor__4380 | solana-foundation/anchor | 4,380 | defect | 7b108db7987afedd1e72edd783d7fc00416e213f | 4deef796a5a0bed564935d8ac6ecefe65f040204 | fix(lang): Handle user-provided `borsh` attributes in serialization | Fixes #4377 by removing `#[borsh]` attributes from the user-provided input and re-applying them in our synthetic derive input.
This additionally blocks the use of `#[borsh]` attributes when `lazy-account` is enabled, pending a future PR to properly support them. | diff --git a/lang/derive/serde/src/lib.rs b/lang/derive/serde/src/lib.rs
index ca29378d34..3a3ddb31ab 100644
--- a/lang/derive/serde/src/lib.rs
+++ b/lang/derive/serde/src/lib.rs
@@ -12,19 +12,39 @@ use {
proc_macro2::{Span, TokenStream as TokenStream2},
proc_macro_crate::FoundCrate,
quote::quote,
- s... | 8 | 8 | 3 | [{"id": "G0", "claim": "The `borsh_attributes` test for issue #4377 is unrelated to `Lazy` and should be moved out of the `Lazy` tests in lang/src/lazy.rs to a more appropriate location.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Now that user-provi... | null |
solana-foundation__anchor__4465 | solana-foundation/anchor | 4,465 | defect | c6633ef731b26564e18d0097324925da99a26fc6 | f8e6ec824168b98f7f43020a8be41d92c31c6ae6 | fix(spl): deprecate `cpi_guard` | Closes #4458
This feature was originally added in https://github.com/solana-foundation/anchor/pull/2789. However, the `cpi_guard_enable/disable` instructions are not usable from in a CPI (https://docs.rs/crate/spl-token-2022/10.0.0/source/src/extension/cpi_guard/processor.rs#42-44), which means an Anchor CPI wrapper... | diff --git a/spl/src/token_2022_extensions/cpi_guard.rs b/spl/src/token_2022_extensions/cpi_guard.rs
index 372b126b7a..45e327d677 100644
--- a/spl/src/token_2022_extensions/cpi_guard.rs
+++ b/spl/src/token_2022_extensions/cpi_guard.rs
@@ -9,6 +9,12 @@ use {
spl_token_2022_interface as spl_token_2022,
};
+#[depr... | 2 | 2 | 1 | [{"id": "G0", "claim": "The cpi_guard enable/disable wrappers should be marked as deprecated rather than removed outright, so the change stays semver compliant and no one re-adds them.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The deprecation notes ... | null |
solana-foundation__kora__113 | solana-foundation/kora | 113 | defect | 5c2562dc3163d51d3553fbb96a050349e7fd0ead | 600397c5c0fa775034b51b411840e756f669e58c | chore: remove Jupiter dependency and update price source handling (PRO-60) | Why
- Jupiter will deprecate v2 endpoint for /price by August 1st 2025, so we need to move to v3
What was done
- Removed Jupiter dependency from Cargo.toml and related workspace configurations.
- Updated price source handling in the codebase to accommodate new structure with optional API URL.
- Enhanced test... | diff --git a/Cargo.toml b/Cargo.toml
index 526bc4078..46e68613d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,7 +77,6 @@ toml = "0.8.19"
spl-token = "7.0.0"
spl-token-2022 = "8.0.0"
spl-associated-token-account = "6.0.0"
-jupiter = "3.1.4"
chrono = "0.4.39"
hex = "0.4.3"
p256 = "0.13.3"
diff --git a/crates/lib/... | 5 | 4 | 3 | [{"id": "G0", "claim": "Replace the if/else-panic price-source assertion in the config test with the suggested assert!(matches!(...)) form.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The config_content test fixture may need updating to match... | null |
solana-foundation__kora__116 | solana-foundation/kora | 116 | defect | 5c2562dc3163d51d3553fbb96a050349e7fd0ead | 68290f4b20531ba7980307ec27c2316743830973 | feat: enhance Kora configuration and RPC method handling (PRO-53) | Why?
Let the node operator decide which rpc function they want to support.
What?
* Updated Kora configuration to include enabled methods for RPC.
* Introduced a new struct `EnabledMethods` to manage method availability.
* Modified RPC server to register methods based on enabled configuration.
* Added integr... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 54ed68f4a..145df34ce 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,7 +12,7 @@ env:
RPC_URL: http://127.0.0.1:8899
TEST_SERVER_URL: http://127.0.0.1:8080
KORA_PRIVATE_KEY: 64TVMxZyYyLHwyfZRJUJMqF8GJsMsZQKk4JhdKk... | 2 | 1 | 1 | [{"id": "G0", "claim": "Replace the long inline cargo run command in CLAUDE.md with a make target such as `make run:test` and update the README to match.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Expose EnabledMethods in ValidationConfig so... | null |
solana-foundation__kora__123 | solana-foundation/kora | 123 | defect | 59f385fc91b80fa9a12bca6475568bcb9bff81b3 | 1bc901201c5d457ba9a6477004589f1ac0950eed | feat: (PRO-70) implement compute budget handling for transaction fees… | … (calculate priority fee instead of estimating)
Why?
Better than estimating, since we can just find the compute budget instructions
What?
- Added support for compute budget instructions in transaction fee estimation.
- Introduced `VersionedTransactionResolved` for resolving addresses in V0 transactions. T... | diff --git a/CLAUDE.md b/CLAUDE.md
index 6994e74f1..3b1cd24a8 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -193,6 +193,7 @@ pnpm run format
- Transaction validation against configuration rules
- Paid transaction verification
- Solana transaction utilities
+ - **Lookup Table Resolution**: V0 transactions require ... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add a named constant (e.g. MICRO_LAMPORTS_LAMPORT) instead of the hardcoded 1_000_000 divisor in calculate_priority_fee.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add unit tests to make sure resolve_addresses is work... | null |
solana-foundation__kora__140 | solana-foundation/kora | 140 | defect | 11d780a0a9d1588481d509d6e0a5e65ca9dd8bb3 | 09e724e5b5331a41411cab38b22faf6c7af4a2b5 | feat(lib): (PRO-141) enhance fee payer policy with burn and close account … | …permissions
- Added `allow_burn` and `allow_close_account` fields to `FeePayerPolicy` struct.
- Updated `kora.toml` and sample configuration to include new fields.
- Implemented validation checks in `TransactionValidator` for burn and close account instructions.
- Added unit tests to verify behavior of fee payer... | diff --git a/Makefile b/Makefile
index c8379af25..251c1402c 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ lint:
# Run tests
test:
- cargo test --lib
+ cargo test --lib --quiet
# Generate a random key that can be used as an API key or as an HMAC secret
generate-key:
@@ -58,12 +58,12 @@ endef
define ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Apply the suggestion to re-enable test-ts in the Makefile's test-all target, which the pull request's change had commented out.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
solana-foundation__kora__180 | solana-foundation/kora | 180 | defect | f690702ff44de9f7686f3bb8b10381e4154c83b1 | 30d6d9452ecbce3e3303dee8b610e4cae77cdf33 | feat: (PRO-162) Implement Redis caching for account data | - Added Redis-based caching functionality to improve performance for Solana RPC calls.
- Introduced CacheUtil for managing cache operations, including initialization, retrieval, and invalidation of cached account data.
- Updated Kora configuration to support cache settings, including enabling/disabling and TTL values... | diff --git a/Cargo.lock b/Cargo.lock
index 7ebc9d5c9..fddd392ec 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -469,6 +469,15 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
+[[package]]
+name = "backon"... | 2 | 1 | 0 | [{"id": "G0", "claim": "The method could be renamed to CacheUtil::get_account (or CacheClient) since it is called via CacheUtil as a proxy for the RPC client and cache use is implied.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It might be wo... | null |
solana-foundation__kora__188 | solana-foundation/kora | 188 | defect | ced0e34245e79e056c30d253dd16185d5e73eb6b | 0c6161241ac4e93cd131fcd7345f0d24a4f947c0 | feat: (PRO-231): add get_signer_payer method | Implements a new RPC method `getPayerSigner()` that returns the recommended signer address and payment destination based on the configured signer selection strategy.
### Problem
Previously, clients had to manually select a signer from the configuration, either randomly or by hardcoding, which bypassed the intended si... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index f183abca6..e7e950e16 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -194,6 +194,7 @@ pub struct EnabledMethods {
pub liveness: bool,
pub estimate_transaction_fee: bool,
pub get_supported_tokens: bool,
+ pub... | 1 | 1 | 0 | [{"id": "G0", "claim": "The get_payer_signer method should reuse the payment-address logic that already exists on KoraConfig instead of reimplementing the configured-payment-address fallback inline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-foundation__kora__192 | solana-foundation/kora | 192 | defect | c58161b37f013cbcb8976aad9058a4b8fed515c3 | c0a39e78eea1de6d5763d537176bdb0a9459dfe8 | feat:(PRO-144) Add getPaymentInstruction SDK method | ### Summary
Adds a new `getPaymentInstruction` method to the TypeScript SDK that generates SPL token transfer instructions for Kora fee payments.
### Changes
- **New method**: `getPaymentInstruction` creates payment instructions by:
- Estimating transaction fees via the server's enhanced `estimateTransactionFee` end... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index e7457b18c..185aadf7c 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -79,6 +79,10 @@ impl ValidationConfig {
pub fn is_payment_required(&self) -> bool {
!matches!(&self.price.model, PriceModel::Free)
}
+
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "supports_token should avoid allocating a new String per call by using `self.allowed_spl_paid_tokens.iter().any(|s| s == token)` instead of `contains(&token.to_string())`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-foundation__kora__208 | solana-foundation/kora | 208 | defect | d051c3d1be9c7449c9dbd7922a0203b269dab7e4 | 8d0b4f67e28149cb9c9c9a80a882d563020628be | feat: (PRO-261) add signature verification flag to transaction methods | - Introduced `sig_verify` flag to `EstimateTransactionFeeRequest`, `SignAndSendTransactionRequest`, `SignTransactionIfPaidRequest`, and `SignTransactionRequest` for controlling signature verification during transaction simulation.
- Added `default_sig_verify` function to provide a default value for the `sig_verify` fla... | diff --git a/crates/lib/src/rpc_server/method/estimate_transaction_fee.rs b/crates/lib/src/rpc_server/method/estimate_transaction_fee.rs
index e04560db1..38e20ae97 100644
--- a/crates/lib/src/rpc_server/method/estimate_transaction_fee.rs
+++ b/crates/lib/src/rpc_server/method/estimate_transaction_fee.rs
@@ -4,6 +4,7 @@... | 2 | 2 | 0 | [{"id": "G0", "claim": "Consider adding tests where sig_verify is false to ensure both code paths are verified (in the estimate_transaction_fee flow).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider verifying scenarios with sig_verify false to c... | null |
solana-foundation__kora__212 | solana-foundation/kora | 212 | defect | 18eafc41b1db0589cd19331b446d08cffee89fb4 | 129907c4b831c2e225d53d2ee5ddab17dc775236 | feat: (PRO-268) Enhance fee estimation with transfer fee calculation… | …s and Kora's price model. Also removed check for non transferable and cpi guard, as they will fail at the transaction level instead.
- Introduced `calculate_transfer_fees` method to compute transfer fees for token transactions.
- Updated `estimate_transaction_fee` to return a `TotalFeeCalculation` struct, encapsulati... | diff --git a/crates/lib/src/fee/fee.rs b/crates/lib/src/fee/fee.rs
index 29444ae2a..1d135efe4 100644
--- a/crates/lib/src/fee/fee.rs
+++ b/crates/lib/src/fee/fee.rs
@@ -1,7 +1,8 @@
use crate::{
constant::{ESTIMATED_LAMPORTS_FOR_PAYMENT_INSTRUCTION, LAMPORTS_PER_SIGNATURE},
error::KoraError,
- token::token... | 4 | 3 | 0 | [{"id": "G0", "claim": "The payment-destination check logic in calculate_transfer_fees duplicates what has_payment_instruction does, and a shared helper function could streamline it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Refactor so the... | null |
solana-foundation__kora__224 | solana-foundation/kora | 224 | defect | ed44607e816c0667d5737a100b40540ee17f0b07 | 3813005aa9c678fb781ea7bf002b1f06b77193c8 | feat: (PRO-255) add adversarial tests for fee payer policy violations… | … and other scenarios
- Introduced new tests for fee payer policy violations, including SOL and SPL transfer restrictions.
- Added adversarial test suite to validate fee payer behavior under restrictive policies.
- Updated configuration files for testing scenarios and added new test cases for various fee payer policy ... | diff --git a/CLAUDE.md b/CLAUDE.md
index 0134b2ca0..797b539bb 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -113,7 +113,7 @@ make test-integration
- Tests: Payment address validation and wrong destination rejection
**Multi-Signer Tests**
-- Config: `tests/src/common/fixtures/multi-signers.toml`
+- Config: `tests/src/co... | 4 | 1 | 0 | [{"id": "G0", "claim": "Pass the instruction type into the fee-payer policy error handling (e.g. \"Fee payer cannot be used as source account for burn instruction\") so the seven policy-violation tests do not all assert the same message and can confirm the correct fail path is triggering.", "category": "testing", "verd... | null |
solana-foundation__kora__233 | solana-foundation/kora | 233 | defect | ef8fc5a6d699d9fbb80ef5b7175c383ab2d925f0 | d0bbb12a1a97a6fdf829040db01751f2e31c7056 | feat: (PRO-413) Enhance fee payer outflow calculation to include SPL … | …token transfers
- Updated `calculate_fee_payer_outflow` to account for SPL token transfers, improving accuracy in fee estimation.
- Added comprehensive tests for SPL token transfer scenarios to ensure correct fee calculations.
- Adjusted transaction validation to utilize updated outflow calculations, ensuring consist... | diff --git a/crates/lib/src/fee/fee.rs b/crates/lib/src/fee/fee.rs
index 710a8f605..7c156a621 100644
--- a/crates/lib/src/fee/fee.rs
+++ b/crates/lib/src/fee/fee.rs
@@ -241,8 +241,14 @@ impl FeeConfigUtil {
}
// Calculate fee payer outflow if fee payer is provided, to better estimate the potential f... | 6 | 5 | 4 | [{"id": "G0", "claim": "Since Token2022 unpacking is backwards compatible, the new code could always use the T22 unpacker instead of branching on the token program owner.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If an ATA-creation instruct... | null |
solana-foundation__kora__235 | solana-foundation/kora | 235 | defect | 4319320095c3b1afcdcfa733e6e95ff7cd2f6799 | 82e87dd2fad6b09862c6fe198984fe899a2568fe | Allowed methods middleware is | now separate instead of only being available when auth is enabled.
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Separated allowed methods middleware from authentication, introducing `MethodValidationLayer` for independent method validation.
>
> - **Middleware Changes**:
> - Introduced `MethodValidationLayer... | diff --git a/crates/lib/src/rpc_server/auth.rs b/crates/lib/src/rpc_server/auth.rs
index d61d1e2b2..132683fa9 100644
--- a/crates/lib/src/rpc_server/auth.rs
+++ b/crates/lib/src/rpc_server/auth.rs
@@ -1,22 +1,20 @@
use crate::{
constant::{X_API_KEY, X_HMAC_SIGNATURE, X_TIMESTAMP},
- rpc_server::middleware_util... | 1 | 1 | 1 | [{"id": "G0", "claim": "The middleware should return 405 Method Not Allowed instead of 401 Unauthorized when the JSON-RPC method is not allowed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
solana-foundation__kora__286 | solana-foundation/kora | 286 | defect | 0899b04320f874204e065c5f11e08f012a4ded80 | b775bf0fac71cfa0c6c6ab1e96c9efa75a6c70bc | feat: Changed transfer_transaction endpoint to actually return paymen… | …t instruction, unsigned
- Modified the `transfer_transaction` function to automatically set the payment destination to Kora's address based on the selected signer, eliminating the need for a destination parameter in the request.
- Updated TypeScript SDK documentation and types to reflect the changes, ensuring clarity... | diff --git a/crates/lib/src/rpc_server/method/transfer_transaction.rs b/crates/lib/src/rpc_server/method/transfer_transaction.rs
index 5409fa9c9..2ad054f82 100644
--- a/crates/lib/src/rpc_server/method/transfer_transaction.rs
+++ b/crates/lib/src/rpc_server/method/transfer_transaction.rs
@@ -11,9 +11,7 @@ use utoipa::T... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add more context to the error returned by config.kora.get_payment_address so that debugging failures (e.g. misconfiguration) is easier.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The integration tests should also asse... | null |
solana-foundation__kora__296 | solana-foundation/kora | 296 | defect | 4961878e81ad08782ade98958fde651f0b6b5634 | a06d15c8acc1db96d925710a16b2ad258df82b57 | feat: (PRO-638) Estimate fee for Jito bundle endpoint | - Introduced the `estimateBundleFee` method to calculate fees for multiple transactions in a bundle.
- Updated `EnabledMethods` to include `estimate_bundle_fee` flag.
- Enhanced TypeScript SDK with new request and response types for bundle fee estimation.
- Added tests for estimating bundle fees, including scenarios fo... | diff --git a/CLAUDE.md b/CLAUDE.md
index 3102ab4fb..bebd8e50b 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -147,18 +147,18 @@ tests/
just test-integration
# Run with verbose output
-just test-integration-verbose
+just test-integration --verbose
# Force refresh test accounts (ignore cached)
-just test-integration-fr... | 5 | 5 | 1 | [{"id": "G0", "claim": "The doc comment on EstimateBundleFeeRequest.sig_verify says it defaults to true while the tests expect false; the doc comment should be corrected to say it defaults to false.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "I... | null |
solana-foundation__kora__301 | solana-foundation/kora | 301 | defect | 8aacde9833abfe9dc18243658af43e6849aa3713 | 928822f43962df1fac1b84c14af7aa50cab4f7d8 | feat(rpc): add reCAPTCHA support for protected endpoints | This PR implements reCAPTCHA (v3) verification for protected RPC methods to prevent abuse. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 91f9920d8..b230575cd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## 2.0.2 - 2026-01-12
+
+
+### Hotfix
+
+- (PRO-639) Fix big transaction causing error when using v0 transaction (#297)
+
## 2.0.1 - 2025-11-24
diff --git a/Cargo.lock b/Cargo.lock
ind... | 10 | 9 | 5 | [{"id": "G0", "claim": "The `<` score comparison lets a score exactly equal to the threshold pass - confirm whether that is intended or the comparison should be `<=` to require scores strictly above the threshold.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", ... | null |
solana-foundation__kora__302 | solana-foundation/kora | 302 | defect | 71958ca5b39c16d4e44602610139be47d722bf8a | 60dbe69b235bb34ceb7c615cadf8060d0de50321 | feat: add transactions_to_sign parameter to bundle endpoints | ## Summary
- Add optional `transactions_to_sign` parameter to `signBundle` and `signAndSendBundle` endpoints
- Enable partial bundle signing where clients can specify which transactions Kora should sign
- Implement validation for out-of-bounds transaction indices
- Fix bundle integration test parameter format to use po... | diff --git a/crates/lib/src/bundle/helper.rs b/crates/lib/src/bundle/helper.rs
index 871ebe575..d96b29bdd 100644
--- a/crates/lib/src/bundle/helper.rs
+++ b/crates/lib/src/bundle/helper.rs
@@ -23,6 +23,61 @@ pub struct BundleProcessor {
}
impl BundleProcessor {
+ /// Extract transactions at specified indices for... | 5 | 3 | 2 | [{"id": "G0", "claim": "Add a validation in merge_signed_transactions that throws when signed_transactions.len() != signed_indices.len().", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a HashSet validation in extract_transactions_to_process to e... | null |
solana-foundation__kora__321 | solana-foundation/kora | 321 | defect | 11b29ec85ecd05013d8eae283ce0451a5d354603 | 442b97f66fd6403d134a56c4614bc10848695b54 | refactor(oracle): migrate from jupiter lite API to v3 pro API | ## Summary
- Migrated Jupiter price oracle from deprecated lite API to unified v3 pro API
- Removed fallback logic between pro/lite APIs in favor of single endpoint
- Made JUPITER_API_KEY required (via environment variable or global configuration)
- Added proper error handling when API key is missing at initialization
... | diff --git a/.github/workflows/rust-unit.yml b/.github/workflows/rust-unit.yml
index b22ba6e60..0cde7b317 100644
--- a/.github/workflows/rust-unit.yml
+++ b/.github/workflows/rust-unit.yml
@@ -3,18 +3,8 @@ name: Rust Unit Tests
on:
push:
branches: [main, "release/*"]
- paths:
- - "crates/**"
- - "... | 3 | 3 | 1 | [{"id": "G0", "claim": "Asks whether init_jupiter_api_key does anything, i.e. the function looks redundant now that get_jupiter_api_key falls back to the JUPITER_API_KEY environment variable directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"... | null |
solana-foundation__kora__378 | solana-foundation/kora | 378 | defect | 2c9d7f2e6487fcf9466e7bd497d61629a745b5be | 707c648423d281c71f70fd1fabbe62ae8fa33d95 | fix(security): harden sig_verify, oracle staleness, transfer fees, and CPI stubs | ## Summary
Security hardening for release/2.2.0 covering multiple advisories:
- **force_sig_verify config**: New `force_sig_verify` field on `KoraConfig` that overrides client `sig_verify` parameter, ensuring signature verification can be enforced server-side
- **sig_verify doc comments**: Fixed all RPC method doc co... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index 9341cab1f..b46fdf591 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -133,6 +133,10 @@ pub struct ValidationConfig {
/// WARNING: Enabling with dynamic pricing creates price arbitrage risk.
#[serde(default)]
pu... | 9 | 7 | 4 | [{"id": "G0", "claim": "When max_price_staleness_slots > 0, a price whose block_id is None passes the staleness check without any validation, so any oracle that omits block_id (the Mock oracle, future integrations, a malfunctioning Jupiter response) silently bypasses the staleness limit.", "category": "correctness", "v... | null |
solana-foundation__kora__383 | solana-foundation/kora | 383 | defect | 285989842b4fb46ea40028203ae855147e17a315 | c12a90bcf9c4f2f32bb4f4d12660adf58ee4558d | feat(kora): add swap_gas plugin + plugin infrastructure | ## Summary
- Replaces the dedicated `swapForGas` API approach with plugin-based transaction validation in existing signing flows.
- Adds the first transaction plugin, `gas_swap`, for gas-station swap shape enforcement.
- Removes the old `swapForGas` RPC/module/SDK surface before release.
## Changes
- Rust: Introduced ... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index b46fdf591..4ca2d0671 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -341,6 +341,8 @@ pub struct EnabledMethods {
pub estimate_bundle_fee: bool,
pub sign_and_send_bundle: bool,
pub sign_bundle: bool,
+ /// S... | 22 | 20 | 7 | [{"id": "G0", "claim": "get_price_in_sol calls the real global crate::state::get_config() for the staleness check instead of the injected Config, and provider.rs lacks the cfg(test) shim, so tests exercising a Jupiter-backed provider can hit uninitialized global state and the injected test config is ignored.", "categor... | null |
solana-foundation__kora__39 | solana-foundation/kora | 39 | defect | c11503b6b1e698432d159b273cbec2a4eaf1a353 | 6b1dc94d87eb0c20e29e9b1a49f2e6d835ebeb04 | Add Fake Oracle and Fix Integration Tests | # Add Fake Oracle and Fix Integration Tests
## Changes
- Added a fake price oracle implementation for use in development and testing environments
- Modified tests to work with both fake price oracles
- Updated configuration to support price source selection (Jupiter or Fake)
- Fixed transaction signing and valid... | diff --git a/Cargo.toml b/Cargo.toml
index d72bc83cb..a1244e668 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,13 +4,15 @@ members = [
"crates/rpc",
"crates/cli",
"scripts",
+ "tests"
]
+resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
-repository = "https:/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The code-level fake price oracle should be swapped for a test mock created with `mockall` (e.g. a `mock!`/`#[automock]` `PriceOracle` trait) that can be imported and used directly in the tests, instead of shipping a fake oracle module in production code.", "category": "design", "verdict": "suppo... | null |
solana-foundation__kora__399 | solana-foundation/kora | 399 | defect | abd65e08598bc29dc06b166ac0975bda635ba66c | cd8a08cda858786c211f2e2151e00bb9201c5268 | feat(signer): add health monitoring and automatic failover for signer pool | Remote signers communicate over HTTP and can fail intermittently. Previously,
SignerPool had no mechanism to detect degraded signers — it would keep routing
requests to a failing signer indefinitely.
This PR adds per-signer health tracking with automatic failover:
- After 3 consecutive failures, a signer is mar... | diff --git a/crates/lib/src/error.rs b/crates/lib/src/error.rs
index b29e0d734..8ab830e33 100644
--- a/crates/lib/src/error.rs
+++ b/crates/lib/src/error.rs
@@ -18,6 +18,9 @@ pub enum KoraError {
#[error("Signing error: {0}")]
SigningError(String),
+ #[error("No healthy signers available: {0}")]
+ NoH... | 5 | 3 | 2 | [{"id": "G0", "claim": "record_failure updates consecutive_failures and is_healthy as two separate non-atomic stores with Relaxed ordering, so a concurrent record_success can be overwritten by the trailing store(false), leaving a just-recovered signer incorrectly marked unhealthy; the reviewer suggests protecting both ... | null |
solana-foundation__kora__41 | solana-foundation/kora | 41 | defect | 6d0ecd03bb19d398657dcda398a161d10a6cbe01 | 45766d8c5b7cca079605358001f23a2fb81f8928 | feat: Implement TokenInterface trait and migrate tokenkeg usage | ## **Description**
This PR introduces a `TokenInterface` trait to abstract token operations and refactors the codebase to use this common interface. The primary goal is to decouple direct SPL token dependencies, making it easier to test, mock, and extend support for additional token standards like Token-2022.
#... | diff --git a/crates/lib/src/cache.rs b/crates/lib/src/cache.rs
index abe6b2e51..c582adc88 100644
--- a/crates/lib/src/cache.rs
+++ b/crates/lib/src/cache.rs
@@ -57,9 +57,11 @@ impl TokenAccountCache {
KoraError::InternalServerError(format!("Failed to get Redis connection: {}", e))
})?;
- ... | 2 | 2 | 1 | [{"id": "G0", "claim": "Use mockall to generate a test mock for TokenInterface instead of hand-writing one in crates/lib/src/token/mock.rs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Many places (account.rs, token.rs, fees.rs — which should use get_a... | null |
solana-foundation__kora__412 | solana-foundation/kora | 412 | defect | abd65e08598bc29dc06b166ac0975bda635ba66c | c4f5a65f13dc29ffcc7c9709ad4f149037eb379a | feat(signer): implement graceful retry and timeout for remote signers | Remote signers (KMS, Fireblocks) can hang or fail intermittently on HTTP calls.
This PR adds configurable retry and timeout, integrated with the health monitoring system.
Changes:
- Each signing attempt wrapped with tokio::timeout (default 10s)
- Exponential backoff (100ms × 2^exp) capped at ~12.8s
- New config ... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index f73463a3d..0b3bb0812 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -510,6 +510,20 @@ pub struct KoraConfig {
/// When true, forces signature verification on all requests regardless of client's sig_verify parameter.
... | 7 | 6 | 5 | [{"id": "G0", "claim": "In build_toml(), sign_timeout_seconds and sign_max_retries are emitted after subsection headers like [kora.cache], so in TOML they land under the last active subsection instead of under [kora], and serde silently drops them so any test combining with_signing_config() with a subsection helper wou... | null |
solana-foundation__kora__418 | solana-foundation/kora | 418 | defect | 887a8574c5490fea9feded2100d77cd3a40fb348 | 3576bf63223bd0a0c0ad7019213e85de9277adf3 | fix(token): bypass cache for payment-critical account reads | ## Summary
- force-refresh destination token account data in TokenUtil::find_payment_in_transaction
- force-refresh Token-2022 mint account data used for transfer-fee calculation in the same path
- remove stale Redis account-cache reads from payment authorization and pricing decisions
## Test Plan (if applicable)
- ca... | diff --git a/crates/lib/src/token/token.rs b/crates/lib/src/token/token.rs
index 097ef182e..8fadfe9a8 100644
--- a/crates/lib/src/token/token.rs
+++ b/crates/lib/src/token/token.rs
@@ -638,7 +638,7 @@ impl TokenUtil {
// Get destination owner and mint - the ATA may not exist yet if being created
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new validate_disallowed_instruction_data method omits a disallowed-account check for SystemInitializeNonceAccount's nonce_authority, which is embedded in instruction data, so a disallowed account can be set as nonce authority via InitializeNonceAccount without being caught.", "category": "se... | null |
solana-foundation__kora__419 | solana-foundation/kora | 419 | defect | 887a8574c5490fea9feded2100d77cd3a40fb348 | 3441695a08e0f35dce4177b106a17ec3ebb481c8 | fix(validation): enforce fee payer policy for ALT instructions | ## Summary
- add explicit ALT parsing and typed ALT instruction classification
- enforce validation.fee_payer_policy.alt flags for create, extend, freeze, deactivate, and close when fee payer is authority or payer
- add ALT policy warnings in config validation and expand validator/parser tests
- expose ALT policy in ge... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index 9fbc9d226..13501c4f8 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -155,6 +155,7 @@ pub struct FeePayerPolicy {
pub system: SystemInstructionPolicy,
pub spl_token: SplTokenInstructionPolicy,
pub token_2022: T... | 3 | 2 | 2 | [{"id": "G0", "claim": "AltInstructionPolicy lacks #[serde(default)], so a partial [validation.fee_payer_policy.alt] table (e.g. only allow_create = true) will produce a serde \"missing field\" error at startup, unlike SystemInstructionPolicy.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
solana-foundation__kora__422 | solana-foundation/kora | 422 | defect | 138a2ca821146ebb6f02257d1608513d1c300054 | cbc0b1df67be675c0f8cfde1aa421152eb686296 | feat(validation): add must_call_programs validation rule | ## Summary
- Adds optional `must_call_programs: Vec<String>` field to `ValidationConfig` (backward-compatible via `#[serde(default)]`)
- When non-empty, transactions must call at least one of the listed programs
- Transactions containing only ComputeBudget instructions are rejected when the list is non-empty
- Follows ... | diff --git a/crates/lib/src/config.rs b/crates/lib/src/config.rs
index bcd8a5113..706cd007d 100644
--- a/crates/lib/src/config.rs
+++ b/crates/lib/src/config.rs
@@ -137,6 +137,11 @@ pub struct ValidationConfig {
/// When >0, prices with a block_id older than `current_slot - max_price_staleness_slots` are rejected.... | 3 | 3 | 2 | [{"id": "G0", "claim": "`must_call_programs` entries are never validated for base58 pubkey format at config-load time in `config_validator.rs`, so an invalid address only surfaces at request time as `KoraError::InternalServerError` instead of a startup configuration error.", "category": "correctness", "verdict": "suppo... | null |
solana-foundation__solana-attestation-service__14 | solana-foundation/solana-attestation-service | 14 | defect | db59a7f563f97e3f443d90f4a28f33fd56c2d11a | fc9f83f36e3f61278be05d986da8f08c2c0095c9 | Adds change_schema_status instruction | Implements instruction for:
https://github.com/exo-tech-xyz/solana-attestation-service/issues/6
https://github.com/exo-tech-xyz/solana-attestation-service/issues/5
Pause/Unpause is combined as a single instruction to the high overlap. | diff --git a/Cargo.lock b/Cargo.lock
index d95c560..fe74932 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -582,6 +582,12 @@ dependencies = [
"alloc-stdlib",
]
+[[package]]
+name = "bs58"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "771fe0050b883fcc3ea2359b1a96bcfb... | 1 | 1 | 0 | [{"id": "G0", "claim": "The bs58 dependency version that this pull request adds to program/Cargo.toml should be managed in the workspace Cargo.toml instead of being pinned inline.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-foundation__solana-attestation-service__22 | solana-foundation/solana-attestation-service | 22 | defect | 8773474ab55329e2f0e0667bd9db4ee0b02d9682 | 08b9b98a75d3dff77a631e59cb376d35498b9706 | Add SchemaDataTypes, Field Names and Validation | https://github.com/exo-tech-xyz/solana-attestation-service/issues/15:
Add SchemaDataTypes, Field Names and Validation | diff --git a/cereal_macro/src/lib.rs b/cereal_macro/src/lib.rs
index 4cadd84..f22ddc7 100644
--- a/cereal_macro/src/lib.rs
+++ b/cereal_macro/src/lib.rs
@@ -20,16 +20,32 @@ pub fn schema_struct_serialize(input: TokenStream) -> TokenStream {
if let syn::Type::Path(type_path) = ty {
let type_ident =... | 2 | 2 | 0 | [{"id": "G0", "claim": "The minimum instruction-data length check in try_from_bytes should be kept (and byte-length checks eventually enforced) because the account size is unknown but a minimum size is known.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
solana-foundation__solana-web3.js__1563 | solana-foundation/solana-web3.js | 1,563 | defect | d6c3cfe44a9c2f5a4be006035e85fdc813d158f0 | bdda9c5496dc6e32e175ba937d8201d903cdbb77 | refactor(experimental): implement getBase58EncodedAddressForSeed | doing this now because its a blocker for me. straightforward reimpl of `createWithSeed`:
```
static async createWithSeed(
fromPublicKey: PublicKey,
seed: string,
programId: PublicKey,
): Promise<PublicKey> {
const buffer = Buffer.concat([
fromPublicKey.toBuffer(),
Buffer.from(... | diff --git a/packages/addresses/src/__tests__/base58-test.ts b/packages/addresses/src/__tests__/base58-test.ts
index 8189393a3346..0ba1751febfa 100644
--- a/packages/addresses/src/__tests__/base58-test.ts
+++ b/packages/addresses/src/__tests__/base58-test.ts
@@ -3,6 +3,7 @@ import { base58 } from '@metaplex-foundation/... | 5 | 4 | 2 | [{"id": "G0", "claim": "There is no top-level package.json command for running both linters (eslint and prettier) on all files in write mode.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "createBase58AddressWithSeed lacks the checks solana_pr... | null |
solana-foundation__solana-web3.js__2387 | solana-foundation/solana-web3.js | 2,387 | defect | 5b21c65e6779dd873d0a2d5ba2c7dd1ca607e2be | 5b894cb902836944dee31aad1847555f2655c39b | add a new ITransactionWithSignatures and IFullySignedTransaction type | This PR is the first in a stack to refactor transactions and properly separate `TransactionMessage` (unsigned transactions) from `ITransactionWithSignatures` (signed transactions that cannot be modified). See https://github.com/solana-labs/solana-web3.js/pull/2377#issuecomment-2021674511 for context/more details
It ad... | diff --git a/packages/transactions/src/__tests__/new-signatures-test.ts b/packages/transactions/src/__tests__/new-signatures-test.ts
new file mode 100644
index 000000000000..3d04c406c2ec
--- /dev/null
+++ b/packages/transactions/src/__tests__/new-signatures-test.ts
@@ -0,0 +1,359 @@
+import '@solana/test-matchers/toBeF... | 8 | 8 | 1 | [{"id": "G0", "claim": "The custom OrderedMap class is unnecessary because objects and ES6 Maps are already ordered; the type should just be an alias like `type OrderedMap<K, V> = Record<K, V>` implemented with plain objects.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id... | null |
solana-foundation__solana-web3.js__2389 | solana-foundation/solana-web3.js | 2,389 | defect | 5b21c65e6779dd873d0a2d5ba2c7dd1ca607e2be | ef541bf62f934eb88c9917b422c46b7f198831c6 | Add support for compiling a TransactionMessage to a new Transaction type | This PR is the new bottom of the stack for splitting unsigned and signed transaction types.
I realised that #2387 is doing too much, by compiling the message and also handling signatures. This PR splits out the functionality to compile a transaction without any signing functionality.
It adds the `NewTransaction` type... | diff --git a/packages/transactions/src/__tests__/new-compile-transaction-test.ts b/packages/transactions/src/__tests__/new-compile-transaction-test.ts
new file mode 100644
index 000000000000..7ecfc41afa99
--- /dev/null
+++ b/packages/transactions/src/__tests__/new-compile-transaction-test.ts
@@ -0,0 +1,55 @@
+import '@... | 4 | 4 | 1 | [{"id": "G0", "claim": "The `signatures` object should be frozen before it is put on the returned transaction (suggested as `signatures: Object.freeze(signatures)`), so the nested map matches the immutable `NewTransaction` type.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {... | null |
solana-foundation__solana-web3.js__2464 | solana-foundation/solana-web3.js | 2,464 | defect | 04328ea0daf967a9e93617e90ff1d3e4aabb7ba2 | cdd2d87b3235782586d579d07399f214a5d4db96 | Add a decoder + codec for the new transaction type | This PR adds a decoder for the new transaction type. It decodes first to an array of signature bytes + an array of message bytes. It then partially decodes the message bytes to identify the signer addresses for the transaction, and uses these to create the signatures map.
It also adds a codec which combines the encode... | diff --git a/packages/errors/src/codes.ts b/packages/errors/src/codes.ts
index ceb67a6a0d5e..98155b4f4ed6 100644
--- a/packages/errors/src/codes.ts
+++ b/packages/errors/src/codes.ts
@@ -200,6 +200,8 @@ export const SOLANA_ERROR__TRANSACTION__INVALID_NONCE_TRANSACTION_INSTRUCTIONS_M
export const SOLANA_ERROR__TRANSACT... | 7 | 5 | 1 | [{"id": "G0", "claim": "The error message for the signatures/signers mismatch is awkwardly worded and should be reworded to 'The transaction message expected the transaction to have $signerAddressesLength signatures, got $signaturesLength.'", "category": "documentation", "verdict": "supported", "priority": "P2", "scope... | null |
solana-foundation__solana-web3.js__2482 | solana-foundation/solana-web3.js | 2,482 | defect | 7265594ce8ac9480dea2b0f5fe84b24fdacf115b | 537845072f4704789e9177df8a8aa317d0831fe6 | Optimize Cache-key function using fast-stable-stringify | ## Aim-
Reduce the size of dependency to stringify various datatypes in project.
Forked [fast-stable-stringify](https://www.npmjs.com/package/fast-stable-stringify) and added support to BigInt datatype. | diff --git a/.changeset/pre.json b/.changeset/pre.json
index f8661d4244ff..452fc474659c 100644
--- a/.changeset/pre.json
+++ b/.changeset/pre.json
@@ -12,6 +12,7 @@
"@solana/codecs": "2.0.0-preview.1",
"@solana/compat": "2.0.0-preview.1",
"@solana/errors": "2.0.0-preview.1",
+ "@solana/fast-stable-str... | 9 | 7 | 0 | [{"id": "G0", "claim": "The README should be rewritten so that the first line below the header calls out that this is a fork and links to the original, with a little adapted documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The depende... | null |
solana-foundation__solana-web3.js__2578 | solana-foundation/solana-web3.js | 2,578 | defect | 7151be60df62854dad6f0c4b543163a426146a22 | 4f4365542bd5febf466d56a031ee59f97f5b910e | refactor(experimental): graphql: token-2022 extensions: TransferCheckedWithFee | This PR adds support for Token-2022's TransferFeeExtension's TransferCheckedWithFee instruction
in the GraphQL schema.
Continuing work on https://github.com/solana-labs/solana-web3.js/issues/2406. | diff --git a/packages/rpc-graphql/src/__tests__/__setup__.ts b/packages/rpc-graphql/src/__tests__/__setup__.ts
index 8ae333fbb4da..68fe5a10c5e6 100644
--- a/packages/rpc-graphql/src/__tests__/__setup__.ts
+++ b/packages/rpc-graphql/src/__tests__/__setup__.ts
@@ -1686,6 +1686,62 @@ export const mockTransactionToken2022A... | 2 | 2 | 0 | [{"id": "G0", "claim": "The transfer-checked-with-fee test should be combined with the nearly identical test above it (the multisig variant differs only by one field) into a single test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The signers... | null |
solana-foundation__solana-web3.js__2579 | solana-foundation/solana-web3.js | 2,579 | defect | 7151be60df62854dad6f0c4b543163a426146a22 | f39231156326691b31263d5db8353785e2e5f083 | refactor(experimental): graphql: token-2022 extensions: withdrawWithheldTokensFromMint | This PR adds support for Token-2022's TransferFeeExtension's withdrawWithheldTokensFromMint instruction
in the GraphQL schema.
Continuing work on https://github.com/solana-labs/solana-web3.js/issues/2406. | diff --git a/packages/rpc-graphql/src/__tests__/__setup__.ts b/packages/rpc-graphql/src/__tests__/__setup__.ts
index 8ae333fbb4da..e26cbcde05cd 100644
--- a/packages/rpc-graphql/src/__tests__/__setup__.ts
+++ b/packages/rpc-graphql/src/__tests__/__setup__.ts
@@ -1686,6 +1686,36 @@ export const mockTransactionToken2022A... | 3 | 3 | 0 | [{"id": "G0", "claim": "The withdrawWithheldTokensFromMint test should include the signers field in its expected assertions, covering both payloads (signers null and signers array).", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The signers field of Spl... | null |
solana-foundation__solana-web3.js__2618 | solana-foundation/solana-web3.js | 2,618 | defect | 73bb4e39e5b8d6eef0774883f68c40881ee4f869 | cae7e3710b905f3ace4bf93d5841fa32e0b3b0f0 | refactor(experimental): graphql: token-2022 extensions: InitializeInterestBearingConfig, UpdateInterestBearingConfig | This PR adds support for Token-2022's InitializeInterestBearingConfig,UpdateInterestBearingConfig instructions in the GraphQL schema.
Continuing work on https://github.com/solana-labs/solana-web3.js/issues/2406. | diff --git a/packages/rpc-graphql/src/__tests__/__setup__.ts b/packages/rpc-graphql/src/__tests__/__setup__.ts
index 193b30130bc0..cb894e992a6e 100644
--- a/packages/rpc-graphql/src/__tests__/__setup__.ts
+++ b/packages/rpc-graphql/src/__tests__/__setup__.ts
@@ -2036,6 +2036,19 @@ export const mockTransactionToken2022A... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `rate` and `rateAuthority` fields of SplTokenInitializeInterestBearingConfig are backwards: `rate` is typed `Account` and `rateAuthority` is typed `Int`, while `rate` should be an `Int` and `rateAuthority` an `Account`.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
solana-foundation__solana-web3.js__2662 | solana-foundation/solana-web3.js | 2,662 | defect | 31fd8a82df9d3d162e2cf2c7a196b64ca60d57c5 | 4cc5c2c4f738d14c6ae35a988bdfa29185466334 | refactor(experimental): graphql: token-2022 extensions: WithdrawWithheldConfidentialTransferTokensFromMint | This PR adds support for Token-2022's WithdrawWithheldConfidentialTransferTokensFromMint instruction in the GraphQL schema.
Continuing work on https://github.com/solana-labs/solana-web3.js/issues/2406. | diff --git a/packages/rpc-graphql/src/__tests__/__setup__.ts b/packages/rpc-graphql/src/__tests__/__setup__.ts
index 739f09a813c0..a6d9cf8596ee 100644
--- a/packages/rpc-graphql/src/__tests__/__setup__.ts
+++ b/packages/rpc-graphql/src/__tests__/__setup__.ts
@@ -2424,6 +2424,40 @@ export const mockTransactionToken2022A... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new `proofInstructionOffset` field of `SplTokenWithdrawWithheldConfidentialTransferTokensFromMint` should be `BigInt` (with a FIXME) rather than `Int`, since `Int` must not be added to instruction schema types.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
solana-foundation__solana-web3.js__2687 | solana-foundation/solana-web3.js | 2,687 | defect | 3f57edb67aa3a6ed7eb8876b671588fbe63d1736 | 823071a092e4e5f0381cc9ae0caa55c5862b7877 | refactor(experimental): graphql: token-2022 extensions: InitializeTokenGroup | This PR adds support for Token-2022's InitializeTokenGroup instruction in the GraphQL schema.
Continuing work on https://github.com/solana-labs/solana-web3.js/issues/2406. | diff --git a/packages/rpc-graphql/src/__tests__/__setup__.ts b/packages/rpc-graphql/src/__tests__/__setup__.ts
index bf2ca9df7c11..bd184f65d3bf 100644
--- a/packages/rpc-graphql/src/__tests__/__setup__.ts
+++ b/packages/rpc-graphql/src/__tests__/__setup__.ts
@@ -2586,6 +2586,21 @@ export const mockTransactionToken2022A... | 1 | 1 | 0 | [{"id": "G0", "claim": "This instruction set is actually part of the SPL Token Group interface (like SPL Token Metadata), so the type should be defined separately from Token-2022 and named per that convention, e.g. 'SplTokenGroupInitializeGroup' instead of 'SplTokenInitializeTokenGroup', with the pattern reused for Tok... | null |
solana-foundation__solana-web3.js__2928 | solana-foundation/solana-web3.js | 2,928 | defect | 548ba6561a813fb88cdb2c8065e3e1c192dde9ac | 7aaf056b21eef190caaaf4e4911fb3e3e4166d32 | A `useSignIn()` hook for accessing the Sign In With Solana feature | # Summary
This hook returns essentially the raw sign in function from the `solana:signIn` feature. It upcasts the returned `WalletAccount` to a `UiWalletAccount` usable with the rest of the `@solana/react` API.
Callers are responsible for verifying the signed message and its signature.
# Test plan
```
pnpm turbo te... | diff --git a/.changeset/fuzzy-lizards-end.md b/.changeset/fuzzy-lizards-end.md
new file mode 100644
index 000000000000..957034018046
--- /dev/null
+++ b/.changeset/fuzzy-lizards-end.md
@@ -0,0 +1,34 @@
+---
+'@solana/react': minor
+---
+
+Added a `useSignIn` hook that, given a `UiWallet` or `UiWalletAccount`, returns a... | 5 | 3 | 0 | [{"id": "G0", "claim": "Consider defaulting `domain` to `window.location.host` when the caller does not supply it.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Do away with the internal plural `useSignIns` API, which is unlikely to be used and does not w... | null |
solana-foundation__solana-web3.js__2950 | solana-foundation/solana-web3.js | 2,950 | defect | 98d6c6e7e4fac2a2e58d05e55fc20af2c9c413a1 | 4036b95918129b6b3f0ef346cabc792f3fada5f9 | RPC: Remove JSON RPC specific behaviour from rpc-spec, move into default transformer | This PR does the following:
- `rpc-spec` no longer returns the `result` field of the transport. This means that a custom transport does not need to use this JSON RPC concept.
- Instead the default transformer now operates on the `result` field, since its input is a JSON RPC transport.
- `rpc-spec` no longer dete... | diff --git a/.changeset/metal-bees-lick.md b/.changeset/metal-bees-lick.md
new file mode 100644
index 000000000000..40b158dbaf4c
--- /dev/null
+++ b/.changeset/metal-bees-lick.md
@@ -0,0 +1,6 @@
+---
+'@solana/rpc-transformers': patch
+'@solana/rpc-spec': patch
+---
+
+Refactor rpc-spec to remove requirement for transp... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a return type annotation to getDefaultResponseTransformerForSolanaRpc in packages/rpc-transformers/src/response-transformer.ts so that the `as RpcApiConfig['responseTransformer']` and `as RpcSubscriptionsApiConfig['responseTransformer']` casts at the rpc-api and rpc-subscriptions-api call si... | null |
solana-foundation__solana-web3.js__3050 | solana-foundation/solana-web3.js | 3,050 | defect | 1f0dea2983979c79b86d2366657f039ecf0fd03e | cf1091d5f85e06c21b4e1b9e59618b2b8eb687a4 | Add `createKeyPairFromPrivateKeyBytes` helper | This PR adds a `createKeyPairFromPrivateKeyBytes` helper that creates a keypair from the 32-byte private key bytes.
```ts
import { createKeyPairFromPrivateKeyBytes } from '@solana/keys';
const { privateKey, publicKey } = await createKeyPairFromPrivateKeyBytes(new Uint8Array([...]));
```
This can be useful when you h... | diff --git a/.changeset/curvy-stingrays-attend.md b/.changeset/curvy-stingrays-attend.md
new file mode 100644
index 000000000000..2151b354f0df
--- /dev/null
+++ b/.changeset/curvy-stingrays-attend.md
@@ -0,0 +1,11 @@
+---
+'@solana/keys': patch
+---
+
+Add a `createKeyPairFromPrivateKeyBytes` helper that creates a keyp... | 2 | 2 | 0 | [{"id": "G0", "claim": "A comment should be added to explain why createKeyPairFromPrivateKeyBytes generates a second (extractable) private key when extractable is false.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Public key generation should n... | null |
solana-foundation__solana-web3.js__3121 | solana-foundation/solana-web3.js | 3,121 | defect | d0b2212eaaa7ab06b0e66ca265a9714c45e020c8 | 41e183426f72c61fd992b453d17e2c6cb315344d | refactor(experimental): change `UnixTimestamp` to `bigint` | #### Problem
The Solana JSON RPC uses a Rust `i64` to represent a Unix Timestamp (see https://github.com/anza-xyz/agave/blob/acaf5b7d48e1b630cbaa4abc859393d8f59f0786/sdk/program/src/clock.rs#L169).
Until now, Web3.js was making the following assumptions:
- JavaScript's `Number.MAX_SAFE_INTEGER` (`2 ^ 53 -1`) as ... | diff --git a/packages/errors/src/context.ts b/packages/errors/src/context.ts
index 87e5bb159bfd..c15765e73693 100644
--- a/packages/errors/src/context.ts
+++ b/packages/errors/src/context.ts
@@ -532,7 +532,7 @@ export type SolanaErrorContext = DefaultUnspecifiedErrorContextToUndefined<
key: CryptoKey;
... | 1 | 1 | 1 | [{"id": "G0", "claim": "If `UnixTimestamp` is changed to a `bigint`, the type has to be renamed (e.g. to `UnixTimestampUnsafeBeyond2Pow53Minus1`) so the name stops implying a number-safe timestamp.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
solana-foundation__solana-web3.js__3122 | solana-foundation/solana-web3.js | 3,122 | defect | d0b2212eaaa7ab06b0e66ca265a9714c45e020c8 | cd0368e8f75e563f1daa9dacd7ee440d607eaf2b | refactor(experimental): adjust `UnixTimestamp` integer range | Now that `UnixTimestamp` is a `bigint`, its supported integer range has increased. Following the RPC's limits for Rust's `i64`, the type now supports integer ranges from `- 2^63` to `2^63 - 1`.
https://doc.rust-lang.org/std/primitive.i64.html#associatedconstant.MAX
https://doc.rust-lang.org/std/primitive.i64.html#a... | diff --git a/packages/errors/src/context.ts b/packages/errors/src/context.ts
index 87e5bb159bfd..c15765e73693 100644
--- a/packages/errors/src/context.ts
+++ b/packages/errors/src/context.ts
@@ -532,7 +532,7 @@ export type SolanaErrorContext = DefaultUnspecifiedErrorContextToUndefined<
key: CryptoKey;
... | 4 | 1 | 0 | [{"id": "G0", "claim": "The old [-8.64e15, 8.64e15] range existed because of JavaScript Date epoch limits, and the widened range this PR introduces admits values such as 8.64e15 + 1 that JavaScript Date cannot represent.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
solana-foundation__solana-web3.js__3147 | solana-foundation/solana-web3.js | 3,147 | defect | b0f6391c35c155cd4180e79f2ac7f033f45621dd | e236173fdb11b8041cabc4f42a3915e9c5e04250 | Add new `RpcRequest`, `RpcResponse` types and their transformer types | Now that we've made room for these new types, we add the following:
- `RpcRequest`: The method name and the params are all we need to create a request. Combining them into a single object makes it easier to play with RPC requests. For instance, we can now have a `RpcRequestTransformer` instead of a `RpcParamsTransfo... | diff --git a/packages/rpc-api/src/__tests__/get-stake-minimum-delegation-test.ts b/packages/rpc-api/src/__tests__/get-stake-minimum-delegation-test.ts
index f41b05de1782..5d2fd27f28f8 100644
--- a/packages/rpc-api/src/__tests__/get-stake-minimum-delegation-test.ts
+++ b/packages/rpc-api/src/__tests__/get-stake-minimum-... | 2 | 1 | 0 | [{"id": "G0", "claim": "The single test that checks both that the `json` promise is transformed and that the `text` promise is untouched should be split into two tests, one per behaviour.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `request` para... | null |
solana-foundation__solana-web3.js__3148 | solana-foundation/solana-web3.js | 3,148 | defect | b0f6391c35c155cd4180e79f2ac7f033f45621dd | 93d3a29c1d7bf6861fc80ea4f239cac4b382af46 | Update RPC transports to use new types | This PR updates the RPC Transport layer by making sure they return the new `RpcResponse` interface instead of returning the parsed response data directly. | diff --git a/packages/rpc-api/src/__tests__/get-health-test.ts b/packages/rpc-api/src/__tests__/get-health-test.ts
index e93b3614f051..68ebc81c4896 100644
--- a/packages/rpc-api/src/__tests__/get-health-test.ts
+++ b/packages/rpc-api/src/__tests__/get-health-test.ts
@@ -1,9 +1,16 @@
import { SOLANA_ERROR__JSON_RPC__SE... | 2 | 1 | 0 | [{"id": "G0", "claim": "The coalescer's `responsePromise` may not need to be typed `Promise<RpcResponse | undefined>`.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Pass the `response` directly to the response transformer so `.json()` is only cal... | null |
solana-foundation__solana-web3.js__3192 | solana-foundation/solana-web3.js | 3,192 | defect | bf07a606768eef7cd37c1dd0e2c0a35fe3b12f24 | 069000220fab1568280fc021082db6dd6abd0191 | Add `fromJson` and `toJson` options to HTTP transport | This PR adds two new optional functions to the `createHttpTransport` configs.
- `fromJson`: When provided, replaces the logic that transforms the response from a JSON string into a JSON value.
- `toJson`: When provided, replaces the logic that transforms the request payload from a JSON value into a JSON string.
This ... | diff --git a/.changeset/light-bugs-compare.md b/.changeset/light-bugs-compare.md
index 216e8add1b38..6ae264a9c0d7 100644
--- a/.changeset/light-bugs-compare.md
+++ b/.changeset/light-bugs-compare.md
@@ -2,4 +2,4 @@
'@solana/rpc-spec': patch
---
-Add new `RpcRequest` and `RpcResponse` types with `RpcRequestTransform... | 1 | 1 | 1 | [{"id": "G0", "claim": "The base-level HTTP transport should not know anything about JavaScript or JSON and should only accept and return text, rather than offering `fromJson`/`toJson` options.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
solana-foundation__solana-web3.js__3251 | solana-foundation/solana-web3.js | 3,251 | defect | 0c9747e407050c219560e62d34c882c3b15db069 | 91c06b705baeaea04927faf9a2456068de512c01 | Update `isAddress` to not throw | When supplied with a non-base58 encoded string the function would unexpectedly throw.
This PR updates it to return `false` instead and adds similar tests as `assertIsAddress` | diff --git a/packages/addresses/src/__tests__/address-test.ts b/packages/addresses/src/__tests__/address-test.ts
index a70d3e75d571..3cf293ddb732 100644
--- a/packages/addresses/src/__tests__/address-test.ts
+++ b/packages/addresses/src/__tests__/address-test.ts
@@ -24,6 +24,97 @@ const originalGetBase58Encoder = origi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new try/catch block in isAddress is verbose and should be simplified to return base58Encoder.encode(putativeAddress).byteLength === 32 inside try with a bare catch returning false.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-foundation__solana-web3.js__3290 | solana-foundation/solana-web3.js | 3,290 | defect | 7a599f0963053102872f7fbd6368698fe132e241 | 319e0d84bbcc9c72ffc722628551211e5803bd4b | Throw if the transaction fails when simulated to estimate CUs | When we simulate a transaction and it fails in simulation, we get a `unitsConsumed` field but it will be based on how many CUs the transaction took to error. Supposing the transaction is successful later, the CU limit returned by this simulation is probably not helpful.
Currently if you use the function from `getCom... | diff --git a/.changeset/swift-clocks-occur.md b/.changeset/swift-clocks-occur.md
new file mode 100644
index 000000000000..ccaee52ac68c
--- /dev/null
+++ b/.changeset/swift-clocks-occur.md
@@ -0,0 +1,5 @@
+---
+'@solana/web3.js': patch
+---
+
+Return the transaction error when estimating CUs
diff --git a/packages/librar... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of returning a result object carrying the transaction error, the function should throw a new SolanaError whose cause is the TransactionError and whose context includes the units consumed, so callers get a loud failure even if they are unaware of the transactionError field.", "category": ... | null |
solana-foundation__solana-web3.js__3309 | solana-foundation/solana-web3.js | 3,309 | defect | 417c9c0b370bb119c4f763db0f4cde7610768f17 | fd5fc496867f9f14a58a9e32a2567a88f2d1e3fd | A channel augmenter that encodes and decodes messages as JSON | # Summary
The new web socket channel speaks in strings/buffers. For general use in the JSON RPC Subscriptions API we need it to take in JavaScript objects, send JSON strings over the wire, and parse the strings that come back as JSON.
This is a higher-order component that wraps a `RpcSubscriptionsChannel` that speaks... | diff --git a/.changeset/neat-cows-shop.md b/.changeset/neat-cows-shop.md
new file mode 100644
index 000000000000..b781c5dd7c18
--- /dev/null
+++ b/.changeset/neat-cows-shop.md
@@ -0,0 +1,5 @@
+---
+'@solana/subscribable': patch
+---
+
+Creates a package for working with subscribable data sources like event targets. Fro... | 1 | 1 | 0 | [{"id": "G0", "claim": "The returned channel object in getRpcSubscriptionsChannelWithJSONSerialization should be wrapped in Object.freeze, since the inner channel is destructured/spread into the returned object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-foundation__solana-web3.js__3310 | solana-foundation/solana-web3.js | 3,310 | defect | 417c9c0b370bb119c4f763db0f4cde7610768f17 | 1b2a7ce074c3ccff84de852eb59b7eb340efc7a2 | A channel pool | # Summary
This is a special `RpcSubscriptionsChannelCreator` that creates a pool of underlying channels up to `minChannels`, reuses them evenly up to `maxSubscriptionsPerChannel`, and tears the channels down when all of its subscribers abort.
| diff --git a/.changeset/neat-cows-shop.md b/.changeset/neat-cows-shop.md
new file mode 100644
index 000000000000..b781c5dd7c18
--- /dev/null
+++ b/.changeset/neat-cows-shop.md
@@ -0,0 +1,5 @@
+---
+'@solana/subscribable': patch
+---
+
+Creates a package for working with subscribable data sources like event targets. Fro... | 2 | 1 | 0 | [{"id": "G0", "claim": "The tie-break in recomputeFreeChannelIndex only honours the rotation principle when the channel immediately to the current one's right is part of the tie (e.g. A(5),B(5),C(1),D(1) would pick D over C), so the reviewer suggests iterating with `ii + 1` and a strict greater-than, or — since the sce... | null |
solana-foundation__solana-web3.js__3311 | solana-foundation/solana-web3.js | 3,311 | defect | 417c9c0b370bb119c4f763db0f4cde7610768f17 | d64199d9086f4a66af423c7fd8579264802d96de | A channel message demultiplexer | # Summary
In this PR, we create an efficient way of fanning notifications out to the subscribers that care about them. Instead of making _every_ subscriber responsible for transforming the response and dropping the ones it's not interested in, we make this demultiplexer transform the payload at the source, and publish... | diff --git a/.changeset/neat-cows-shop.md b/.changeset/neat-cows-shop.md
new file mode 100644
index 000000000000..b781c5dd7c18
--- /dev/null
+++ b/.changeset/neat-cows-shop.md
@@ -0,0 +1,5 @@
+---
+'@solana/subscribable': patch
+---
+
+Creates a package for working with subscribable data sources like event targets. Fro... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since demultiplexDataPublisher is a DataPublisher-to-DataPublisher function, it would make more sense for it to live under @solana/subscribable, where DataPublisher is defined, rather than in rpc-subscriptions-spec.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
solana-foundation__solana-web3.js__3419 | solana-foundation/solana-web3.js | 3,419 | defect | 6bbf467e1f2972590109ab82583f3196b0363f0a | c082afab693870879de2467a9f6366dcfbb28630 | feat: Agave v2 RPC: replace `getRecentBlockhash` with `getLatestBlockhash` | #### Problem
With the upcoming upgrade from 1.18 to 2.0 on Solana mainnet-beta, deprecated RPC methods have been removed, therefore they will no longer be available through Web3.js client requests.
The [Agave 2.0 Migration Guide](https://github.com/anza-xyz/agave/wiki/Agave-v2.0-Transition-Guide) lists semi-equival... | diff --git a/src/connection.ts b/src/connection.ts
index 950a4a808f21..58d61f4c2cc7 100644
--- a/src/connection.ts
+++ b/src/connection.ts
@@ -2599,20 +2599,6 @@ const GetParsedTransactionRpcResult = jsonRpcResult(
),
);
-/**
- * Expected JSON RPC response for the "getRecentBlockhash" message
- *
- * @deprecated ... | 3 | 1 | 0 | [{"id": "G0", "claim": "The backward-compatibility approach for the deprecated `getRecentBlockhash` field is wrong — mcintyre94 prefers dropping the deprecated method or, failing that, hardcoding `lamportsPerSignature` to 5000.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, ... | null |
solana-foundation__solana-web3.js__3480 | solana-foundation/solana-web3.js | 3,480 | defect | 3834d82eb1dd150f261612d742c3105194689c13 | 42ab4396ec35e89c105d96ded582d7d51e87d4fc | Wrap `feePayer` attribute in an object | This PR changes the `feePayer` type for transaction messages from `Address` to `{ address: Address }`. This allows us, in a follow-up PR, to use the same `feePayer` attribute to store `TransactionSigners` which, in turn, allows us to override `TransactionSigners` with non-signer fee payers and vice-versa.
Addresses ... | diff --git a/.changeset/red-moose-flash.md b/.changeset/red-moose-flash.md
new file mode 100644
index 000000000000..09c7f25493c6
--- /dev/null
+++ b/.changeset/red-moose-flash.md
@@ -0,0 +1,5 @@
+---
+'@solana/transaction-messages': patch
+---
+
+Change `feePayer` type of transaction messages from `Address` to `{ addre... | 2 | 1 | 0 | [{"id": "G0", "claim": "In setTransactionMessageFeePayer, order the conditions of the early-return check cheap-first and run the more elaborate isAddressOnlyFeePayer last, since the expression short-circuits on a false outcome.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"... | null |
solana-foundation__solana-web3.js__3507 | solana-foundation/solana-web3.js | 3,507 | defect | f802b8e38972c452c773347bde4e6b5efe6236cd | 15109829d4d76fad778d48fd2909f048de31ea7d | Use string for RPC message IDs | - Still an autoincrementing integer, but sent to the server as a string
- This means the server will return it to us as a string, and we don't need to worry about number/bigint upcasting
- This fixes the bug in subscriptions, caused by upcasting the ID to a bigint
<img width="329" alt="Screenshot 2024-10-31 at 16 ... | diff --git a/packages/rpc-spec-types/src/__tests__/rpc-message-test.ts b/packages/rpc-spec-types/src/__tests__/rpc-message-test.ts
index 671c8e66ec12..a4a90b6a4d2f 100644
--- a/packages/rpc-spec-types/src/__tests__/rpc-message-test.ts
+++ b/packages/rpc-spec-types/src/__tests__/rpc-message-test.ts
@@ -5,12 +5,12 @@ des... | 2 | 2 | 0 | [{"id": "G0", "claim": "Back the RPC message ID counter with a bigint instead of wrapping it in a ring of MAX_SAFE_INTEGER.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a changeset to the pull request (via pnpm changeset).", "category": "document... | null |
solana-program__config__16 | solana-program/config | 16 | defect | a7fef8e630cc03355c88cda7826d0297b00973b1 | 5b000cfd1cef2d01a6e47d057e594d0b4d2dc0e4 | program: safe deserialize config keys | #### Problem
Working with the Firedancer conformance suite revealed a relatively inconsequential control flow mismatch between the BPF version of the Config program and its original builtin version.
The `limited_deserialize` function is designed to stop deserialization at some input buffer length cap, but it _does ... | diff --git a/program/benches/compute_units.md b/program/benches/compute_units.md
index 5ffd045..b95870b 100644
--- a/program/benches/compute_units.md
+++ b/program/benches/compute_units.md
@@ -1,3 +1,44 @@
+#### Compute Units: 2024-10-31 17:22:37.667457 UTC
+
+| Name | CUs | Delta |
+|------|------|-------|
+| config_s... | 2 | 1 | 0 | [{"id": "G0", "claim": "The hard-coded limits (1232, 0x25) and the arithmetic explained only in comments should be replaced with named constants computed by const math, so the maximum vector size is calculated and checked in code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
solana-program__config__21 | solana-program/config | 21 | defect | e2024b2d44987028491d33cafb8838c05ce513d0 | ae604b44a3711c5083ec014389f42cdd5dd9e4a3 | Program: add custom error codes for readonly writes | #### Problem
Working more with the Firedancer conformance harness, yet another inconsequential mismatch between the BPF version and its original builtin version has popped up.
When a builtin program attempts to write to an executable or read-only account, it will be immediately rejected by the `TransactionContext`.... | diff --git a/Cargo.lock b/Cargo.lock
index 0af8e60..02b3e5d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3842,9 +3842,12 @@ dependencies = [
"bincode",
"mollusk-svm",
"mollusk-svm-bencher",
+ "num-derive 0.4.2",
+ "num-traits",
"serde",
"solana-program",
"solana-sdk",
+ "thiserror",
]
[[package]]
diff -... | 1 | 1 | 0 | [{"id": "G0", "claim": "The executable check cannot be triggered (config accounts can't be marked executable and the owner is checked earlier), so prefer dropping it and skipping the FD fixtures that create executable config accounts.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
solana-program__config__47 | solana-program/config | 47 | defect | 8a53769ac69ba7b589e6c19ca5a7956228740a3f | c2c926bc498d02674048ee5f11928bed8dfffafa | Add interface crate | Moving from https://github.com/anza-xyz/solana-sdk/pull/123 | diff --git a/Cargo.lock b/Cargo.lock
index c46ebad..d4b7976 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3675,6 +3675,22 @@ dependencies = [
"solana-sdk-ids",
]
+[[package]]
+name = "solana-config-interface"
+version = "1.0.0"
+dependencies = [
+ "bincode",
+ "serde",
+ "serde_derive",
+ "solana-account",
+ "solan... | 9 | 7 | 1 | [{"id": "G0", "claim": "Rename interface/src/config_instruction.rs to instruction.rs.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The initialize_account and store functions in config_instruction.rs also need to be gated on the bincode feature... | null |
solana-program__config__6 | solana-program/config | 6 | defect | 6ee87447544c66a7273c005655a34b516f436cf1 | d1b7f7339f218f8cc8763b0b94aa58ee09665876 | Benchmarking Compute Units | Benchmarking compute unit usage for the BPF implementation of the
Config program using [Mollusk](https://github.com/buffalojoec/mollusk).
Mollusk's CU bencher is designed to profile compute unit usage for a series
of benchmark instructions.
The bencher will only write a new table to the markdown file if CU usag... | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d82abc3..89c4009 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -109,6 +109,38 @@ jobs:
- name: Test Programs
run: pnpm programs:test
+ bench_program_compute_units:
+ name: Benchmark Program Com... | 7 | 4 | 0 | [{"id": "G0", "claim": "The new CI benchmark job runs `cargo bench` (via `pnpm programs:bench`), but it looks like it needs `cargo bench-sbf` to build and run the SBF benches.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use checked arithmetic wit... | null |
solana-program__config__63 | solana-program/config | 63 | defect | 318c693c84e7914a93198ef24640eb7ab8266f3f | 142650e3a9a1be5da276af6fab884ad82291ce1d | CI: Move repo to a (newer) Makefile | #### Problem
Although the config repo is already using a Makefile, it is still using its own github workflows and scripts.
#### Summary of changes
Unify everything by using the Makefile and scripts from the ALT repo. Similar to others, this removes the `bpf-entrypoint` and `test-sbf` features, renames the prog... | diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
deleted file mode 100644
index 8661b4d..0000000
--- a/.github/actions/setup/action.yml
+++ /dev/null
@@ -1,120 +0,0 @@
-name: Setup environment
-
-inputs:
- cargo-cache-key:
- description: The key to cache cargo dependencies. Skips car... | 2 | 2 | 2 | [{"id": "G0", "claim": "The publish-js workflow should pass \"program\" rather than \"program confidential-elgamal-registry\" as sbpf-program-packages.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The publish-rust workflow should pass \"program\" ... | null |
solana-program__system__40 | solana-program/system | 40 | defect | 4414f5110913a139d14ebcfd957fd1e804ca529f | a98f7cc131fd3063fa0a2722008ec6bff92ff4c1 | processor: allocate | This PR implements the `Allocate` instruction processor in the BPF version of the System builtin program.
See #38 for a draft overview of the implemented base processor (no nonce instructions).
---
As you can see from the comment within the `allocate` function in the processor, we have immediately encountered ... | diff --git a/Cargo.lock b/Cargo.lock
index 2319b74..35848c2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1999,6 +1999,18 @@ dependencies = [
"libsecp256k1-core",
]
+[[package]]
+name = "light-poseidon"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3c9a85a9752c549... | 4 | 2 | 0 | [{"id": "G0", "claim": "Avoid reallocations by sizing the signer collection up front (e.g. with_capacity) and, better, avoid using a std::collections::HashSet for it.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "End the function with info.realloc(... | null |
solana-program__system__43 | solana-program/system | 43 | defect | ac2a9d3c71e2897e907b5f76bce17b21c709c26d | f7d6ec1a0f7f0d06233662f6f079977dc0d95c72 | processor: allocate with seed | This PR implements the `AllocateWithSeed` instruction processor in the BPF version of the System builtin program.
See #38 for a draft overview of the implemented base processor (no nonce instructions). | diff --git a/program/src/processor.rs b/program/src/processor.rs
index bd87448..12cefcb 100644
--- a/program/src/processor.rs
+++ b/program/src/processor.rs
@@ -25,22 +25,37 @@ macro_rules! accounts {
// Represents an address that may or may not have been generated from a seed.
struct AddressInfo<'a, 'b> {
info:... | 2 | 1 | 0 | [{"id": "G0", "claim": "The base-key vs base-account check is embedded in is_signer() and fails silently instead of raising an error, and the reviewer asks whether a standalone check that raises an error on mismatch would make more sense, or whether the migration objective forbids any business-logic change.", "category... | null |
solana-program__token-2022__1051 | solana-program/token-2022 | 1,051 | defect | e444f4c7ab03f3a27309bdca40e07c25f9b4c771 | 84a0cb03e5f5d172b293a71f1a1bc94f1d6f6102 | program: Check that mint destination is non-transferable | #### Problem
As described in #1036, if someone creates a mint with a close authority, then creates an account, then closes the mint, then recreates it as non-transferable, it's possible for the previously created account to transfer tokens.
#### Summary of changes
While we can't prevent every mint reinitializa... | diff --git a/clients/rust-legacy/tests/non_transferable.rs b/clients/rust-legacy/tests/non_transferable.rs
index 5fd2e7092..f753a95e5 100644
--- a/clients/rust-legacy/tests/non_transferable.rs
+++ b/clients/rust-legacy/tests/non_transferable.rs
@@ -1,7 +1,8 @@
mod program_test;
use {
- program_test::{TestContext, ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The comment above the non-transferable minting check should also mention the extra non-transferable-extension condition.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The NonTransferableNeedsImmutableOwnership error is no ... | null |
solana-program__token-2022__1061 | solana-program/token-2022 | 1,061 | defect | a27dccd03da01b1f9e038361e8fbe25db7a722c9 | d179866735926ae5f02a56ad6561e46578bee23f | program: Add delegate support to `unwrap_lamports` | ### Problem
Currently it is not possible to use a delegate to `unwrap_lamports`.
### Solution
Add delegate support to `unwrap_lamports`. The delegate implementation works similarly to how it works on `transfer`:
* delegates can only unwrap up to the amount delegated
* when the delegated amount reaches 0, the... | diff --git a/clients/rust-legacy/tests/unwrap_lamports.rs b/clients/rust-legacy/tests/unwrap_lamports.rs
index 7cabacc2d..b990862f2 100644
--- a/clients/rust-legacy/tests/unwrap_lamports.rs
+++ b/clients/rust-legacy/tests/unwrap_lamports.rs
@@ -424,3 +424,182 @@ async fn self_owned_with_extensions() {
context.init... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the explicit `delegated_amount < amount` check, since the `checked_sub` already covers it, and instead map a failed `checked_sub` to `TokenError::InsufficientFunds`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
solana-program__token-2022__172 | solana-program/token-2022 | 172 | defect | fccc4644e13457a702df3a8246304bdbb7d61bba | 8056c318fffca0022d2f40ee1145dcf6c23816e0 | [program] Account for the confidential transfer fee extension when re-allocating during configure account | #### Problem
When configuring a new confidential transfer account with `ConfigureAccountWithRegistry`, it does not reallocate space for the confidential transfer with fee even when the mint is extended for transfer fees.
More details in https://github.com/solana-program/token-2022/issues/129.
#### Summary of Cha... | diff --git a/clients/rust-legacy/tests/confidential_transfer_fee.rs b/clients/rust-legacy/tests/confidential_transfer_fee.rs
index 6b447e506..3b104ea16 100644
--- a/clients/rust-legacy/tests/confidential_transfer_fee.rs
+++ b/clients/rust-legacy/tests/confidential_transfer_fee.rs
@@ -8,15 +8,17 @@ use {
pubkey... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test creates an auxiliary token account with ConfidentialTransferAccount extension space whose purpose is unclear and appears unnecessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test should additionally as... | null |
solana-program__token-2022__173 | solana-program/token-2022 | 173 | defect | 2e799e313d22e6191d9477634261e50b55cb5d95 | 4c96d82253296cc20d7f8a754ff3a5c798568aa8 | [program] Re-order confidential mint burn ciphertexts to dest/src, supply, then auditor | #### Problem
Auditor ciphertexts for the confidential mint and burn amounts were added to instruction data in https://github.com/solana-labs/solana-program-library/pull/7480. In the processor logic for confidential mint and burn, the auditor ciphertext that is included in the instruction data should be checked whether... | diff --git a/confidential-transfer/proof-extraction/src/burn.rs b/confidential-transfer/proof-extraction/src/burn.rs
index dbfa6d1e8..daa02ebd5 100644
--- a/confidential-transfer/proof-extraction/src/burn.rs
+++ b/confidential-transfer/proof-extraction/src/burn.rs
@@ -12,8 +12,8 @@ use {
/// The public keys associated... | 2 | 2 | 2 | [{"id": "G0", "claim": "After the reordering, the processor should be using the ciphertexts at position 1 (the supply ciphertexts) instead of position 2 when updating the encrypted supply in process_confidential_mint and process_confidential_burn.", "category": "correctness", "verdict": "supported", "priority": "P0", "... | null |
solana-program__token-2022__471 | solana-program/token-2022 | 471 | defect | 39b468c4940d752be250fe2385cc88996842daba | b5a4e7a72631dcea053a85cc1f745d8014d79b9b | add pending balance and tests for confidetial transfer extension | #### Summary
This PR introduces a new helper for querying and decrypting the pending balance of a confidential token account, and adds comprehensive tests for confidential transfer account info logic.
#### Changes
- Adds `get_pending_balance` and related helpers to `ApplyPendingBalanceAccountInfo`.
- Adds rob... | diff --git a/program/src/extension/confidential_transfer/account_info.rs b/program/src/extension/confidential_transfer/account_info.rs
index 672a80289..0385a5b87 100644
--- a/program/src/extension/confidential_transfer/account_info.rs
+++ b/program/src/extension/confidential_transfer/account_info.rs
@@ -140,6 +140,47 @... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add functions to the rust-legacy token client for decrypting pending and available balance, and for consistency move the tests added in the program crate into the rust-legacy client tests using those functions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.