10/11/2022
- Rename
gr_msg_id
syscall togr_message_id
10/06/2022
- Bump @polkadot/api to 9.5.1
10/06/2022
- Add method to get all code ids existed on chain
10/03/2022
- Add new syscalls
09/17/2022
- Add Exited variant to Program enum
09/13/2022
- Add function to convert type name
09/12/2022
- Add method to subscribe to
UserMessageSent
events by actorId
09/12/2022
- Add new TypeInfo parser
09/08/2022
- Use api.derive to subscription to new blocks
08/17/2022
gear-tech/gear-js#933 gear-tech/gear-js#937
- Add
waited
field toGasInfo
type according to gear-tech/gear#1276 - Add rpc call to calculate gas for create_program extrinsic according to gear-tech/gear#1330
08/18/2022
- Describe Null type in
createPayloadTypeStructure
function
08/06/2022
- Support
create_program
extrinsic according to gear-tech/gear#1241 Use theapi.program.create
method for this - Remove
MessageReply
class. From now on, useapi.message.sendReply
method to send reply - Rename
api.message.submit
toapi.message.send
- Rename
api.program.submit
toapi.program.upload
- Rename
api.code.submit
toapi.code.upload
- Rename
submitted
field inGearTransaction
class toextrinsic
- Update
GasInfo
type according to gear-tech/gear#1211
07/27/2022
- Fix type of
paymentInfo
method's argument.
07/22/2022
- Add oportunity to call
gr_block_height
syscall in meta_state function
07/19/2022
- Update
reply
field ofMessage
type according to gear-tech/gear#1198 Type ofreply
field is Struct with fieldsreplyTo
andexitCode
instead of Tuple from now on - Update type of waitlist and mailbox item according to gear-tech/gear#1197
From this moment the types are Tuple with 2 elements, the first one remained the same and the 2nd one is object with
start
andfinish
fields that show block's number when message gets into mailbox / waitlist and last block's number when message gets out of mailbox / waitlist - Also
waitlist.read
andmailbox.read
methods now return Codec types without keys.
07/19/2022
- Adjust simple enum generation
07/18/2022
- Fix getting program pages according to gear-tech/gear#1193
07/18/2022
- Rename
api.program.is
method toapi.program.exists
- Add validation of gasLimit, value and codeId before sending transactions
api.code.submit
method is now async- Add get some runtime constants (
existentialDeposit
,blockGasLimit
,mailboxTreshold
,waitlistCost
) - Add eslint config
07/12/2022
- Add specific types for gas limit and value
- Update build process
07/12/2022
- Improve types
- Update build process
07/08/2022
- Add
api.program.is
method to check whether the address belongs to some program.
07/08/2022
- Build library using rollup
- Add eslint config
- Specify specific types instead any
- Bump
@polkadot/api
to 8.11.3
07/05/2022
- Rename the stateChanged field to stateChanges in the MessagesDispatchedData class
- Set type of expiration in the UserMessageSentData class to Option
06/27/2022
- Change GasInfo interface (Replace
to_send
withreserved
) - Fix gas tests
06/21/2022
- Update subscription to Transfer balance events
- Update GearBalance class.
From now on, it's necessary to use 2 separate methods (transfer
and singAndSend
) to send transaction
06/21/2022
- Updated event data sturcture.
- Remove events and event data classes, and add interfaces instead
06/17/2022
-
Update calculation gas logic follow gear-tech/gear#1051
From now on, gas calculation returns the object GasInfo instead of the u64 value
06/13/2022
- Throw error while reading the state in case if program does not exist in the storage
06/03/2022
- Update all events follow gear-tech/gear#1000
05/31/2022
- Add method to get transaction fee
05/30/2022
- Add GearWaitlist class to read waitlist of programs
05/20/2022
- Update pallet name with mailbox
05/16/2022
- Add ability to specify code in
submitProgram
andsubmitCode
as Uint8Array
05/16/2022
- Add
gr_error
syscall to wasm importObj
05/11/2022
- Bump @polkadot/api to 8.3.2
- Test creating BTreeSet type