File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ class DeployExecutionResult
66{
77 private string $ blockHash ;
88
9- private DeployExecutionResultData $ data ;
9+ private DeployExecutionResultData $ result ;
1010
11- public function __construct (string $ blockHash , DeployExecutionResultData $ data )
11+ public function __construct (string $ blockHash , DeployExecutionResultData $ result )
1212 {
1313 $ this ->blockHash = $ blockHash ;
14- $ this ->data = $ data ;
14+ $ this ->result = $ result ;
1515 }
1616
1717 public function getBlockHash (): string
1818 {
1919 return $ this ->blockHash ;
2020 }
2121
22- public function getData (): DeployExecutionResultData
22+ public function getResult (): DeployExecutionResultData
2323 {
24- return $ this ->data ;
24+ return $ this ->result ;
2525 }
2626}
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ public function getChainspecInfo(): ChainspecRegistryBytes
437437 /**
438438 * @throws RpcError
439439 */
440- public function speculativeDeploy (Deploy $ signedDeploy , string $ blockHash = null ): DeployExecutionResult
440+ public function speculativeExecution (Deploy $ signedDeploy , string $ blockHash = null ): DeployExecutionResult
441441 {
442442 $ params = array (
443443 'deploy ' => DeploySerializer::toJson ($ signedDeploy )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public static function toJson($deployExecutionResult): array
1313 {
1414 return array (
1515 'block_hash ' => $ deployExecutionResult ->getBlockHash (),
16- 'execution_result ' => DeployExecutionResultDataSerializer::toJson ($ deployExecutionResult ->getData ())
16+ 'execution_result ' => DeployExecutionResultDataSerializer::toJson ($ deployExecutionResult ->getResult ())
1717 );
1818 }
1919
You can’t perform that action at this time.
0 commit comments