You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two parts of development: Rust and Solidity. Both teams need to be able to deploy contracts.
As a solution, it would be easier for both of the teams to use only one deployment tool.
Title
Abstract
POA team needs unifed tool in order to deploy
https://github.com/poanetwork/poa-parity-bridge-contracts
Rationale
There are two parts of development: Rust and Solidity. Both teams need to be able to deploy contracts.
As a solution, it would be easier for both of the teams to use only one deployment tool.
Specification
There is an existing deployment script that is written in javascript:
https://github.com/poanetwork/poa-parity-bridge-contracts/blob/upgradable/migrations/3_upgradeable_deployment.js
There needs to be same strategy script re-written in Rust.
Home Deployment(Sokol)
that will be used as Home Bridge Validators Proxy contract
upgradeTo
of EternalStorageProxy that is used as Home Bridge Validators with 2 parameters:0x02
)initialize
method at Home Bridge Validators Proxy(0x01
) with 2 parameters:1
["0x0039F22efB07A647557C7C5d17854CFD6D489eF3", "0xf052d236b8076879d86c9e4c116a068a0d420c55"]
0x03
that will be used as Home Bridge Proxy contract. Example address:
0x04
upgradeTo
of EternalStorageProxy that is used as Home Bridge Proxy(step#6) with 2 parameters:0x03
)initialize
method at Home Bridge Proxy address with 2 parameters:0x01
1000000000000000000
== 1 ether=====
Foreign Deployment on Kovan
=====
0x05
)that will be used as Foreign Bridge Validators Proxy contract. Example
0x06
0x07
upgradeTo
of EternalStorageProxy(0x06
) that is used as Foreign Bridge Validators Proxy(step#10) with 2 parameters:0x07
)initialize
method at Foreign Bridge Validators Proxy(0x06
) with 2 parameters:1
["0x0039F22efB07A647557C7C5d17854CFD6D489eF3", "0xf052d236b8076879d86c9e4c116a068a0d420c55"]
that will be used as Foreign Bridge Proxy contract. Example
0x08
0x09
upgradeTo
of EternalStorageProxy(0x08
) that is used as Foreign Bridge Proxy(step#14) with 2 parameters:0x09
)initialize
method at Foreign Bridge Proxy(0x08
) address with 2 parameters:0x06
0x05
1000000000000000000
== 1 ethertransferOwnership
of POA20 contract(0x05) with 1 parameter:0x08
) from step#14The text was updated successfully, but these errors were encountered: