Siege machines are very costly and we only get 1 exp by donating them. It should be at least 10 exp or as much as it's war weight, if it's 30 troop space then it should give 30 exp.
It looks same in the profile if you donate and archer or a siege machine. There might also be another area in the profile to show how many siege machines are donated.



