Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update Interoperability LIPs #148

Merged
merged 124 commits into from
Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
bbc0d7b
LIP0045: add type hinting and raise exceptions
ricott1 Jun 1, 2022
5907844
various fixes and fix schemas and add length parameter to bytes datatype
ricott1 Jun 9, 2022
801980c
fix typos
ricott1 Jun 9, 2022
0cb7d9f
add white background to png images
ricott1 Jun 9, 2022
f595fe5
minor fixes
ricott1 Jun 10, 2022
a1f151c
LIP0045: introduce constants, simplify style
ricott1 Jun 17, 2022
8a371f3
some more style fixes
ricott1 Jun 21, 2022
3b3ed5f
some extra fixes
ricott1 Jun 23, 2022
283fc4a
general code improvements
ricott1 Jun 24, 2022
e6dd0de
LIP0053: rewrite verification in python part 1
ricott1 Jul 1, 2022
9eb1b0c
LIP0049: rewrite apply function part 1
ricott1 Jul 1, 2022
accd1b7
LIP0054: remove beforeRecoverCCM
ricott1 Jul 1, 2022
4cc5338
LIP0045: add cross-chain command execution stack
ricott1 Jul 1, 2022
01a80c7
LIP0053: verify functions for ccus
ricott1 Jul 1, 2022
5655f07
LIP0053: refactoring
ricott1 Jul 1, 2022
3f7e080
refactoring to code
ricott1 Jul 1, 2022
ffc6337
refactoring to code
ricott1 Jul 1, 2022
5c9122c
fix typos in LIP53 and 43
ricott1 Jul 4, 2022
0f8b4ea
code refactoring and better error handling
ricott1 Jul 4, 2022
d039a17
LIP0043: rewrite commands in python
ricott1 Jul 4, 2022
25fd33a
LIP0053: fix typos
ricott1 Jul 4, 2022
65fc778
add events
ricott1 Jul 4, 2022
bc49edb
add events to recovered messages
ricott1 Jul 4, 2022
549fdbb
LIP0054: update commands style
ricott1 Jul 4, 2022
99bb17c
use EMPTY_BYTES constant
ricott1 Jul 4, 2022
5a73e51
big refactor
ricott1 Jul 6, 2022
445a6ee
big refactor before checking everything
ricott1 Jul 8, 2022
5580836
LIP0045: clarify event topics
ricott1 Jul 11, 2022
e7e9a3a
LIP0053: add CCM verification in rationale
ricott1 Jul 12, 2022
3307ad3
small fixes
ricott1 Jul 13, 2022
fd46def
add FIXME for snapshot
ricott1 Jul 14, 2022
13215cc
remove internal functions
ricott1 Jul 21, 2022
4e40ae5
LIP0065: add height to event schema and change event ID
ricott1 Jul 22, 2022
01503c2
interop update to better refactor CCU execution
ricott1 Jul 22, 2022
ada01a1
temporary change to apply function in LIP49
ricott1 Jul 22, 2022
6112fec
LIP54: fix inclusion proof
ricott1 Aug 2, 2022
7728f54
Delete lip-0065.md
ricott1 Aug 3, 2022
cfda706
LIP53: fix typo and add check for mainchain liveness in sidechain CCU
ricott1 Aug 3, 2022
5f1c583
Merge branch 'update-interoperability-LIPs' of https://github.com/Lis…
ricott1 Aug 11, 2022
851efc5
LIP45: store-->substore
ricott1 Aug 12, 2022
accf28f
LIP0053: remove unnecessary check and rename constants
ricott1 Aug 22, 2022
e7b400c
LIP0043: update rationale for chain ID, rename network ID to chain ID…
ricott1 Aug 22, 2022
646ecbb
address review comments
ricott1 Aug 22, 2022
ec3de8f
LIP0043: remove constants and reference lip45
ricott1 Aug 22, 2022
ed84070
remove call to bft module
ricott1 Aug 22, 2022
2c4e7ec
update constants
ricott1 Aug 23, 2022
1dfda3f
update constants and small fixes
ricott1 Aug 23, 2022
1593c1c
address Sergey review
ricott1 Aug 24, 2022
b708d53
LIP0049:address review comments
ricott1 Aug 24, 2022
1646b4c
LIP0043: use validators method to get current validators
ricott1 Aug 25, 2022
5b400be
LIP0043: address greg review
ricott1 Aug 25, 2022
17b81fa
LIP45 and 49 first pass
ricott1 Aug 26, 2022
f38b06d
review on LIP45
ricott1 Aug 26, 2022
eaaf37f
LIP0045: add event for invalid mainchain reg signature
ricott1 Aug 26, 2022
08a1fb8
LIP45: add constants and error event for CCM sent: invalid format
ricott1 Aug 29, 2022
c545adf
LIP43: fix notation
ricott1 Aug 29, 2022
5e7be35
LIP45: add CCU type
ricott1 Aug 29, 2022
f98ad75
LIP45: update constants table
ricott1 Aug 30, 2022
11619be
LIP53: introduce ccu type
ricott1 Aug 30, 2022
13bf4ae
LIP0045: add invalid ccm event status, reformatting
ricott1 Aug 30, 2022
cc4b9fc
LIP49, LIP53: new CCM processing stack
ricott1 Aug 30, 2022
45c9689
LIP53: fix language
ricott1 Aug 31, 2022
0ae3917
LIP53: address review
ricott1 Aug 31, 2022
4ab9b54
LIP53: clarify update of partner chain outbox root
ricott1 Sep 1, 2022
25b8693
LIP53: clarify update of partner chain outbox root
ricott1 Sep 1, 2022
f4895e1
LIP53: clarify update of partner chain outbox root
ricott1 Sep 1, 2022
d96d1bd
LIP53: always append to inbox
ricott1 Sep 1, 2022
5832d73
LIP53: always append to inbox
ricott1 Sep 1, 2022
00714ff
LIP53: refactor checks and fix execution: update validators only if n…
ricott1 Sep 1, 2022
310598a
address review comments
ricott1 Sep 5, 2022
a7875ab
LIP43 and LIP45: fix typos and constant table
ricott1 Sep 7, 2022
6d44bb8
LIP0045: add bounce function and make constants more homogenoeus
ricott1 Sep 7, 2022
8a19e4c
LIP0053: update basic checks on CCMs
ricott1 Sep 7, 2022
39ebc0b
LIP0049: refactor code to use bounce function and add beforeCCMForwar…
ricott1 Sep 7, 2022
e18b230
LIP0053: update rationale to include automatic bouncing
ricott1 Sep 7, 2022
63a770c
LIP0053: remove verifyCCM from interoperability, use bounce in verify…
ricott1 Sep 8, 2022
86de8ed
LIP0049: do not reset ccm fee when bouncing unless it was assigned in…
ricott1 Sep 8, 2022
b96b6a9
LIP0045: add new event when bouncing, to link to new modified message
ricott1 Sep 8, 2022
b7d6aca
LIP0045: add getMessageFeeTokenID to be used by token module
ricott1 Sep 8, 2022
cd8f3e3
LIP0049: modify ccc verify and execute interface to include ccu
ricott1 Sep 8, 2022
337a57b
LIP0045: add interoperability violation to ccm processed status; add …
ricott1 Sep 12, 2022
4619a6e
LIP0049: use bounce and bounceWithoutFee
ricott1 Sep 12, 2022
bfcaea2
LIP0053: update bounce use; emit event for interoperability violation…
ricott1 Sep 12, 2022
2f3d172
LIP0049: simplify forward function
ricott1 Sep 12, 2022
689474c
Jan small review
ricott1 Sep 13, 2022
8c41c3e
all LIPs: update event property to result; use consistently same erro…
ricott1 Sep 13, 2022
68a241d
LIP45: remove unnecessary check
ricott1 Sep 13, 2022
58f8f90
Change newCertificateThreshold to certificateThreshold and address Ja…
ricott1 Sep 15, 2022
d4c2f41
Move verifyCCM from CCU execution to apply and forward functions
ricott1 Sep 15, 2022
17efb2d
Move verifyCCM from CCU execution to apply and forward functions
ricott1 Sep 15, 2022
db45ae1
fix typo from Maxime's review
ricott1 Sep 15, 2022
adbe4a4
LIP0049: bounce without fee in case of unsupported module-command
ricott1 Sep 16, 2022
3c8d84b
Empty data in invalidSignature event
ricott1 Sep 16, 2022
c5fb4a5
LIP53: fix typos
ricott1 Sep 16, 2022
f7f244c
LIP49: rollback changes to execution stack, bounce immediately if ccc…
ricott1 Sep 19, 2022
c2ff7a8
Jan's review
ricott1 Sep 20, 2022
568d655
LIP54: revert to original branch
ricott1 Sep 20, 2022
f5373b5
before final review
ricott1 Sep 21, 2022
c573e3c
Jan's and Greg's review
ricott1 Sep 21, 2022
dc42934
fix events
ricott1 Sep 21, 2022
91aac5c
update substores figure
ricott1 Sep 21, 2022
d57804f
Rename constants for status property and improve constant descriptions
janhack Sep 22, 2022
5cf0e0f
Rename constants for result property of CCM Processed event nd improv…
janhack Sep 22, 2022
46e4ab9
Fix status code for cross-chain-command not supported
janhack Sep 22, 2022
54c3e3d
Fix sent API and associated events
janhack Sep 22, 2022
30c5c4c
Separate codes for events and status codes for CCM
janhack Sep 22, 2022
f2ad1fc
Change name of events for sending CCM to use present tense
janhack Sep 22, 2022
6d127bf
Fix constant formatting and description, add event for CCC forwarding…
janhack Sep 23, 2022
0655851
Add CCM data to Send Failed Event
janhack Sep 23, 2022
179eca3
Fix grammar and descriptions
janhack Sep 23, 2022
66e2d94
Move CCM ID computation in send API to end
janhack Sep 23, 2022
196ca27
Rename hook from beforeCrossChainCommandForwarding to beforeCrossChai…
janhack Sep 23, 2022
c6748e3
Change variable name from trs to ccu for consistency
janhack Sep 23, 2022
99bc308
Merge branch 'main' into update-interoperability-LIPs
Sep 26, 2022
789a0a7
:pencil: Update header
Sep 26, 2022
c69ad1f
:nail_care: Apply standards
Sep 26, 2022
870b816
:nail_care: Apply standards
Sep 26, 2022
71cba1a
:nail_care: Apply standards
Sep 26, 2022
27b5255
:nail_care: Apply standards
Sep 26, 2022
d4abd27
:pencil: Update header
Sep 26, 2022
8b909ca
:nail_care: Apply standards
Sep 26, 2022
1b7a648
:pencil: Update header
Sep 26, 2022
71ab741
:nail_care: Apply standards
Sep 26, 2022
0dcfbdc
:pencil: Update header
Sep 26, 2022
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
572 changes: 373 additions & 199 deletions proposals/lip-0043.md

Large diffs are not rendered by default.

Binary file modified proposals/lip-0043/interoperability_store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,126 changes: 605 additions & 521 deletions proposals/lip-0045.md

Large diffs are not rendered by default.

Binary file modified proposals/lip-0045/ccu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified proposals/lip-0045/interoperability_store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
491 changes: 280 additions & 211 deletions proposals/lip-0049.md

Large diffs are not rendered by default.

659 changes: 424 additions & 235 deletions proposals/lip-0053.md

Large diffs are not rendered by default.

514 changes: 267 additions & 247 deletions proposals/lip-0054.md

Large diffs are not rendered by default.