Skip to content

Commit 89bce8b

Browse files
committed
fix: Fix syntax
1 parent e7a1f98 commit 89bce8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hardhat/contracts/Gateway.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ contract Gateway is Ownable, Utils {
563563
// uint32 _myArg = 123;
564564
//construct the payload that is sent into the Secret Gateway
565565
// FIXME: Error parsing into type secret_gateway::types::Payload: Invalid unicode code point.: execute contract failed
566+
// FIXME: Expected this character to be either a `','` or a `'}'`
566567
bytes memory payload = bytes.concat(
567568
'{"data":"{\\"myArg\\":',
568569
uint256toBytesString(123),
@@ -573,8 +574,7 @@ contract Gateway is Ownable, Utils {
573574
// FIXME: Error parsing into type secret_gateway::types::Payload: invalid base64: 259716626: execute contract failed
574575
// '","callback_selector":"',uint256toBytesString(_callbackSelector),
575576
// Note: fulfilledValueCallback - 0x0f7af612 hex, D3r2Eg== base64. Example: fulfillRandomWords - 0x38ba4614 hex, OLpGFA== base64
576-
'","callback_selector":"D3r2Eg=="',
577-
'","callback_gas_limit":',uint256toBytesString(_callbackGasLimit),
577+
'","callback_selector":"D3r2Eg==","callback_gas_limit":',uint256toBytesString(_callbackGasLimit),
578578
'}'
579579
);
580580
//

0 commit comments

Comments
 (0)