Highlights: Ver 1.3.5 released ⁂ A flow that identified a bug ahead of time ⁂ PoS architecture research ⁂ Onboarding of applications & new virtual chains ⁂ New monitoring tools
···
Since the last tech update there has been progress on multiple fronts. The network continues to progress with new applications joining and improvements are developed. The PoS ecosystem is active and a 3rd round of reward distribution was successfully completed. Improvements to the PoS architecture are in research along with work on integrating a staking contract. And new monitoring tools are being developed to provide a better environment to application developers and plays in the PoS ecosystem.
3 weeks ago an update to the network core code was deployed by the validators. Before deploying it on application’s virtual chains that are in production, the node code was deployed on a virtual chain used as a "canary in the coal mine" that doesn’t hold any critical assets or data. Even though the code was heavily tested including by Marvin - an innovative automated blockchain test environment - and on private networks, the deployment on the canary chain initially failed. Following a fast debug by the core team and several validators the root cause was identified and fixed. Due to Orbs virtual chains isolation architecture, the fail had no impact on any application virtual chain which later successfully deployed a fixed code (v1.3.6). The use of test methodologies has proven itself as a strong tool to maintain the applications’ stability while allowing upgrades and progress.
Based on the experience with Orbs PoS ecosystem and as a next step and as part of the work on the staking contract architecture, research activities are taking place to identify improvements to the PoS architecture. The research examines the different roles in the network, the requirements from each one and incentives and rewards used to drive their honest behaviour. An additional interesting aspect of the architecture is the relationship between Orbs and Ethereum. Orbs PoS architecture enjoys the objective auditing by Ethereum, as part of improvements to the architecture changes in the logic division between the two blockchains is being investigated.
The technical engagement team successfully helped two new virtual chains to onboard the network. Linet (https://validate.linet.org.il/) on virtual chain 1970000 and Open Rights (https://open-rights.org) on virtual chain 1960000. Linet is a receipts notarization application leveraging Orbs public blockchain to provide proofs of in immutable and in-time generation of client receipts. Open rights is an open database for registered users’ content allowing them to protect their IP. Application fees have been distributed to Validators through the vchain subscription process.
As part of the process to make the network more friendly to applications, contributors and all PoS ecosystem players, new monitoring tools are being developed. A new monitoring tool that provides a view of the entire network status is currently under development. Once ready it will provide the players and in particular the Guardians with means to monitor the network health and validators’ operation.
···
This monthly update is more descriptive in nature, as most of the core team was (and still is) engaged as part of thePoS Architecture Team, described below. In addition, significant effort was made to put Marvin (the testnet's testing framework) to first use. Also, a bugfix effort on v1.3.5 is described.
On December 16th, virtual chain (VC) 5110 on mainnet was upgraded to v1.3.5. This VC is operated by Orbs Ltd. and is a pre-production VC that helps identify last-minute issues before upgrading the production VCs. Upon upgrade, the VC immediately stopped closing blocks. Most of the core contributor team stepped into an intensive research mode.
Another VC was started to confirm that failure to close blocks is not specific to that specific vVC, and indeed the new VC did not close blocks either.
Additional research uncovered the following:
Following these discoveries, the bug in Gossip code was fixed and deployed to the above VCs as v1.3.6, and was confirmed to fix the issue - the network resumed closing blocks. Of course the address of that specific Validator was also updated, but the important thing was the network was made more resilient as a result of fixing this bug.
It took 2-3 hours to identify the root causes - this was a prime example of synergy between different members and contributors, as all involved shared their knowledge of the system and quickly reached the correct root cause, then promptly had it fixed and deployed.
Thanks to using the pre-production VC at no time was any actual production VC involved in this - these were upgraded directly to v.1.3.6 after the bug was fixed.
Involved team members: @ronnno, @IdoZilberberg, @electricmonk, @vistra, @gadcl, @OdedWx, @netoneko, @andr444, @jlevison
There was significant progress by @IdoZilberberg and @itamararjuan with running automated tests on PRs and when merging code into master branch. The CI workflow of orbs-network-go repo will very soon run an endurance test and compare its results against previous runs on the master branch, and against tolerable performance thresholds. If the test fails, the new version is not released to Docker hub. In case this is a new PR being pushed, the developer is notified of the test results via Slack and Github.
The logic of "judging" whether the test passed or failed is called Dredd, and is part of orbs-network/marvin repo and also published to npm as @orbs-network/judge-dredd so modifying it does not require rebuilding orbs-network-go.
Orbs PoS Universe has been active for more than 9 months already. We’ve been working to learn from the PoS architecture and identify areas that may be improved towards a sustainable architecture. A multidisciplinary team that includes both researchers and core developers has been working to research the subject and propose potential architecture improvements. The work focused on three aspects: the Ethereum - Orbs architecture, integration of the staking contract and investigation of potential improvements to PoS model.
The team reviewed and analyzed data of past elections and reward distribution. In addition, they reviewed the models and tools of other PoS projects trying to learn from their strong and weak points. As part of the research activity, the team has also started to collect inputs from players in the ecosystem.
The Orbs platform implements a PoS over PoW architecture, in which the ORBS token, delegation and voting operate over Ethereum. The use of Ethereum as an objective platform for the PoS architecture provides an objective mechanism for the Orbs elections and incentive layer. The use of an external and objective platform prevents a scenario where the ones being elected are the ones monitoring their honest operation. In the current PoS architecture, the PoS delegations and votes are performed on Ethereum while the election calculations are performed on Orbs.
While looking into the boundaries between Orbs and Ethereum, the team has made an interesting observation in the tradeoff between liveness and consistency. In a distributed system there’s an inherent tradeoff between liveness and consistency and when designing a system architects need to favor one of them and try to maximize the other, relying on the incentive layer. For enterprise applications, finality and consistency appear to have the highest priority. An architecture where the elections are performed and calculated on Ethereum but on each state change, the currently elected set inaugurates the new one on Orbs seems to optimize both auditability on Ethereum and consistency due to a clear view of the elected set on Orbs.
Another interesting aspect in the Ethereum - Orbs architecture is the potential to reduce the Ethereum requirements to a light client. The team has been working on an architecture changes to allow both auditability, relying on past events and a light client architecture without a need to maintain past state.
···
···
Thats all from us this round; be sure to follow for steady, constant improvements to the network with technology updates like this one every month. See you in February!
Ciao,
- @OdedWx
We use cookies to ensure that we give you the best experience on our website. By continuing to use our site, you accept our cookie policy.