I wrote a contract, suppose
C defining the multi-index table
T. Table struct has two parameter suppose
x was the primary key. I made some entries in
T and when i tried to access it back, I came to know that table is not added in abi so i cannot access the table data using
eos.getTableRows().Call it deployment A.
I redeployed the contract keeping the contract name
C, from same account
C and making
y the primary key and everything else just same(Table
T). Again i made some entries.Call it deployment B.
Now when I access the table, I get all the entries of deployment A & B.
- Is it normal? If yes, on which parameter(
y), lower & upper_bound will work? As they work on primary key and here we are getting a merged table with different primary key in each deployment.
- How can I get the separate data of both the deployments? I mean what parameters contributed in their merging contract name, account name or table name?