Skip to content

Conversation

@wjmelements
Copy link
Contributor

Reviewers @hugomrdias @Kubuxu @rvagg

Changes

wjmelements and others added 15 commits October 23, 2025 00:06
* randIndex

* update _encodeDataSetCreateData

* add failing randIndex test

* fix test

* always test the fallback methods

* test rand 256

* use bigint literal

* randU256

* fallbackRandU256

* export rand functions in index.ts
* 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 <[email protected]>

---------

Co-authored-by: Shashank Trivedi <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rod Vagg <[email protected]>
chore: update for M3 contracts

chore: update for M3 contracts
* feat: create low-level create-and-add API

Signed-off-by: Jakub Sztandera <[email protected]>

* add doc strings

Signed-off-by: Jakub Sztandera <[email protected]>

---------

Signed-off-by: Jakub Sztandera <[email protected]>
core updated to new contracts
@wjmelements wjmelements requested review from Kubuxu and rvagg October 27, 2025 20:16
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Oct 27, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 27, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
synapse-dev adb3820 Commit Preview URL

Branch Preview URL
Oct 27 2025, 11:46 PM

@wjmelements
Copy link
Contributor Author

line count is inflated because wagmi sorts the abis by name, and the name of the Payments contract changed.

capabilityValues.push('0x01')
}
capabilityKeys.push('storagePricePerTibPerDay')
capabilityValues.push(`0x${pdpOffering.storagePricePerTibPerDay.toString(16)}`)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work because the bytes values need to be of even length.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will use bytesToHex(toBytes

@wjmelements
Copy link
Contributor Author

getProvidersByProductType might be the only thing not yet done. It needs the new bool parameter.

I'm done for today. Will resume this tomorrow.

*/
async getPDPService(providerId: number): Promise<PDPServiceInfo | null> {
try {
//try {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the main reason I haven't ran lint yet. Hoping to keep this removed until the tests pass, as otherwise it might mask some errors with the new code.

Base automatically changed from next to master October 28, 2025 04:25
@Kubuxu
Copy link
Contributor

Kubuxu commented Oct 28, 2025

FYI Rod took it over: #361

@wjmelements
Copy link
Contributor Author

getProvidersByProductType might be the only thing not yet done. It needs the new bool parameter.

This was not completed in #361. I presume it does not work.

@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in FS Oct 28, 2025
@wjmelements
Copy link
Contributor Author

getProvidersByProductType might be the only thing not yet done. It needs the new bool parameter.

This was not completed in #361. I presume it does not work.

#364

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.

8 participants