feat: add hybx omnl stack and gas pmm tooling
Some checks failed
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 35s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 37s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m50s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 2m19s
Validation / validate-genesis (push) Successful in 51s
Validation / validate-terraform (push) Failing after 39s
Validation / validate-kubernetes (push) Failing after 10s
CI/CD Pipeline / Solidity Contracts (push) Failing after 12m56s
Validation / validate-smart-contracts (push) Failing after 12s
CI/CD Pipeline / Security Scanning (push) Failing after 15m52s
Validation / validate-security (push) Failing after 10m59s
Validation / validate-documentation (push) Failing after 17s
Validate Token List / validate (push) Failing after 30s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 26s
Verify Deployment / Verify Deployment (push) Failing after 56s
Some checks failed
CI/CD Pipeline / Lint and Format (push) Failing after 46s
CI/CD Pipeline / Terraform Validation (push) Failing after 35s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 37s
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m50s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 2m19s
Validation / validate-genesis (push) Successful in 51s
Validation / validate-terraform (push) Failing after 39s
Validation / validate-kubernetes (push) Failing after 10s
CI/CD Pipeline / Solidity Contracts (push) Failing after 12m56s
Validation / validate-smart-contracts (push) Failing after 12s
CI/CD Pipeline / Security Scanning (push) Failing after 15m52s
Validation / validate-security (push) Failing after 10m59s
Validation / validate-documentation (push) Failing after 17s
Validate Token List / validate (push) Failing after 30s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 26s
Verify Deployment / Verify Deployment (push) Failing after 56s
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* Encode OMNLMirrorReceiver CCIP data field (v2 with merkleRoot).
|
||||
* Usage: node encode-omnl-mirror-payload.mjs <version> <lineId0x> <R> <validUntil> <evidence0x> <merkleRoot0x>
|
||||
*/
|
||||
import { AbiCoder } from 'ethers';
|
||||
|
||||
const [, , v, lineId, R, validUntil, evHash, merkleRoot] = process.argv;
|
||||
if (!merkleRoot) {
|
||||
console.error(
|
||||
'Usage: node encode-omnl-mirror-payload.mjs <version> <lineId0x> <R> <validUntil> <evidence0x> <merkleRoot0x>'
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
const coder = AbiCoder.defaultAbiCoder();
|
||||
const data = coder.encode(
|
||||
['uint256', 'bytes32', 'uint256', 'uint256', 'bytes32', 'bytes32'],
|
||||
[BigInt(v), lineId, BigInt(R), BigInt(validUntil), evHash, merkleRoot]
|
||||
);
|
||||
process.stdout.write(data + '\n');
|
||||
Reference in New Issue
Block a user