Skip to content

Conversation

@kgmyatthu
Copy link
Contributor

No description provided.

kgmyatthu and others added 30 commits December 1, 2025 23:50
This reverts commit be701d7.
… of service (#16)

* chore: Add buffer size limit

The code changes introduce a buffer size limit for sender, tracker, header, and verification data in the shardus_net module. If any of these data exceed the limit of 2 KB, an error message will be logged. This ensures that the data being processed does not exceed the specified size limit, preventing potential issues with memory allocation and performance.

* feat : multi_send_with_header test

chore : rename file with extension

* chore : formatting fix was left out for existing file

* feat : refactor changes and add unit tests

chore : fix variable input

* refactor: improve variable size checks and enhance test structure

* chore : add imports and fix test case

* feat : add limit on sender_id
* feat: add payload size limit to SnOpts type and update Sn function to use the provided limit

* Add additional network param as shardus config

* Make sender id constant

* Make sign params constant

* Update tests

* Update test files

* Fix test_multi_send bug

* Move payload and header sizes under same config

* Update test file

* Remove unnecessary clone for NetConfig
optimized sender

fixed 2 bugs with socket errors
* SHARD-2019 - Prettier lib-net

* Update prettier

* Prettier'd
@kgmyatthu kgmyatthu requested a review from thantsintoe December 1, 2025 18:11
@kgmyatthu kgmyatthu self-assigned this Dec 1, 2025
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

Failed to generate code suggestions for PR

@kgmyatthu kgmyatthu merged commit 2ccba3f into dev Dec 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.