Skip to content

Main --> Staging#836

Closed
ericvelazquez wants to merge 8 commits into
stagingfrom
main
Closed

Main --> Staging#836
ericvelazquez wants to merge 8 commits into
stagingfrom
main

Conversation

@ericvelazquez
Copy link
Copy Markdown
Contributor

No description provided.

tsite and others added 8 commits September 9, 2025 09:57
* Add Softstack audit reports

* Add content to repo readme linking to audits

* Update readme

* Add remaining Oak audits
* Add staging branch to gh workflows (#783)

* Add staging branch to gh workflows

* Add staging to remaining workflows

* Add staging to rust-ci workflow

* feat: appchain pool contract (#747)

* Add splitter contract and update BasePool

* Add admin functions for updating splits/pool addresses

* CHANGED MY MIND: use deadsimple/non updatable splitter contract

* Update percentages, fix redudant calculations, and refactor interface

* feat: appchainpool contract

* add appchainpool test

* update appchain pool

* bindings

* bindings

* WIP

* IUserPool

* updates and TODOs

* updates and TODOs

* update Appchain pool + tests

* update factory

* update test file

* update test file

* reviews update

* update contract and tests

* update contract and tests

* update remapping

---------

Co-authored-by: Isaac <isaac@syndicate.io>

* feat: appchain pool vesting schedule (#785)

* feat: appchain pool vesting schedule

* feat: appchain pool vesting schedule

* update tests and bindings

* rm comments

* pr review

* pr review

* bindings

* bindings

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#789)

* feat: staking performance pool (#786)

* feat: staking performance pool

* refactor into shared contract

* refactor into shared contract

* update

* update comment

* update certora spec

* add PerformancePoolTest

* add reentrant modifier

* update commons config in docs (#787)

* Refactor emissions interface for usability (#792)

* Change the way the epoch index is passed to emissions scheduler

* Rebuild

* simplify function even more

* fix test

* remove lock diff

* Maestro force-restart if no RPCs available on startup (#796)

* Maestro force-restart if no RPCs available on startup

* explicit pattern matching

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* explicit pattern matching

---------

Co-authored-by: Daniil R <daniil@syndicate.io>

* fix: remove payable modifier in stageStakeTransfer (#798)

* doc: Division Precision Loss in Reward Calculation documentation (#797)

* fix: [h-04] revert on zero address destination (#795)

* enclave: Improve server middleware (#794)

Ticket
Related Linear Ticket: SEQ-1344, SEQ-1343
What does this PR do?
Summary:
process requests sequentially
cache proof generation requests that time out
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
it can be tested manually prior to merging

* chore(deps-dev): bump axios (#799)

Bumps the npm_and_yarn group with 1 update in the /use-cases/lib/openzeppelin-contracts directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.12.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix M-03 (#800)

* Fix M-03

* make -C shared create-contract-bindings

* H02 Missing Finalization for Destination Appchain (#801)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eric Velazquez <ericvelmar95@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Kristina Fischer <158780688+squibwarb@users.noreply.github.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>
* Add staging branch to gh workflows (#783)

* Add staging branch to gh workflows

* Add staging to remaining workflows

* Add staging to rust-ci workflow

* feat: appchain pool contract (#747)

* Add splitter contract and update BasePool

* Add admin functions for updating splits/pool addresses

* CHANGED MY MIND: use deadsimple/non updatable splitter contract

* Update percentages, fix redudant calculations, and refactor interface

* feat: appchainpool contract

* add appchainpool test

* update appchain pool

* bindings

* bindings

* WIP

* IUserPool

* updates and TODOs

* updates and TODOs

* update Appchain pool + tests

* update factory

* update test file

* update test file

* reviews update

* update contract and tests

* update contract and tests

* update remapping

---------

Co-authored-by: Isaac <isaac@syndicate.io>

* feat: appchain pool vesting schedule (#785)

* feat: appchain pool vesting schedule

* feat: appchain pool vesting schedule

* update tests and bindings

* rm comments

* pr review

* pr review

* bindings

* bindings

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#789)

* feat: staking performance pool (#786)

* feat: staking performance pool

* refactor into shared contract

* refactor into shared contract

* update

* update comment

* update certora spec

* add PerformancePoolTest

* add reentrant modifier

* update commons config in docs (#787)

* Refactor emissions interface for usability (#792)

* Change the way the epoch index is passed to emissions scheduler

* Rebuild

* simplify function even more

* fix test

* remove lock diff

* Maestro force-restart if no RPCs available on startup (#796)

* Maestro force-restart if no RPCs available on startup

* explicit pattern matching

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* explicit pattern matching

---------

Co-authored-by: Daniil R <daniil@syndicate.io>

* fix: remove payable modifier in stageStakeTransfer (#798)

* doc: Division Precision Loss in Reward Calculation documentation (#797)

* fix: [h-04] revert on zero address destination (#795)

* enclave: Improve server middleware (#794)

Ticket
Related Linear Ticket: SEQ-1344, SEQ-1343
What does this PR do?
Summary:
process requests sequentially
cache proof generation requests that time out
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
it can be tested manually prior to merging

* chore(deps-dev): bump axios (#799)

Bumps the npm_and_yarn group with 1 update in the /use-cases/lib/openzeppelin-contracts directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.12.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix M-03 (#800)

* Fix M-03

* make -C shared create-contract-bindings

* H02 Missing Finalization for Destination Appchain (#801)

* fix server build: remove submodule dependency (#806)

Ticket
Related Linear Ticket: SEQ-1361
What does this PR do?
Summary:
the stock go-ethereum package version works for the server - use that instead of the submodule
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
publish to s3 workflow

* fix go.mod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sam Mason de Caires <sam.jbmason@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Kristina Fischer <158780688+squibwarb@users.noreply.github.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>
* Add staging branch to gh workflows (#783)

* Add staging branch to gh workflows

* Add staging to remaining workflows

* Add staging to rust-ci workflow

* feat: appchain pool contract (#747)

* Add splitter contract and update BasePool

* Add admin functions for updating splits/pool addresses

* CHANGED MY MIND: use deadsimple/non updatable splitter contract

* Update percentages, fix redudant calculations, and refactor interface

* feat: appchainpool contract

* add appchainpool test

* update appchain pool

* bindings

* bindings

* WIP

* IUserPool

* updates and TODOs

* updates and TODOs

* update Appchain pool + tests

* update factory

* update test file

* update test file

* reviews update

* update contract and tests

* update contract and tests

* update remapping

---------

Co-authored-by: Isaac <isaac@syndicate.io>

* feat: appchain pool vesting schedule (#785)

* feat: appchain pool vesting schedule

* feat: appchain pool vesting schedule

* update tests and bindings

* rm comments

* pr review

* pr review

* bindings

* bindings

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#789)

* feat: staking performance pool (#786)

* feat: staking performance pool

* refactor into shared contract

* refactor into shared contract

* update

* update comment

* update certora spec

* add PerformancePoolTest

* add reentrant modifier

* update commons config in docs (#787)

* Refactor emissions interface for usability (#792)

* Change the way the epoch index is passed to emissions scheduler

* Rebuild

* simplify function even more

* fix test

* remove lock diff

* Maestro force-restart if no RPCs available on startup (#796)

* Maestro force-restart if no RPCs available on startup

* explicit pattern matching

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* explicit pattern matching

---------

Co-authored-by: Daniil R <daniil@syndicate.io>

* fix: remove payable modifier in stageStakeTransfer (#798)

* doc: Division Precision Loss in Reward Calculation documentation (#797)

* fix: [h-04] revert on zero address destination (#795)

* enclave: Improve server middleware (#794)

Ticket
Related Linear Ticket: SEQ-1344, SEQ-1343
What does this PR do?
Summary:
process requests sequentially
cache proof generation requests that time out
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
it can be tested manually prior to merging

* chore(deps-dev): bump axios (#799)

Bumps the npm_and_yarn group with 1 update in the /use-cases/lib/openzeppelin-contracts directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.12.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix M-03 (#800)

* Fix M-03

* make -C shared create-contract-bindings

* H02 Missing Finalization for Destination Appchain (#801)

* fix server build: remove submodule dependency (#806)

Ticket
Related Linear Ticket: SEQ-1361
What does this PR do?
Summary:
the stock go-ethereum package version works for the server - use that instead of the submodule
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
publish to s3 workflow

* Merge main into staging (#811)

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#790)

duplicate of #789 for the main branch

* Add Softstack & Oak audit reports (#788)

* Add Softstack audit reports

* Add content to repo readme linking to audits

* Update readme

* Add remaining Oak audits

* Merge staging to main for V1.0.1 RC (#803)

* Add staging branch to gh workflows (#783)

* Add staging branch to gh workflows

* Add staging to remaining workflows

* Add staging to rust-ci workflow

* feat: appchain pool contract (#747)

* Add splitter contract and update BasePool

* Add admin functions for updating splits/pool addresses

* CHANGED MY MIND: use deadsimple/non updatable splitter contract

* Update percentages, fix redudant calculations, and refactor interface

* feat: appchainpool contract

* add appchainpool test

* update appchain pool

* bindings

* bindings

* WIP

* IUserPool

* updates and TODOs

* updates and TODOs

* update Appchain pool + tests

* update factory

* update test file

* update test file

* reviews update

* update contract and tests

* update contract and tests

* update remapping

---------

Co-authored-by: Isaac <isaac@syndicate.io>

* feat: appchain pool vesting schedule (#785)

* feat: appchain pool vesting schedule

* feat: appchain pool vesting schedule

* update tests and bindings

* rm comments

* pr review

* pr review

* bindings

* bindings

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#789)

* feat: staking performance pool (#786)

* feat: staking performance pool

* refactor into shared contract

* refactor into shared contract

* update

* update comment

* update certora spec

* add PerformancePoolTest

* add reentrant modifier

* update commons config in docs (#787)

* Refactor emissions interface for usability (#792)

* Change the way the epoch index is passed to emissions scheduler

* Rebuild

* simplify function even more

* fix test

* remove lock diff

* Maestro force-restart if no RPCs available on startup (#796)

* Maestro force-restart if no RPCs available on startup

* explicit pattern matching

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* explicit pattern matching

---------

Co-authored-by: Daniil R <daniil@syndicate.io>

* fix: remove payable modifier in stageStakeTransfer (#798)

* doc: Division Precision Loss in Reward Calculation documentation (#797)

* fix: [h-04] revert on zero address destination (#795)

* enclave: Improve server middleware (#794)

Ticket
Related Linear Ticket: SEQ-1344, SEQ-1343
What does this PR do?
Summary:
process requests sequentially
cache proof generation requests that time out
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
it can be tested manually prior to merging

* chore(deps-dev): bump axios (#799)

Bumps the npm_and_yarn group with 1 update in the /use-cases/lib/openzeppelin-contracts directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.12.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix M-03 (#800)

* Fix M-03

* make -C shared create-contract-bindings

* H02 Missing Finalization for Destination Appchain (#801)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eric Velazquez <ericvelmar95@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Kristina Fischer <158780688+squibwarb@users.noreply.github.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>

* Merge staging into main (#808)

* Add staging branch to gh workflows (#783)

* Add staging branch to gh workflows

* Add staging to remaining workflows

* Add staging to rust-ci workflow

* feat: appchain pool contract (#747)

* Add splitter contract and update BasePool

* Add admin functions for updating splits/pool addresses

* CHANGED MY MIND: use deadsimple/non updatable splitter contract

* Update percentages, fix redudant calculations, and refactor interface

* feat: appchainpool contract

* add appchainpool test

* update appchain pool

* bindings

* bindings

* WIP

* IUserPool

* updates and TODOs

* updates and TODOs

* update Appchain pool + tests

* update factory

* update test file

* update test file

* reviews update

* update contract and tests

* update contract and tests

* update remapping

---------

Co-authored-by: Isaac <isaac@syndicate.io>

* feat: appchain pool vesting schedule (#785)

* feat: appchain pool vesting schedule

* feat: appchain pool vesting schedule

* update tests and bindings

* rm comments

* pr review

* pr review

* bindings

* bindings

* enclave: closeChallengeWindow() now requires an assertion to be submitted first (#789)

* feat: staking performance pool (#786)

* feat: staking performance pool

* refactor into shared contract

* refactor into shared contract

* update

* update comment

* update certora spec

* add PerformancePoolTest

* add reentrant modifier

* update commons config in docs (#787)

* Refactor emissions interface for usability (#792)

* Change the way the epoch index is passed to emissions scheduler

* Rebuild

* simplify function even more

* fix test

* remove lock diff

* Maestro force-restart if no RPCs available on startup (#796)

* Maestro force-restart if no RPCs available on startup

* explicit pattern matching

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* Update synd-maestro/src/config.rs

Co-authored-by: Daniil R <daniil@syndicate.io>

* explicit pattern matching

---------

Co-authored-by: Daniil R <daniil@syndicate.io>

* fix: remove payable modifier in stageStakeTransfer (#798)

* doc: Division Precision Loss in Reward Calculation documentation (#797)

* fix: [h-04] revert on zero address destination (#795)

* enclave: Improve server middleware (#794)

Ticket
Related Linear Ticket: SEQ-1344, SEQ-1343
What does this PR do?
Summary:
process requests sequentially
cache proof generation requests that time out
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
it can be tested manually prior to merging

* chore(deps-dev): bump axios (#799)

Bumps the npm_and_yarn group with 1 update in the /use-cases/lib/openzeppelin-contracts directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.12.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix M-03 (#800)

* Fix M-03

* make -C shared create-contract-bindings

* H02 Missing Finalization for Destination Appchain (#801)

* fix server build: remove submodule dependency (#806)

Ticket
Related Linear Ticket: SEQ-1361
What does this PR do?
Summary:
the stock go-ethereum package version works for the server - use that instead of the submodule
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
publish to s3 workflow

* fix go.mod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sam Mason de Caires <sam.jbmason@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Kristina Fischer <158780688+squibwarb@users.noreply.github.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Sam Mason de Caires <sam.jbmason@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: Kristina Fischer <158780688+squibwarb@users.noreply.github.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>

* fix server bugs (#813)

Ticket
Related Linear Ticket: SEQ-1362
What does this PR do?
Summary:
Fix server bugs
Key Changes:
remove line redeclaring the response map
make the pool return a typed nil instead of a generic one
omit empty params instead of serializing the field as null
validate that id and method are both present and non-empty
Breaking changes?
Yes/No:
No
Metrics changes?
Yes/No:
No
How can this PR be tested?
I updated the testnet enclave server with this version for testing - thanks @squibwarb for helping me out with that

* synd-enclave: fix server caching bug (#814)

* fix server caching bug

Preimage data needs to be sorted

Additionally, proof generation appears to be single threaded for the
most part - process requests in parallel up to the number of cpu cores
available on the machine.

* fix cpu count

* revisions

* preimageData should be capitalized

* use %q instead of casting as string

* improve allocator log message

* ignore duplicate requests

when a request is pending, ignore duplicate requests instead of
repeating the computation

* update error messages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Sam Mason de Caires <sam.jbmason@gmail.com>
Co-authored-by: Eric Velazquez <ericvelmar95@gmail.com>
Co-authored-by: Isaac <isaac@syndicate.io>
Co-authored-by: tsite <stubydent@gmail.com>
Co-authored-by: Daniil R <daniil@syndicate.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gus <gustavoguimaraes@users.noreply.github.com>
Co-authored-by: Jorge Silva <jorge@syndicate.io>
Merge staging changes into main for v1.0.3-rc.1 release
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.

5 participants