GithubHelp home page GithubHelp logo

Comments (15)

VictorNS69 avatar VictorNS69 commented on July 23, 2024 2

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.

alejandroalffer avatar alejandroalffer commented on July 23, 2024 1

WIP in #30

from alastriaid-truffle-contracts.

rober12 avatar rober12 commented on July 23, 2024 1

@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 avatar anthares101 commented on July 23, 2024 1

@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 avatar alejandroalffer commented on July 23, 2024 1

@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.

alejandroalffer avatar alejandroalffer commented on July 23, 2024

@VictorNS69 , just to be sure. This is the right version, right?

  compilers: {
    solc: {
      version: "0.4.23",
      settings: {
      evmVersion: "byzantium"
      }
    }
  },

from alastriaid-truffle-contracts.

VictorNS69 avatar VictorNS69 commented on July 23, 2024

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.

alejandroalffer avatar alejandroalffer commented on July 23, 2024

@anthares101 please... any explain of using testing?

from alastriaid-truffle-contracts.

alejandroalffer avatar alejandroalffer commented on July 23, 2024

The smartcontracts has been deployed. Now woking in running examples, alastria/alastria-identity-example#47

from alastriaid-truffle-contracts.

VictorNS69 avatar VictorNS69 commented on July 23, 2024

@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.

alejandroalffer avatar alejandroalffer commented on July 23, 2024

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.

VictorNS69 avatar VictorNS69 commented on July 23, 2024

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.

alejandroalffer avatar alejandroalffer commented on July 23, 2024

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.

VictorNS69 avatar VictorNS69 commented on July 23, 2024

Smart Contract deployed and tested.

Related issue: alastria/alastria-identity-example#47

from alastriaid-truffle-contracts.

VictorNS69 avatar VictorNS69 commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.