Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimistic roots v1.1 #4951

Merged
merged 37 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4bf398e
feat: removing lint (#10)
0xng Sep 28, 2023
523ebad
feat: root manager new variables (#8)
gotzenx Sep 28, 2023
26311e7
feat: adding new variables (#7)
0xng Sep 28, 2023
f5caaf0
refactor: root manager finalize function (#11)
gotzenx Sep 29, 2023
46892ad
refactor: root manager dequeue function (#15)
gotzenx Sep 29, 2023
619ad6b
feat: adding optimistic mode to spoke (#12)
0xng Oct 2, 2023
449f044
refactor: unify propagate
gotzenx Oct 2, 2023
ee87ae8
refactor: remove deprecated variable (#18)
gotzenx Oct 2, 2023
42b71dc
feat: introduce last count check again (#20)
gotzenx Oct 2, 2023
9d6a918
feat:optimistic mode guards (#19)
0xng Oct 2, 2023
8f8c64f
feat: guard propagation of root zero (#21)
gotzenx Oct 2, 2023
84182cb
feat: changing constructor params to struct (#23)
0xng Oct 3, 2023
1a20451
feat: added guard for pause to op functions (#25)
gotzenx Oct 3, 2023
58d787c
feat: adding whenNotPaused modifier to propose and finalize (#24)
0xng Oct 3, 2023
46e6431
chore: remove unnecesary setup functions on tests (#26)
gotzenx Oct 3, 2023
98c9c42
fix: event natspec (#28)
gotzenx Oct 3, 2023
4fb362b
refactor: remove lastCountBeforeOpMode variable (#29)
gotzenx Oct 4, 2023
f9eeab7
fix: natspec (#31)
0xng Oct 4, 2023
10e7591
fix: removing optimistic mode guard from send (#30)
0xng Oct 4, 2023
bed9d85
feat: agg root direct save on hub spoke
gotzenx Oct 9, 2023
b006512
feat: adding natspec
0xng Oct 9, 2023
c5d0a09
fix: typo
0xng Oct 9, 2023
c06ec4a
test: convention fixes
0xng Oct 9, 2023
f9c5de4
docs: natspec typo
0xng Oct 9, 2023
0dc037b
docs: natspect typos
0xng Oct 9, 2023
edde95d
refactor: mainnet spoke imports
gotzenx Oct 9, 2023
5ff2ff9
Merge branch 'feat/hub-spoke-save-aggregate-root' of github.com:defi-…
gotzenx Oct 9, 2023
408ebb2
feat: saveAggregateRoot delentes pending root if exists
gotzenx Oct 9, 2023
e79e86d
test: adding pending root deletion test
0xng Oct 9, 2023
ad72ef7
chore: root manager tests comments
gotzenx Oct 9, 2023
2c28f19
feat: hub spoke save aggregate root
gotzenx Oct 9, 2023
3f72cda
feat: dispute blocks constructor check [L-1] (#35)
0xng Oct 16, 2023
8d9fe7e
feat: fixing comment [Q-4] (#38)
0xng Oct 16, 2023
c450171
feat: removing unused events and errors [Q-2] (#39)
0xng Oct 16, 2023
36f18a0
feat: unifying save aggregate root events [Q-3] (#40)
0xng Oct 16, 2023
bcb03a6
feat: delete pending root on propose (#34)
gotzenx Oct 17, 2023
ed41b1f
feat: external for public [Q-1] (#36)
0xng Oct 17, 2023
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
15 changes: 10 additions & 5 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,18 @@ jobs:
- name: Migrate Database
run: yarn workspace @connext/nxtp-adapters-database dbmate up

# TODO: remove before merging
- name: Yarn test
run: yarn test:all
run: yarn test:contracts

- name: Yarn lint
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: yarn lint:all
# TODO: uncomment both before merging
# - name: Yarn test
# run: yarn test:all

# - name: Yarn lint
# env:
# NODE_OPTIONS: "--max-old-space-size=8192"
# run: yarn lint:all

- name: Install jq
run: sudo apt-get install -y jq
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"scripts": {
"lint:all": "yarn workspaces foreach --parallel --exclude @connext/nxtp-subgraph --exclude @connext/bridge-reference --exclude @connext/nxtp-integration --exclude @connext/smart-contracts run lint",
"test:all": "yarn workspaces foreach --parallel --exclude @connext/nxtp-relayer --exclude @connext/nxtp-subgraph --exclude @connext/nxtp-integration --exclude @connext/sdk run test",
"test:contracts": "yarn workspace @connext/smart-contracts run test",
"clean:all": "yarn workspaces foreach --parallel --exclude @connext/nxtp-integration --exclude @connext/nxtp-subgraph run clean",
"build:all": "yarn workspaces foreach --parallel -p --topological-dev --exclude @connext/nxtp-subgraph --exclude @connext/bridge-reference run build",
"verify:all": "yarn test:all && yarn clean:all && yarn build:all && yarn lint:all --max-warnings 0",
Expand Down
220 changes: 115 additions & 105 deletions packages/deployments/contracts/contracts/messaging/RootManager.sol

Large diffs are not rendered by default.

Loading