Changed
- updated SGB FDC2 verifiers to
go-verifier-api:v0.2.0, with one TEE service and one XRP service - updated SGB FDC2 C-chain indexer to
flare-system-c-chain-indexer:v2.0.2 - added
network_idto xrpl node config - moved the variables specific to SGB network out of the root
.envfile and directly into fdc2 verifiers' config.
Update notes
FDC2 verifiers now only run 2 containers instead of 4.
Recommended upgrade procedure for FDC2 verifiers:
- In
fdc2-verifiers/sgb/, stop the old deployment withdocker compose downbefore updating this deployment repo. - Pull or update this repository.
- Run
./generate-config.shfrom the repository root. - In
fdc2-verifiers/sgb/, start the new FDC2 verifiers withdocker compose up -d. - Restart the xrpl node to apply the updated config.
- Remove old unused variables from your
.envfile. They are now set in thefdc2-verifiers/sgb/env example files:FDC2_SGB_XRP_SOURCE_IDFDC2_SGB_CHAIN_IDFDC2_SGB_RELAY_CONTRACT_ADDRESSFDC2_SGB_FLARE_TEE_MANAGER_CONTRACT_ADDRESSFDC2_SGB_TEE_PAYMENTS_CONTRACT_ADDRESS
- Delete the old unused generated config files,
fdc2-verifiers/sgb/pmw-multisig.envandfdc2-verifiers/sgb/pmw-indexed.env../generate-config.shno longer writes them, but it does not remove them automatically.
URLs for all FDC2 XRP attestation types have changed. They now share port 9902 and include destination chain as part of the URL. Update clients to use /verifier/<source>/<destination>/<attestation-type>/verify. The previous routes and ports 9903 and 9904 are no longer available. The TEE verifier remains on port 9901.
Example FDC client configuration for new FDC2 verifier URLs:
TEE_TEEAVAILABILITYCHECK_URL=http://<fdc2-verifier-host>:9901/verifier/tee/sgb/TeeAvailabilityCheck/verify
XRP_PMWMULTISIGACCOUNTCONFIGURED_URL=http://<fdc2-verifier-host>:9902/verifier/xrp/sgb/PMWMultisigAccountConfigured/verify
XRP_PMWPAYMENTSTATUS_URL=http://<fdc2-verifier-host>:9902/verifier/xrp/sgb/PMWPaymentStatus/verify
XRP_PMWFEEPROOF_URL=http://<fdc2-verifier-host>:9902/verifier/xrp/sgb/PMWFeeProof/verify
Full Changelog: https://github.com/flare-foundation/fdc-suite-deployment/blob/v1.4.3/RELEASES.md