-
Notifications
You must be signed in to change notification settings - Fork 16
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
integrate ACP-118 #408
Merged
Merged
integrate ACP-118 #408
Changes from 2 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
c46fc41
go.mod: use latest subnet-evm commit
feuGeneA 650c987
integrate w/ACP-118 protobuf SignatureRequest
feuGeneA a9c7768
test relayer & aggregator: log debug by default
feuGeneA 9db9153
Merge branch 'signature-aggregation-api' into signature-aggregation-a…
feuGeneA 557262a
add justification, rename message to drop Unsigned
feuGeneA b56e5d3
Merge remote-tracking branch 'origin/signature-aggregation-api' into …
feuGeneA adb8fb2
Merge remote-tracking branch 'origin/signature-aggregation-api' into …
feuGeneA f399cff
re-pin dependencies
feuGeneA fa3dbc0
Merge remote-tracking branch 'origin/signature-aggregation-api' into …
feuGeneA c771ca9
sync teleporter git submodule to go.mod version
feuGeneA fa60e03
version bumps, logging and handlerid packing hacks
iansuvak 0108081
Update signature-aggregator/README.md
iansuvak cf689e5
Update signature-aggregator/README.md
iansuvak b186d1c
address review feedback
iansuvak 95797af
invert utils.CheckStakeWeightPercentageExceedsThreshold
iansuvak b8735b0
Fix bugs in api and remove old testing code
iansuvak 0be46eb
bump teleporter submodule
iansuvak e3cefff
Merge remote-tracking branch 'origin/main' into isuvak/sig-agg-acp-118
iansuvak 79132a1
actually fix versions
iansuvak b5cff9e
Merge branch 'main' into signature-aggregation-api-acp-118
iansuvak 2f337c9
Merge branch 'signature-aggregation-api-acp-118' into isuvak/sig-agg-…
iansuvak bce634d
replace feature branch commit references with default branch ones
iansuvak 811c97a
add explicit check for signature length
iansuvak 30a718d
Merge pull request #422 from ava-labs/isuvak/sig-agg-acp-118
iansuvak 9f81123
Merge remote-tracking branch 'origin/main' into signature-aggregation…
feuGeneA e9eea93
Merge remote-tracking branch 'origin/main' into signature-aggregation…
feuGeneA 29cac30
relay justification from handled request to AppReq
feuGeneA 7fd79dc
Merge branch 'main' into signature-aggregation-api-acp-118
feuGeneA 58af3de
Update signature-aggregator/api/api.go
feuGeneA e1edf7e
Merge branch 'main' into signature-aggregation-api-acp-118
feuGeneA 70666da
Merge branch 'main' into signature-aggregation-api-acp-118
iansuvak 77262bc
Etna timestamp switch
iansuvak ec5b830
Fix implementation and add E2E test
iansuvak 0498f4a
update sample workflow docs for sig-agg
iansuvak 440a52d
use PrefixMessage function to construct request bytes
iansuvak 91c5016
make etna upgrade test just test the post-etna case
iansuvak 47cfef6
use extract_commit instead of manually synced references in versions.sh
iansuvak b87bcc1
Revert "use extract_commit instead of manually synced references in v…
iansuvak 5852f6c
Merge remote-tracking branch 'origin/main' into etna-time
iansuvak 7f9488c
Add TODO to cleanup after Etna release
iansuvak 0648123
Merge pull request #463 from ava-labs/etna-time
iansuvak ae43d72
Merge branch 'main' into signature-aggregation-api-acp-118
iansuvak ca06934
adapt to latest changes in `main`
feuGeneA 6cd8245
pass nil, not empty slice
feuGeneA b04df21
Merge branch 'main' into signature-aggregation-api-acp-118
feuGeneA 3d7707d
address review feedback
iansuvak 2ba7b61
Merge remote-tracking branch 'origin/main' into signature-aggregation…
iansuvak 576a375
address review feedback
iansuvak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add justification bytes here as well as the API. In the API they should be hex encoded and since their meaning is VM specific we don't need to do any processing to them either just like with the message. We should only pass the non-zero fields since the ACP-118 spec but in the API layer we should do validation that at least one of
message
,justification
fields is non-zero.I would also rename our API to use
Message
instead ofUnsignedMessage
to match the ACP-118 spec while we are at itThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed in 557262a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't done yet. I added the justification everywhere (in the API) except for right here 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last piece addressed in 29cac30