Though we have unit tests and integration test for native restaking deposit workflow, we did some hacks or mocks in those tests to make them work. New scripts are added to test native restaking deposit workflow on Holesky testnet:
deploy contracts on both chains
depositor creates the capsule and record capsule address
node operators spins up a new validator and point its withdrawal credentials to the capsule address from above step
depositor generate validator container and proof by using off-chain tool.
depositor calls clientChainGateway.depositBeaconChainValidator(validatorContainer, proof) to account for validator's effective balance
Description
Though we have unit tests and integration test for native restaking deposit workflow, we did some hacks or mocks in those tests to make them work. New scripts are added to test native restaking deposit workflow on Holesky testnet:
clientChainGateway.depositBeaconChainValidator(validatorContainer, proof)
to account for validator's effective balance