Open krebernisak opened 4 years ago
The nonce is defined as u128, but the result for get_requests or get_all_requests serializes it as a string:
u128
get_requests
get_all_requests
[{"nonce":"1","request":{"caller_account":"client.oracle.testnet","request_spec":"dW5pcXVlIHNwZWMgaWQ=","callback_address":"client.oracle.testnet","callback_method":"token_price_callback","data":"QkFU","payment":10,"expiration":1906293427246306700}},{"nonce":"2","request":{"caller_account":"client.oracle.testnet","request_spec":"dW5pcXVlIHNwZWMgaWQ=","callback_address":"client.oracle.testnet","callback_method":"token_price_callback","data":"TkVBUg==","payment":10,"expiration":1906293427246306700}}]
The nonce is defined as
u128
, but the result forget_requests
orget_all_requests
serializes it as a string: