Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contracts/Succinct_SpokePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ contract Succinct_SpokePool is SpokePool, ITelepathyHandler {
uint16 _sourceChainId,
address _senderAddress,
bytes memory _data
) external override validateInternalCalls {
) external override validateInternalCalls returns (bytes4) {
// Validate msg.sender as succinct, the x-chain sender as being the hubPool (the admin) and the source chain as
// 1 (mainnet).
require(
Expand All @@ -70,6 +70,7 @@ contract Succinct_SpokePool is SpokePool, ITelepathyHandler {
/// @custom:oz-upgrades-unsafe-allow delegatecall
(bool success, ) = address(this).delegatecall(_data);
require(success, "delegatecall failed");
return ITelepathyHandler.handleTelepathy.selector;
}

function _bridgeTokensToHubPool(RelayerRefundLeaf memory) internal override {
Expand Down