I am trying to run a forked version of the Stellar-Laboratory, I have forked the js-stellar-base and js-stellar-sdk accordingly, basically what I am trying to do is add a new operation on the Laboratory UI.
The new operation is mimicking every aspect of the BumpSequence operation.
I modified js-stellar-base, then published it to npm as a separate package. Then, in js-stellar-sdk I updated the version of js-stellar-base inside the package.json file.
Then I published the js-stellar-sdk(my version) also to npm.
Now I am using my own version of js-stellar-sdk in the modified version of stellar-laboratory.
And I am not able to generate XDR for any operation, neither for the one I added, nor for the older ones and it is returning this error:
"- XDR Write Error: undefined is not a Hyper "
If anyone can provide any resolution or hint to get rid of this error.
If any other info is required, feel free to ask.
Note: All the changes that are made are mentioned in the above description, they are very minimal changes and it is more like building on top of the existing structure.