Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1e354ba
First pass at updating seq chains contract to UUPS upgradability
ibremseth Aug 27, 2025
dc8942e
Update e2e tests
ibremseth Aug 27, 2025
9a12b86
use namespace storage slots for the module checker and gas counter
tsite Aug 27, 2025
46875a6
add storage layout ci check
tsite Aug 27, 2025
296a526
fix ci test
tsite Aug 27, 2025
013666d
fixes
tsite Aug 27, 2025
7b1d13d
fix certora error
tsite Aug 28, 2025
c59937e
update certora spec & regen bindings
tsite Aug 28, 2025
1694b2b
bug fixes
tsite Aug 28, 2025
722ed17
update permission module interface
tsite Aug 28, 2025
256378e
fix certora test
gustavoguimaraes Aug 28, 2025
d388c0f
Merge branch 'uups' of https://github.com/SyndicateProtocol/syndicate…
gustavoguimaraes Aug 28, 2025
4f5c2b9
fix spec
gustavoguimaraes Aug 28, 2025
ebd7eef
Merge branch 'main' into uups
gustavoguimaraes Aug 28, 2025
03c5f41
edit comment
gustavoguimaraes Aug 28, 2025
5aa3148
feat: allow upgrades to only allowed bytecode (#774)
jorgemmsilva Sep 2, 2025
f90f110
Merge branch 'main' into uups
gustavoguimaraes Sep 3, 2025
58e1dc7
Fixes for new forge linter
gustavoguimaraes Sep 3, 2025
2d20a7c
remove linter on build
gustavoguimaraes Sep 3, 2025
499abaf
fix CI issues
gustavoguimaraes Sep 3, 2025
73a6f15
fix certora spec
gustavoguimaraes Sep 3, 2025
20206e5
fix rust fmt issue
gustavoguimaraes Sep 3, 2025
6f5d7a0
seq-1327: Confirm that we use namespaced storage or gap variables to …
gustavoguimaraes Sep 4, 2025
1520262
seq-1320: Factory contract should be behind a proxy
gustavoguimaraes Sep 4, 2025
59d7e78
seq-1323: use deterministic chainIDs from sender + nonce
gustavoguimaraes Sep 4, 2025
e2944b3
make -C shared create-contract-bindings
gustavoguimaraes Sep 4, 2025
894b2fa
reintroduce explicit constructor call for legacy reasons
gustavoguimaraes Sep 5, 2025
ead1c1d
male SyndicateSequencingChain namespaced compliant
gustavoguimaraes Sep 5, 2025
627bb2a
make -C shared create-contract-bindings
gustavoguimaraes Sep 5, 2025
567a7e2
Merge branch 'staging' into uups
gustavoguimaraes Sep 5, 2025
88942d2
add documentation
gustavoguimaraes Sep 5, 2025
0e7b5a0
Merge branch 'uups' of https://github.com/SyndicateProtocol/syndicate…
gustavoguimaraes Sep 5, 2025
b00c7d3
fix lint
gustavoguimaraes Sep 5, 2025
2c2191d
new storage layout
gustavoguimaraes Sep 5, 2025
3994185
foundry.lock
gustavoguimaraes Sep 5, 2025
5b2af0d
forge inspect SyndicateSequencingChain storageLayout
gustavoguimaraes Sep 8, 2025
c061e12
Merge branch 'staging' into uups
gustavoguimaraes Sep 8, 2025
ebd6b3c
refactor code for chain id for created appchain
gustavoguimaraes Sep 8, 2025
938cfc1
make -C shared create-contract-bindings
gustavoguimaraes Sep 8, 2025
311be5f
Merge branch 'uups' of https://github.com/SyndicateProtocol/syndicate…
gustavoguimaraes Sep 8, 2025
29e7317
add fee for appchain contracts creation (#791)
gustavoguimaraes Sep 9, 2025
ee9a9e6
Merge branch 'staging' into uups
gustavoguimaraes Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/storage-layout.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Check storage layout

on:
# Run workflow on every push to main. This ensures that cross-service PRs that
# depend on synd-contracts are tested.
push:
branches:
- main
# Only run on PRs that touch shared contracts
pull_request:
paths:
- "synd-contracts/**"

jobs:
storage-layout:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable

- name: Install jq
run: sudo apt-get update && sudo apt-get install -y jq

- name: Build contracts
working-directory: synd-contracts
run: forge build --sizes

- name: Inspect storage layout
working-directory: synd-contracts
run: |
forge inspect SyndicateSequencingChain storageLayout --json > actual_storage_layout.json
jq -S . actual_storage_layout.json > actual_storage_layout.norm.json

- name: Normalize expected layout
working-directory: synd-contracts
run: |
jq -S . syndicate_sequencing_chain_layout.json > expected_storage_layout.norm.json

- name: Compare layouts
working-directory: synd-contracts
run: |
set -e
echo "Comparing expected vs actual storage layouts..."
if ! diff -u expected_storage_layout.norm.json actual_storage_layout.norm.json; then
echo
echo "❌ Storage layout changed. If intentional, update syndicate_sequencing_chain_layout.json."
exit 1
fi
echo "✅ Storage layout matches."

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
8 changes: 4 additions & 4 deletions shared/contract-bindings/src/synd/deploy_gas_aggregator.rs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions shared/contract-bindings/src/synd/deploy_syndicate_factory.rs

Large diffs are not rendered by default.

683 changes: 0 additions & 683 deletions shared/contract-bindings/src/synd/deploy_syndicate_factory_direct.rs

This file was deleted.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions shared/contract-bindings/src/synd/gas_aggregator.rs

Large diffs are not rendered by default.

Loading
Loading