You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host should reject ScMaps that contain duplicate keys.
Why
Maps with duplicate keys are an indication of bad/wrong input. They're a footgun because they are unlikely to have been signed correctly. They will also not round-trip serialize, so the input and output of a contract fn that passes the structure straight through will not be identical XDR bytes.
What
Host should reject ScMaps that contain duplicate keys.
Why
Maps with duplicate keys are an indication of bad/wrong input. They're a footgun because they are unlikely to have been signed correctly. They will also not round-trip serialize, so the input and output of a contract fn that passes the structure straight through will not be identical XDR bytes.
Related to #221 stellar/rs-stellar-xdr#98
cc @graydon @jonjove @jayz22
The text was updated successfully, but these errors were encountered: