Add rpc_methods (#1397)

* Add rpc_methods

* Adjust interface tests

* Add account_nextIndex & contracts_call, filter

* Rework AbstractArray includes with some

* Adjust tests

* Ordering

* Correct definitions (pull in from methods)

* Be agressive on filtering, regardless of isOptional

* async/await in filterRpcMethods

* map Text[] -> string[]

* Correct naming for account_nextIndex

* Remove/don't remove rpc_methods as applicable

* Cleanup method handling errors
This commit is contained in:
Jaco Greeff
2019-09-16 11:40:54 +02:00
committed by GitHub
parent 5576dacd9a
commit bed3f9f4c5
18 changed files with 262 additions and 12 deletions
-2
View File
@@ -56,8 +56,6 @@ export default class RpcCoder {
? ''
: ' (' + `${data}`.substr(0, 10) + ')';
console.error(`${code}: ${message}${_data}`);
throw new Error(`${code}: ${message}${_data}`);
}
}