AElfProject / aelf-web3.js

aelf JavaScript SDK
MIT License
16 stars 24 forks source link

Changes required for new rpc #10

Closed gldeng closed 5 years ago

gldeng commented 5 years ago
  1. https://github.com/AElfProject/aelf-sdk.js/blob/280dcd51f77c2b18d0c646910e0f7dcc8d400299/lib/aelf/httpprovider.js#L157

  2. https://github.com/AElfProject/aelf-sdk.js/blob/280dcd51f77c2b18d0c646910e0f7dcc8d400299/lib/aelf/shims/method.js#L86 Now the return result is just a number

  3. https://github.com/AElfProject/aelf-sdk.js/blob/280dcd51f77c2b18d0c646910e0f7dcc8d400299/lib/aelf/shims/method.js#L87 ".result" is no longer needed

  4. https://github.com/AElfProject/aelf-sdk.js/blob/280dcd51f77c2b18d0c646910e0f7dcc8d400299/lib/aelf/shims/method.js#L90

Change "Blockhash" to "BlockHash"