diff --git a/protocol/0087-EVMD-eth-rpc-and-evm-data-source.md b/protocol/0087-EVMD-eth-rpc-and-evm-data-source.md index 55b12ffa3..b5e9fc83b 100644 --- a/protocol/0087-EVMD-eth-rpc-and-evm-data-source.md +++ b/protocol/0087-EVMD-eth-rpc-and-evm-data-source.md @@ -104,7 +104,7 @@ Then market 1 only sees events of that type from `EthRpcEvmCompatible` 0x123 whi - Create a market to use an external data source to terminate a market and an `EthRpcEvmCompatible` to settle the market (0087-EVMD-017) - Create a market to use an open oracle data source to settle a market and an `EthRpcEvmCompatible` to terminate the market (0087-EVMD-018) - `EthRpcEvmCompatible` events should only be sent when the filter is matched, this can be verified using an API and the core/data node events (BUS_EVENT_TYPE_ORACLE_DATA) (0087-EVMD-019) -- `EthRpcEvmCompatible` data sources should only forward data after a configurable number of confirmations (0087-EVMD-020) +- `EthRpcEvmCompatible` data sources should only forward data after a finnality is achieved (previously configurable number of confirmations (0087-EVMD-020), now through the ETH finality mechanism. - Create 2 markets to use the same `EthRpcEvmCompatible` data source for termination say DS-T1 but two different `EthRpcEvmCompatible` data sources for settlement DS-S1 and DS-S2. Now trigger the termination ethereum oracle data source. Both markets should be terminated and the data source DS-T1 is set to DEACTIVATED and the data sources DS-S1 and DS-S2 are still ACTIVE. Now settle market1. DS-S1 is set to DEACTIVATED and DS-S2 is still active. (0087-EVMD-021) - Create a market to use an `EthRpcEvmCompatible` data source for termination configured such that - it expects a boolean value True for termination and the contract supplying the termination value is polled every 5 seconds. Set the contract to return False for termination. The market is not terminated. The data source is still ACTIVE and no BUS_EVENT_TYPE_ORACLE_DATA events for that ethereum oracle spec are emitted. Then set the contract to return True for termination. The market is terminated and an event for BUS_EVENT_TYPE_ORACLE_DATA for the ethereum oracle data spec is received and the ethereum oracle is set to DEACTIVATED. (0087-EVMD-022) - One oracle data event is emitted for data that matches each data source - Create 2 markets with ethereum oracle settlement specs that use the same settlement key such that - the first settlement spec expects settlement data to be greater than 100 and the second expects greater than 200. Now send it a settlement data of 300. One single event BUS_EVENT_TYPE_ORACLE_DATA for the settlement data is emitted for each matching `EthRpcEvmCompatible` data source i.e. in this case, two oracle data events will be emitted - one for each settlement data source. Both markets are settled and both the data sources are DEACTIVATED. (0087-EVMD-023)