Skip to content

Conversation

@lordshashank
Copy link
Contributor

This pull request makes a targeted fix in the StorageContext class to ensure the correct address is used when creating a new dataset. Specifically, it changes the logic to consistently use the clientAddress instead of the signerAddress when retrieving the next client dataset ID. This helps prevent potential mismatches or errors related to address usage.

  • Address usage correction:
    • Updated the call to warmStorageService.getNextClientDataSetId to use clientAddress instead of signerAddress in the StorageContext class, ensuring consistency and correctness in dataset ID assignment.

@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Oct 10, 2025
@github-project-automation github-project-automation bot moved this from 📌 Triage to ✔️ Approved by reviewer in FS Oct 10, 2025
@wjmelements wjmelements merged commit 7320c2b into FilOzone:master Oct 10, 2025
9 of 10 checks passed
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FS Oct 10, 2025
wjmelements added a commit that referenced this pull request Oct 11, 2025
* fix: Use clientAddress for next dataset ID (#299)

fix: resolves bug of using client address instead of signer for datsetId lookup

* chore(master): release synapse-sdk 0.31.1 (#300)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* update abi and fix tests

* remove cdnEndEpoch from type

* Update packages/synapse-sdk/wagmi.config.ts

Co-authored-by: Rod Vagg <rod@vagg.org>

---------

Co-authored-by: Shashank Trivedi <100513286+lordshashank@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
rvagg pushed a commit that referenced this pull request Oct 14, 2025
fix: resolves bug of using client address instead of signer for datsetId lookup
rvagg added a commit that referenced this pull request Oct 22, 2025
* fix: Use clientAddress for next dataset ID (#299)

fix: resolves bug of using client address instead of signer for datsetId lookup

* chore(master): release synapse-sdk 0.31.1 (#300)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* update abi and fix tests

* remove cdnEndEpoch from type

* Update packages/synapse-sdk/wagmi.config.ts

Co-authored-by: Rod Vagg <rod@vagg.org>

---------

Co-authored-by: Shashank Trivedi <100513286+lordshashank@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
rvagg added a commit that referenced this pull request Oct 22, 2025
* fix: Use clientAddress for next dataset ID (#299)

fix: resolves bug of using client address instead of signer for datsetId lookup

* chore(master): release synapse-sdk 0.31.1 (#300)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* update abi and fix tests

* remove cdnEndEpoch from type

* Update packages/synapse-sdk/wagmi.config.ts

Co-authored-by: Rod Vagg <rod@vagg.org>

---------

Co-authored-by: Shashank Trivedi <100513286+lordshashank@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
rvagg added a commit that referenced this pull request Oct 28, 2025
* fix: Use clientAddress for next dataset ID (#299)

fix: resolves bug of using client address instead of signer for datsetId lookup

* chore(master): release synapse-sdk 0.31.1 (#300)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* update abi and fix tests

* remove cdnEndEpoch from type

* Update packages/synapse-sdk/wagmi.config.ts

Co-authored-by: Rod Vagg <rod@vagg.org>

---------

Co-authored-by: Shashank Trivedi <100513286+lordshashank@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rod Vagg <rod@vagg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants