AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 70 forks source link

IF: add get_row_by_id to libtester #2367

Closed linh2931 closed 5 months ago

linh2931 commented 5 months ago

Currently libtester provides a convenient method get_row_by_account() to return a table row by account name. In writing tests for the new core contracts for Savanna, we need to get a row by a primary key of uint64_t id. A new method get_row_by_id will be useful for this and future uses.