Comments (15)
The keystores used should be the same in both networks I think, as we are giving them the specific use and the role we want.
The only important keystores are the "admin" (accounts that deploys SCs) and "firstIdentityWallet" (first identity created).
@anthares101 about the alastria/alastria-identity-example#120, I have some questions I will ask you at the next meeting.
from alastriaid-truffle-contracts.
WIP in #30
from alastriaid-truffle-contracts.
@alejandroalffer Actually the version of the compiler being used in the upgradeable smart contracts is pragma solidity 0.5.17
from alastriaid-truffle-contracts.
@anthares101 please... any explain of using testing?
You should be able to use this repository https://github.com/alastria/alastria-identity-example to test the smart contracts. Change this file to point to the node you want to use.
Im working on this: alastria/alastria-identity-example#120 to have a fast way to check all examples. The only problem is that the keystores used by the examples are in redT not besu right @VictorNS69 ?
from alastriaid-truffle-contracts.
@alejandroalffer you closed this issue, but I see no PR with the changes made to the code. Are all the changes in the main branch?
If not, can you create the pull request?
Yes! At least, here's a clena PullRequest with the needed changes #33
from alastriaid-truffle-contracts.
@VictorNS69 , just to be sure. This is the right version, right?
compilers: {
solc: {
version: "0.4.23",
settings: {
evmVersion: "byzantium"
}
}
},
from alastriaid-truffle-contracts.
As @rober12 says, you can check the compiler settings here: https://github.com/alastria/temp-alastriaID-truffle-contracts/blob/develop/truffle-config.js#L103-L114
from alastriaid-truffle-contracts.
@anthares101 please... any explain of using testing?
from alastriaid-truffle-contracts.
The smartcontracts has been deployed. Now woking in running examples, alastria/alastria-identity-example#47
from alastriaid-truffle-contracts.
@alejandroalffer you closed this issue, but I see no PR with the changes made to the code. Are all the changes in the main branch?
If not, can you create the pull request?
from alastriaid-truffle-contracts.
Address for AlastriaB network, generated in generated addresses.json
:
"Eidas":"0xb8bCaFdEb78Ae5Aa686c5D00616e1561Db0309d4",
"AlastriaServiceProvider":"0x83D65fAc900dB0A27B45854AC64DA3D25d97864d",
"AlastriaIdentityIssuer":"0xE8Dc811f7D05c44EfDD998FFfC26D610B0E5471e",
"AlastriaCredentialRegistry":"0x2f384716e73ae165bC3427Fd60550c26e6CB91c6",
"AlastriaPresentationRegistry":"0x95bC1119b764Bd678B68A1c03Cd8c06EfA27Df81",
"AlastriaPublicKeyRegistry":"0x19e33b2424c1D7B5E563E0A74d8b10CE3812469C",
"AlastriaIdentityManager":"0xE9B9a6E7700672DBbCe59664457D7E6F1dc00F3c",
"AlastriaNameService":"0xC1b1Fc2434D50966c28C8573AbdF3c7842a2Abb4"
from alastriaid-truffle-contracts.
Reopened as we want to re-test the implementation of the develop branch.
Currently it seems that the contracts are not being deployed correctly.
from alastriaid-truffle-contracts.
Updated configuration for deploy contracts in alastraB network in https://github.com/alastria/alastriaID-truffle-contracts/tree/deploy-b-network branch.
Deploy fails in the last step:
❯ npm run updateRedB
> [email protected] updateRedB
> ./node_modules/.bin/truffle migrate --f 6 --to 6 --network=red-b-identity-admin
Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.
Starting migrations...
======================
> Network name: 'red-b-identity-admin'
> Network id: 2020
> Block gas limit: 10485760 (0xa00000)
6_update_logic.js
=================
StatusError: Transaction: 0x5054d835435ea2aaa66a0a6ffdfd2d9c1b47be30edfe7ef464300f1cf1685527 exited with an error (status 0).
at module.exports (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/migrations/6_update_logic.js:29:33)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at Migration._deploy (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:73:1)
at Migration._load (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:55:1)
at Migration.run (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:171:1)
at Object.runMigrations (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/migrate/index.js:150:1)
at Object.runFrom (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
at runMigrations (/Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:264:1)
at /Users/alejandro.alfonso/dev.alastria/alastriaID-truffle-contracts/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate.js:231:1
Truffle v5.1.53 (core: 5.1.53)
Node v14.16.1
Previous actions finish allright.
from alastriaid-truffle-contracts.
Smart Contract deployed and tested.
Related issue: alastria/alastria-identity-example#47
from alastriaid-truffle-contracts.
Tested by me, and working both in T and B network.
Related info:
Everything seems to be working fine
from alastriaid-truffle-contracts.
Related Issues (20)
- Error deploying in local HOT 1
- Check why updateReceiverPresentation is not working HOT 1
- Create a "How To" section in the documentation HOT 2
- Add en event for every state change in the smart contracts to imporove security report
- Add a static code analysis tool HOT 1
- Integration Testing for Smart Contracts
- Typo error
- Migrate to Hardhat HOT 1
- Update PresentationRegistry - allow revocation directly HOT 1
- Update CredentialRegistry - allow revocation directly HOT 1
- GetPublicKeyStatus function modification proposal HOT 3
- Update AlastriaPublicKeyRegistry.sol to work with publicKey hashes
- Update AlastriaIdentityManager.sol so that the create AlastriaID call is made with the hash of the public key HOT 1
- Update AlastriaProxy.sol in particular, the forward function HOT 1
- Create a new smart contract called AlastriaObjectRegistry.sol HOT 4
- Create unit test to AlastriaPublicKeyRegistry.sol HOT 1
- DeleteSubjectCredential when used does not remove the credential from the subjectCredentialList HOT 2
- Review credential and presentation registry unit tests HOT 1
- Clarification about proxy forward HOT 2
- Migrating Alastria smart contracts from truffle to hardhat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alastriaid-truffle-contracts.