Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

SCA logic for atomic execution in parent chain. #137

Merged
merged 28 commits into from
Mar 4, 2022

Conversation

adlrocha
Copy link
Collaborator

@adlrocha adlrocha commented Mar 2, 2022

Depends on: #133

This PR implements all the logic for the atomic execution protocol in the SCA:

  • Initialize new atomic execution
  • Submit output/abort execution

@adlrocha adlrocha marked this pull request as ready for review March 2, 2022 10:48
@adlrocha adlrocha requested a review from dnkolegov March 2, 2022 10:48
chain/consensus/actors/atomic-replace/gen/gen.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
}

type Owners struct {
M map[string]cid.Cid
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that M is not a good name for public data types. It would work if M was used in a seminal paper, etc.
For example, _, ok := o.M[k] from below looks strange

chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
chain/consensus/actors/atomic-replace/replace.go Outdated Show resolved Hide resolved
dependabot bot and others added 27 commits March 4, 2022 11:22
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.7.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.7.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@adlrocha
Copy link
Collaborator Author

adlrocha commented Mar 4, 2022

@dnkolegov, sorry for the mess. I wanted to rebase with the previous PR and I started getting infinite conflicts out of the blue. It should be fixed by now and ready to merge. Let me know if there is anything else you want me to check. Thanks!

@dnkolegov dnkolegov merged commit fae2918 into eudico Mar 4, 2022
@dnkolegov dnkolegov deleted the feat/atomic-exec-sca branch March 4, 2022 12:47
@adlrocha adlrocha mentioned this pull request Mar 14, 2022
39 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants