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

identity migration: update to latest contracts #748

Merged
merged 5 commits into from
Feb 14, 2019

Conversation

xmxanuel
Copy link
Member

  • removed second contract repo
  • removed registry from stored config

migrated packages

  • did
  • cmd

Copy link
Contributor

@mikiquantum mikiquantum left a comment

Choose a reason for hiding this comment

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

Just some comments, let's start breaking stuff!

@@ -29,6 +30,9 @@ func (Bootstrapper) Bootstrap(ctx map[string]interface{}) error {
}
client := ctx[ethereum.BootstrappedEthereumClient].(ethereum.Client)

fmt.Println("anchors")
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this is testing material, let's try to keep as "production" as possible, bc otherwise when we merge to develop it will be harder to catch.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in next PR

@@ -20,6 +20,7 @@ for d in $(go list -tags=integration ./... | grep -v vendor); do
cat profile.out >> coverage.txt
rm profile.out
fi
exit $status
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need this here?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed in next PR

func runNewSmartContractMigrations() {

// TODO: store identity bytecode in config and remove func
func getIdentityByteCode() string {
Copy link
Contributor

Choose a reason for hiding this comment

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

Where are we using this?

Copy link
Member Author

Choose a reason for hiding this comment

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

We are using it for CreateIdentity to check if it was successful

@xmxanuel xmxanuel merged commit 5f0197f into centrifuge:identity Feb 14, 2019
mikiquantum added a commit that referenced this pull request Feb 25, 2019
* identity migration: update to latest contracts (#748)

* use new identity contracts

* removed registry from config

* removed helper functions

* identity migrate cmd package

* formatting

* identity migration: new package structure (#749)

* use new identity contracts

* removed registry from config

* removed helper functions

* identity migrate cmd package

* formatting

* fixed changes

* package changed

* moved did service interface

* fixed tests in ideth package

* added did.go

* fixed cmd package (#750)

* identity migration: mockService and boostrapper document service (#751)

* fixed cmd package

* added mock did service and did service to documents bootstrapper

* fixed document bootstrapper

* removed old service from document bootstrapper

* identity migration: documents (#757)

* fixed cmd package

* added mock did service and did service to documents bootstrapper

* fixed document bootstrapper

* removed old service from document bootstrapper

* migration identity replaced validators

* fixed selfSignatureValidator test

* fixed signature Validator

* documents unit test fixed

* fixed tests for invoice and purchaseorder

* formatting

* Identity (#758)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* Fix unit tests except oldID + anchor and linting (#761)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* fmt + fix all unit tests except anchor+oldID

* fix unit tests

* swagger

* Id migration: new anchoring (#763)

* removed old anchor contract

* fixed unit tests

* updated anchor methods

* fixed integration test anchor commit

* removed event listener task from anchor

* anchor passing uuid

* fixed anchoring integration test

* added channel as return

* added integration test for anchoring

* fixed identity tests

* fixed unit tests

* formatting

* WIP: Fix integration tests (#764)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* fmt + fix all unit tests except anchor+oldID

* fix unit tests

* swagger

* compilation error fix integration

* keys

* test

* integration

* fix integration tests

* fix unit tests

* Merged develop (#767)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* Converting TX API to use Hex strings (#754)

* Converting TX API to use Hex strings

* test

* comment

* fix tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* fmt + fix all unit tests except anchor+oldID

* hash instead of copying the message (#759)

Hash the message before signing

* Report card

* fix unit tests

* NFT uniqeness proofs (#736)

Add NFT proofs
- Uniqueness proof
- NFT read access proof

More here - https://hackmd.io/ps0X0jRkRHaACP6aPtGzag

* swagger

* compilation error fix integration

* keys

* test

* integration

* fix integration tests

* Update protobufs (#765)

* Update protobufs

* test

* fix unit tests

* revert migrations

* fixed multi case identity address

* nft in testworld uncomment

* fixed unit tests in configstore

* ID Comment Fixes (#772)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* Converting TX API to use Hex strings (#754)

* Converting TX API to use Hex strings

* test

* comment

* fix tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* fmt + fix all unit tests except anchor+oldID

* hash instead of copying the message (#759)

Hash the message before signing

* Report card

* fix unit tests

* NFT uniqeness proofs (#736)

Add NFT proofs
- Uniqueness proof
- NFT read access proof

More here - https://hackmd.io/ps0X0jRkRHaACP6aPtGzag

* swagger

* compilation error fix integration

* keys

* test

* integration

* fix integration tests

* Update protobufs (#765)

* Update protobufs

* test

* fix unit tests

* revert migrations

* fix comments

* fix comments

* Add bytecode check (#774)

* Refactor/nfts remove cd (#747)

* config

* p2p

* Correct logs for transaction tasks (#753)

* wip

* fix p2p and config tests

* Converting TX API to use Hex strings (#754)

* Converting TX API to use Hex strings

* test

* comment

* fix tests

* fix documents/invoice

* fix po tests

* comments

* fix cmd

* fmt + fix all unit tests except anchor+oldID

* hash instead of copying the message (#759)

Hash the message before signing

* Report card

* fix unit tests

* NFT uniqeness proofs (#736)

Add NFT proofs
- Uniqueness proof
- NFT read access proof

More here - https://hackmd.io/ps0X0jRkRHaACP6aPtGzag

* swagger

* compilation error fix integration

* keys

* test

* integration

* fix integration tests

* Update protobufs (#765)

* Update protobufs

* test

* fix unit tests

* revert migrations

* add bytecode check

* add bytecode check

* fixes

* fixed testworld bytecode check

* formatting

* remove bytecode check

* remove bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants