mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-05-20 19:51:21 +00:00
update aqua
This commit is contained in:
parent
d0252d284d
commit
cdf911bd76
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.4.0-235
|
* Aqua version: 0.4.1-239
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -381,8 +381,8 @@ export function delete_records(...args: any) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
export function eip_consensus_halfway(signature: string, locations: { node_id: string; relay_id: string; }[], service_node: string, consensus_service: string, threshold: number, config?: {ttl?: number}): Promise<boolean>;
|
export function eip_consensus_halfway(signature: string, locations: { node_id: string; relay_id: string; }[], service_node: string, consensus_service: string, threshold: number, config?: {ttl?: number}): Promise<boolean[]>;
|
||||||
export function eip_consensus_halfway(peer: FluencePeer, signature: string, locations: { node_id: string; relay_id: string; }[], service_node: string, consensus_service: string, threshold: number, config?: {ttl?: number}): Promise<boolean>;
|
export function eip_consensus_halfway(peer: FluencePeer, signature: string, locations: { node_id: string; relay_id: string; }[], service_node: string, consensus_service: string, threshold: number, config?: {ttl?: number}): Promise<boolean[]>;
|
||||||
export function eip_consensus_halfway(...args: any) {
|
export function eip_consensus_halfway(...args: any) {
|
||||||
|
|
||||||
let script = `
|
let script = `
|
||||||
@ -440,7 +440,7 @@ export function eip_consensus_halfway(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [$result.$.[0]!])
|
(call %init_peer_id% ("callbackSrv" "response") [$result])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -796,6 +796,9 @@ export function eip_consensus(...args: any) {
|
|||||||
)
|
)
|
||||||
(call %init_peer_id% ("getDataSrv" "threshold") [] threshold)
|
(call %init_peer_id% ("getDataSrv" "threshold") [] threshold)
|
||||||
)
|
)
|
||||||
|
(par
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(fold locations loc
|
(fold locations loc
|
||||||
(par
|
(par
|
||||||
(seq
|
(seq
|
||||||
@ -832,6 +835,12 @@ export function eip_consensus(...args: any) {
|
|||||||
(next loc)
|
(next loc)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
(call -relay- ("op" "noop") [])
|
||||||
|
)
|
||||||
|
(call service_node ("op" "noop") [])
|
||||||
|
)
|
||||||
|
(null)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
(call -relay- ("op" "noop") [])
|
(call -relay- ("op" "noop") [])
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.4.0-235
|
* Aqua version: 0.4.1-239
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user